Skip to content

Commit b8c5df2

Browse files
committed
New data collected at 2025-09-15_00-03-01
1 parent 4da744d commit b8c5df2

25 files changed

Lines changed: 251 additions & 143 deletions

github-actions/ggstatsplot/pre-commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v5
1616

17-
- uses: actions/setup-python@v5.6.0
17+
- uses: actions/setup-python@v6.0.0
1818
with:
1919
python-version: "3.13"
2020

@@ -25,4 +25,4 @@ jobs:
2525
- name: Run pre-commit
2626
uses: pre-commit/action@v3.0.1
2727

28-
- uses: stefanzweifel/git-auto-commit-action@v5.2.0
28+
- uses: stefanzweifel/git-auto-commit-action@v6.0.1

github-actions/ggstatsplot/styler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ jobs:
6565
styler::style_pkg()
6666
shell: Rscript {0}
6767

68-
- uses: stefanzweifel/git-auto-commit-action@v5.2.0
68+
- uses: stefanzweifel/git-auto-commit-action@v6.0.1

github-actions/mlflow/copilot-setup-steps.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- uses: ./.github/actions/setup-node
1717
- uses: ./.github/actions/setup-python
18+
- name: Install dependencies
19+
run: |
20+
uv sync --only-group lint
1821
- name: pre-commit setup
1922
run: |
20-
uv pip install --system . -r requirements/lint-requirements.txt
21-
pre-commit install --install-hooks
22-
pre-commit run install-bin -a -v
23+
uv run --only-group lint pre-commit install --install-hooks
24+
uv run --only-group lint pre-commit run install-bin -a -v

github-actions/mlflow/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- reopened
1717
- ready_for_review
1818
paths:
19+
- pyproject.toml
1920
- mlflow/**
2021
- docs/**
2122
- .github/workflows/docs.yml
@@ -96,7 +97,7 @@ jobs:
9697
mv build/latest /tmp/docs-build/docs/latest
9798
9899
# Create `docs/versions.json` for the version selector in the API reference
99-
VERSION="$(uv run --no-project ../dev/get_version.py)"
100+
VERSION="$(uv version | cut -d' ' -f2)"
100101
echo "{\"versions\": [\"$VERSION\"]}" > /tmp/docs-build/docs/versions.json
101102
- name: Upload build artifacts
102103
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

github-actions/mlflow/lint.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,22 @@ jobs:
5757
echo "::add-matcher::.github/workflows/matchers/typos.json"
5858
- name: Install dependencies
5959
run: |
60-
uv pip install --system -r requirements/lint-requirements.txt
61-
- uses: ./.github/actions/show-versions
62-
- uses: ./.github/actions/pipdeptree
60+
uv sync --only-group lint --only-group test
6361
- name: Install pre-commit hooks
6462
run: |
65-
pre-commit install --install-hooks
66-
pre-commit run install-bin -a -v
63+
uv run --only-group lint pre-commit install --install-hooks
64+
uv run --only-group lint pre-commit run install-bin -a -v
6765
- name: Run pre-commit
6866
id: pre-commit
6967
env:
7068
IS_MAINTAINER: ${{ contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association )}}
7169
NO_FIX: "true"
7270
run: |
73-
pre-commit run --all-files
71+
uv run --only-group lint pre-commit run --all-files
7472
7573
- name: Test clint
7674
run: |
77-
uv run --isolated --no-project --with pytest==8.4.0 --with ./dev/clint \
78-
pytest --confcutdir=dev/clint dev/clint
75+
uv run --only-group test pytest dev/clint
7976
8077
- run: |
81-
python dev/check_function_signatures.py
78+
uv run --no-project dev/check_function_signatures.py

github-actions/mlflow/master.yml

Lines changed: 23 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
strategy:
6565
fail-fast: false
6666
matrix:
67-
group: [1, 2]
67+
group: [1, 2, 3]
6868
include:
69-
- splits: 2
69+
- splits: 3
7070
steps:
7171
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7272
- uses: ./.github/actions/untracked
@@ -98,34 +98,17 @@ jobs:
9898
--ignore-flavors --ignore=tests/examples --ignore=tests/evaluate \
9999
--ignore tests/genai tests
100100
101-
py310:
102-
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
103-
runs-on: ubuntu-latest
104-
timeout-minutes: 60
105-
permissions:
106-
contents: read
107-
steps:
108-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109-
- uses: ./.github/actions/untracked
110-
- uses: ./.github/actions/setup-python
111-
- uses: ./.github/actions/setup-pyenv
112-
- uses: ./.github/actions/setup-java
113-
- uses: ./.github/actions/cache-pip
114-
- name: Install dependencies
101+
- name: Run gateway tests with pydantic v1
115102
run: |
116-
source ./dev/install-common-deps.sh
117-
# test telemetry events
118-
pip install openai
119-
pip install .
120-
- uses: ./.github/actions/show-versions
121-
- name: Run tests
122-
run: |
123-
python -c "import sys; assert sys.version_info[:2] == (3, 10), sys.version_info"
124-
pytest tests/types/test_type_hints.py tests/pyfunc/test_pyfunc_model_with_type_hints.py tests/telemetry
103+
source .venv/bin/activate
104+
pip install 'pydantic<2.0'
105+
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} tests/gateway
106+
125107
- name: Run databricks-connect related tests
126108
run: |
127-
# this needs to be run in a separate job because installing databricks-connect could break other
109+
# this needs to be run in a separate job because installing databricks-connect could break other
128110
# tests that uses normal SparkSession instead of remote SparkSession
111+
source .venv/bin/activate
129112
pip install databricks-agents
130113
pytest tests/utils/test_requirements_utils.py::test_infer_pip_requirements_on_databricks_agents
131114
@@ -230,10 +213,8 @@ jobs:
230213
run: |
231214
source .venv/bin/activate
232215
pytest \
233-
tests/utils/test_model_utils.py \
234216
tests/tracking/fluent/test_fluent_autolog.py \
235-
tests/autologging \
236-
tests/server/auth
217+
tests/autologging
237218
238219
# It takes 9 ~ 10 minutes to run tests in `tests/models`. To make CI finish faster,
239220
# run these tests in a separate job.
@@ -337,27 +318,6 @@ jobs:
337318
pip install pyspark
338319
pytest tests/genai/evaluate/test_utils.py
339320
340-
optuna:
341-
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
342-
runs-on: ubuntu-latest
343-
timeout-minutes: 30
344-
permissions:
345-
contents: read
346-
steps:
347-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
348-
- uses: ./.github/actions/untracked
349-
- uses: ./.github/actions/setup-python
350-
- uses: ./.github/actions/setup-pyenv
351-
- uses: ./.github/actions/setup-java
352-
- name: Install dependencies
353-
run: |
354-
source ./dev/install-common-deps.sh
355-
pip install 'pyspark>=3.5' 'optuna>=4' .
356-
- uses: ./.github/actions/show-versions
357-
- uses: ./.github/actions/pipdeptree
358-
- name: Run tests
359-
run: |
360-
pytest tests/optuna tests/pyspark/optuna
361321
pyfunc:
362322
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
363323
runs-on: ubuntu-latest
@@ -381,7 +341,6 @@ jobs:
381341
run: |
382342
source ./dev/install-common-deps.sh
383343
pip install tensorflow 'pyspark[connect]'
384-
pip install typing_extensions -U
385344
- uses: ./.github/actions/show-versions
386345
- uses: ./.github/actions/pipdeptree
387346
- name: Run tests
@@ -397,26 +356,6 @@ jobs:
397356
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} --durations=30 \
398357
tests/types tests/pyfunc/test_pyfunc_model_with_type_hints.py tests/utils/test_pydantic_utils.py
399358
400-
sagemaker:
401-
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
402-
runs-on: ubuntu-latest
403-
timeout-minutes: 120
404-
permissions:
405-
contents: read
406-
steps:
407-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
408-
- uses: ./.github/actions/untracked
409-
- uses: ./.github/actions/setup-python
410-
- uses: ./.github/actions/setup-java
411-
- name: Install dependencies
412-
run: |
413-
source ./dev/install-common-deps.sh --ml
414-
- uses: ./.github/actions/show-versions
415-
- uses: ./.github/actions/pipdeptree
416-
- name: Run tests
417-
run: |
418-
pytest tests/sagemaker
419-
420359
windows:
421360
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
422361
runs-on: windows-latest
@@ -426,9 +365,9 @@ jobs:
426365
strategy:
427366
fail-fast: false
428367
matrix:
429-
group: [1, 2]
368+
group: [1, 2, 3, 4]
430369
include:
431-
- splits: 2
370+
- splits: 4
432371
steps:
433372
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
434373
- uses: ./.github/actions/untracked
@@ -474,9 +413,14 @@ jobs:
474413
export PATH=$PATH:$HADOOP_HOME/bin
475414
# Run Windows tests
476415
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} \
477-
--ignore-flavors --ignore=tests/projects --ignore=tests/examples --ignore=tests/evaluate --ignore=tests/optuna \
478-
--ignore=tests/pyspark/optuna --ignore=tests/genai --ignore=tests/telemetry tests
479-
- name: Run telemetry tests
480-
run: |
481-
source .venv/Scripts/activate
482-
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} tests/telemetry
416+
--ignore-flavors \
417+
--ignore=tests/projects \
418+
--ignore=tests/examples \
419+
--ignore=tests/evaluate \
420+
--ignore=tests/optuna \
421+
--ignore=tests/pyspark/optuna \
422+
--ignore=tests/genai \
423+
--ignore=tests/sagemaker \
424+
--ignore=tests/gateway \
425+
--ignore=tests/server/auth \
426+
tests

github-actions/mlflow/protobuf-cross-test.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ jobs:
6767
# Install Hugging Face datasets to test Hugging Face usage with MLflow dataset tracking
6868
pip install datasets
6969
# Install TensorFlow to test TensorFlow dataset usage with MLflow dataset tracking
70-
pip install tensorflow
70+
# tensorflow >= 2.22.0 are incompatible with protobuf < 5
71+
pip install 'tensorflow<2.22.0' 'tf-keras<2.20.0'
7172
# Install torch and transformers to test metrics
72-
pip install torch transformers tf-keras
73+
pip install torch transformers
7374
pip install -r requirements/test-requirements.txt
7475
# Test the latest minor version in protobuf_major_version
7576
pip install "protobuf==${{ matrix.protobuf_major_version }}.*"
@@ -78,6 +79,13 @@ jobs:
7879
- name: Run tests
7980
run: |
8081
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} \
81-
--ignore-flavors --ignore=tests/projects --ignore=tests/examples --ignore=tests/evaluate \
82-
--ignore=tests/optuna --ignore=tests/pyspark/optuna --ignore=tests/genai \
83-
--ignore=tests/telemetry tests
82+
--ignore-flavors \
83+
--ignore=tests/projects \
84+
--ignore=tests/examples \
85+
--ignore=tests/evaluate \
86+
--ignore=tests/optuna \
87+
--ignore=tests/pyspark/optuna \
88+
--ignore=tests/genai \
89+
--ignore=tests/telemetry \
90+
--ignore=tests/gateway \
91+
tests

github-actions/mlflow/review.yml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,30 @@ jobs:
3434
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
3535
with:
3636
script: |
37+
const { owner, repo } = context.repo;
3738
const { comment } = context.payload;
39+
40+
// Add rocket reaction to the triggering comment
3841
await github.rest.reactions.createForIssueComment({
39-
owner: context.repo.owner,
40-
repo: context.repo.repo,
42+
owner,
43+
repo,
4144
comment_id: comment.id,
4245
content: 'rocket'
4346
});
47+
48+
// Construct workflow URL
49+
const workflowUrl = `https://github.com/${owner}/${repo}/actions/runs/${context.runId}`;
50+
51+
// Append workflow link to the original comment
52+
const updatedBody = `${comment.body}\n\n---\n🚀 [Review workflow started](${workflowUrl})`;
53+
54+
// Update the comment with the workflow link
55+
await github.rest.issues.updateComment({
56+
owner,
57+
repo,
58+
comment_id: comment.id,
59+
body: updatedBody
60+
});
4461
- name: Check authorization for issue comment
4562
if: ${{ github.event_name == 'issue_comment' && github.event.comment.user.login != 'harupy' }}
4663
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
@@ -112,18 +129,24 @@ jobs:
112129
113130
# Instructions
114131
115-
## 1. Fetch PR and Review Against Style Guide
132+
## 1. Prepare for Review
116133
- Use `fetch_diff` tool to fetch the PR diff
117134
- Read `dev/guides/python.md` thoroughly
135+
136+
## 2. Review Changed Lines Only
118137
- Carefully examine ONLY the changed lines (added or modified) in the diff
119138
- Check for style guide violations ONLY in these changed lines
139+
- Check for obvious mistakes including:
140+
- Typos in variable names, function names, class names, comments, and docstrings
141+
- Grammatical errors in comments and documentation
142+
- Common coding mistakes (e.g., wrong variable references, logic errors)
120143
- Ignore unchanged/context lines and pre-existing code
121144
122-
## 2. Decision Point
145+
## 3. Decision Point
123146
- If NO issues found -> Skip remaining steps
124-
- If issues found -> Continue to step 3
147+
- If issues found -> Continue to step 4
125148
126-
## 3. Add Review Comments
149+
## 4. Add Review Comments
127150
- Use `add_pr_review_comment` tool for each issue found
128151
- ONLY comment on lines that are marked as added (+) or modified in the diff
129152
- Never comment on unchanged context lines or pre-existing code
@@ -133,6 +156,7 @@ jobs:
133156
- Comment format:
134157
- Use triple backticks (```) for code examples with an appropriate language identifier
135158
- Be specific about the violation and suggest fixes
159+
- For typos, clearly indicate the correct spelling (e.g., "Typo: 'varabel' should be 'variable'")
136160
- Include `🤖 Generated by Codex` at the end of each comment
137161
EOF
138162

github-actions/mlflow/tracing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Install test dependencies
4747
run: |
48-
pip install pytest pytest-asyncio
48+
pip install pytest pytest-asyncio pytest-timeout
4949
5050
- name: Run core tracing tests
5151
# NB: OTLP exporter includes large dependencies, so we want to test it in a separate job

0 commit comments

Comments
 (0)