Skip to content

Commit d8b187a

Browse files
committed
New data collected at 2026-03-30_00-08-00
1 parent 2b7f86a commit d8b187a

67 files changed

Lines changed: 545 additions & 182 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

github-actions/data.table/pkgup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ jobs:
6464
- name: deploy
6565
if: github.ref == 'refs/heads/master'
6666
id: deployment
67-
uses: actions/deploy-pages@v4
67+
uses: actions/deploy-pages@v5

github-actions/data.table/test-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
covr::to_cobertura(cov)
5252
shell: Rscript {0}
5353

54-
- uses: codecov/codecov-action@v5
54+
- uses: codecov/codecov-action@v6
5555
with:
5656
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
5757
files: ./cobertura.xml

github-actions/mlflow/advice.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
23+
persist-credentials: false
2324
sparse-checkout: |
2425
.github
2526
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

github-actions/mlflow/auto-assign.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828
with:
29+
persist-credentials: false
2930
sparse-checkout: |
3031
.github
3132
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

github-actions/mlflow/auto-close-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
25+
persist-credentials: false
2526
sparse-checkout: |
2627
.github
2728
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
@@ -31,4 +32,4 @@ jobs:
3132
const script = require(
3233
`${process.env.GITHUB_WORKSPACE}/.github/workflows/auto-close-pr.js`
3334
);
34-
await script({ context, github });
35+
await script.main({ context, github });

github-actions/mlflow/autoformat-label-notify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defaults:
1212
jobs:
1313
notify:
1414
runs-on: ubuntu-slim
15-
if: ${{ github.event.label.name == 'autoformat' }}
15+
if: github.event.label.name == 'autoformat'
1616
timeout-minutes: 5
1717
permissions:
1818
pull-requests: write # to post a comment on the PR

github-actions/mlflow/autoformat.yml

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
check-comment:
1414
runs-on: ubuntu-slim
1515
timeout-minutes: 10
16-
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/autoformat') }}
16+
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/autoformat')
1717
permissions:
1818
statuses: write # autoformat.createStatus
1919
pull-requests: write # autoformat.createReaction on PRs
@@ -29,6 +29,7 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
with:
32+
persist-credentials: false
3233
sparse-checkout: |
3334
.github
3435
- name: judge
@@ -50,7 +51,7 @@ jobs:
5051
return { ...pullInfo, shouldAutoformat };
5152
5253
- name: Check maintainer access
53-
if: ${{ fromJSON(steps.judge.outputs.result).shouldAutoformat }}
54+
if: fromJSON(steps.judge.outputs.result).shouldAutoformat
5455
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
5556
with:
5657
retries: 3
@@ -62,14 +63,15 @@ jobs:
6263
runs-on: ubuntu-latest
6364
timeout-minutes: 30
6465
needs: check-comment
65-
if: ${{ needs.check-comment.outputs.should_autoformat == 'true' }}
66+
if: needs.check-comment.outputs.should_autoformat == 'true'
6667
permissions:
6768
pull-requests: read # view files modified in PR
6869
outputs:
6970
reformatted: ${{ steps.patch.outputs.reformatted }}
7071
steps:
7172
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7273
with:
74+
persist-credentials: false
7375
repository: ${{ needs.check-comment.outputs.repository }}
7476
ref: ${{ needs.check-comment.outputs.head_ref }}
7577
# Set fetch-depth to merge the base branch
@@ -87,8 +89,10 @@ jobs:
8789
id: diff
8890
env:
8991
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
REPO: ${{ github.repository }}
93+
PULL_NUMBER: ${{ needs.check-comment.outputs.pull_number }}
9094
run: |
91-
changed_files="$(gh pr view --repo ${{ github.repository }} ${{ needs.check-comment.outputs.pull_number }} --json files --jq '.files.[].path')"
95+
changed_files="$(gh pr view --repo $REPO $PULL_NUMBER --json files --jq '.files.[].path')"
9296
protos=$([[ -z $(echo "$changed_files" | grep '^\(mlflow/protos\|tests/protos\)') ]] && echo "false" || echo "true")
9397
js=$([[ -z $(echo "$changed_files" | grep '^mlflow/server/js') ]] && echo "false" || echo "true")
9498
docs=$([[ -z $(echo "$changed_files" | grep '^docs/') ]] && echo "false" || echo "true")
@@ -103,13 +107,16 @@ jobs:
103107
echo "api=$api" >> $GITHUB_OUTPUT
104108
# Merge the base branch (which is usually master) to apply formatting using the latest configurations.
105109
- name: Merge base branch
110+
env:
111+
BASE_REPO: ${{ needs.check-comment.outputs.base_repo }}
112+
BASE_REF: ${{ needs.check-comment.outputs.base_ref }}
106113
run: |
107114
# This identity is only used for the temporary merge commit and is not pushed.
108115
git config user.name 'name'
109116
git config user.email 'email'
110-
git remote add base https://github.com/${{ needs.check-comment.outputs.base_repo }}.git
111-
git fetch base ${{ needs.check-comment.outputs.base_ref }}
112-
git merge base/${{ needs.check-comment.outputs.base_ref }}
117+
git remote add base https://github.com/$BASE_REPO.git
118+
git fetch base $BASE_REF
119+
git merge base/$BASE_REF
113120
- uses: ./.github/actions/setup-python
114121
# ************************************************************************
115122
# pre-commit
@@ -144,7 +151,7 @@ jobs:
144151
- if: steps.diff.outputs.js == 'true'
145152
working-directory: mlflow/server/js
146153
run: |
147-
yarn install
154+
yarn install --immutable
148155
- if: steps.diff.outputs.js == 'true'
149156
working-directory: mlflow/server/js
150157
run: |
@@ -174,16 +181,18 @@ jobs:
174181
# ************************************************************************
175182
- if: steps.diff.outputs.api == 'true'
176183
run: |
177-
uv run --group docs --extra gateway --directory docs/api_reference make dummy
184+
uv run --group docs --group torch --extra gateway --directory docs/api_reference make dummy
178185
# ************************************************************************
179186
# Upload patch
180187
# ************************************************************************
181188
- name: Create patch
182189
id: patch
190+
env:
191+
RUN_ID: ${{ github.run_id }}
183192
run: |
184193
git add -N .
185-
git diff > ${{ github.run_id }}.diff
186-
reformatted=$([[ -s ${{ github.run_id }}.diff ]] && echo "true" || echo "false")
194+
git diff > $RUN_ID.diff
195+
reformatted=$([[ -s $RUN_ID.diff ]] && echo "true" || echo "false")
187196
echo "reformatted=$reformatted" >> $GITHUB_OUTPUT
188197
189198
- name: Upload patch
@@ -196,13 +205,13 @@ jobs:
196205
runs-on: ubuntu-slim
197206
timeout-minutes: 5
198207
needs: [check-comment, format]
199-
if: ${{ needs.format.outputs.reformatted == 'true' }}
208+
if: needs.format.outputs.reformatted == 'true'
200209
permissions:
201210
contents: read
202211
outputs:
203212
head_sha: ${{ steps.push.outputs.head_sha }}
204213
steps:
205-
- uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
214+
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
206215
id: app-token
207216
with:
208217
app-id: ${{ secrets.APP_ID }}
@@ -211,6 +220,7 @@ jobs:
211220
private-key: ${{ secrets.APP_PRIVATE_KEY }}
212221
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
213222
with:
223+
persist-credentials: true
214224
repository: ${{ needs.check-comment.outputs.repository }}
215225
ref: ${{ needs.check-comment.outputs.head_ref }}
216226
# Set fetch-depth to merge the base branch
@@ -257,7 +267,7 @@ jobs:
257267
git merge base/${BASE_REF}
258268
259269
- name: Download patch
260-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
270+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
261271
with:
262272
name: ${{ github.run_id }}.diff
263273
path: /tmp
@@ -285,17 +295,22 @@ jobs:
285295
steps:
286296
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
287297
with:
298+
persist-credentials: false
288299
sparse-checkout: |
289300
.github
290301
- name: Update status
291302
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
303+
env:
304+
NEEDS_JSON: ${{ toJson(needs) }}
305+
HEAD_SHA: ${{ needs.check-comment.outputs.head_sha }}
306+
PUSH_HEAD_SHA: ${{ needs.push.outputs.head_sha }}
292307
with:
293308
retries: 3
294309
script: |
295-
const needs = ${{ toJson(needs) }};
296-
const head_sha = '${{ needs.check-comment.outputs.head_sha }}'
310+
const needs = JSON.parse(process.env.NEEDS_JSON);
311+
const head_sha = process.env.HEAD_SHA;
297312
const autoformat = require('./.github/workflows/autoformat.js');
298-
const push_head_sha = '${{ needs.push.outputs.head_sha }}';
313+
const push_head_sha = process.env.PUSH_HEAD_SHA;
299314
if (push_head_sha) {
300315
await autoformat.approveWorkflowRuns(context, github, push_head_sha);
301316
}

github-actions/mlflow/build-wheel.yml

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,44 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5050
with:
51+
persist-credentials: false
5152
ref: ${{ github.event.inputs.ref }}
5253
- uses: ./.github/actions/untracked
5354
- uses: ./.github/actions/setup-python
54-
- uses: ./.github/actions/setup-node
55+
- if: matrix.type == 'dev'
56+
uses: ./.github/actions/setup-node
5557

5658
- name: Build UI
59+
if: matrix.type == 'dev'
5760
working-directory: mlflow/server/js
5861
run: |
59-
yarn
62+
yarn install --immutable
6063
yarn build
6164
65+
- name: Create placeholder UI
66+
if: matrix.type != 'dev'
67+
run: |
68+
mkdir -p mlflow/server/js/build
69+
echo "<html></html>" > mlflow/server/js/build/index.html
70+
6271
- name: Install dependencies
6372
run: |
64-
pip install build setuptools twine wheel
73+
uv pip install --system build setuptools twine wheel
6574
6675
- name: Build distribution files
6776
id: build-dist
77+
env:
78+
EVENT_NAME: ${{ github.event_name }}
79+
MATRIX_TYPE: ${{ matrix.type }}
6880
run: |
6981
# if workflow_dispatch is triggered, use the specified ref
70-
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
82+
if [ "$EVENT_NAME" == "workflow_dispatch" ]; then
7183
SHA_OPT="--sha $(git rev-parse HEAD)"
7284
else
7385
SHA_OPT=""
7486
fi
7587
76-
python dev/build.py --package-type "${{ matrix.type }}" $SHA_OPT
88+
python dev/build.py --package-type "$MATRIX_TYPE" $SHA_OPT
7789
7890
# List distribution files and check their file sizes
7991
ls -lh dist
@@ -89,43 +101,57 @@ jobs:
89101
echo "wheel-size=${wheel_size}" >> $GITHUB_OUTPUT
90102
91103
- name: List files in source distribution
104+
env:
105+
SDIST_PATH: ${{ steps.build-dist.outputs.sdist-path }}
92106
run: |
93-
tar -tf ${{ steps.build-dist.outputs.sdist-path }}
107+
tar -tf $SDIST_PATH
94108
95109
- name: List files in binary distribution
110+
env:
111+
WHEEL_PATH: ${{ steps.build-dist.outputs.wheel-path }}
96112
run: |
97-
unzip -l ${{ steps.build-dist.outputs.wheel-path }}
113+
unzip -l $WHEEL_PATH
98114
99115
- name: Compare files in source and binary distributions
116+
env:
117+
SDIST_PATH: ${{ steps.build-dist.outputs.sdist-path }}
118+
WHEEL_PATH: ${{ steps.build-dist.outputs.wheel-path }}
100119
run: |
101-
tar -tzf ${{ steps.build-dist.outputs.sdist-path }} | grep -v '/$' | cut -d'/' -f2- | sort > /tmp/source.txt
102-
zipinfo -1 ${{ steps.build-dist.outputs.wheel-path }} | sort > /tmp/wheel.txt
120+
tar -tzf $SDIST_PATH | grep -v '/$' | cut -d'/' -f2- | sort > /tmp/source.txt
121+
zipinfo -1 $WHEEL_PATH | sort > /tmp/wheel.txt
103122
diff /tmp/source.txt /tmp/wheel.txt || true
104123
105124
- name: Run twine check
125+
env:
126+
WHEEL_PATH: ${{ steps.build-dist.outputs.wheel-path }}
106127
run: |
107-
twine check --strict ${{ steps.build-dist.outputs.wheel-path }}
128+
twine check --strict $WHEEL_PATH
108129
109130
- name: Test installation from tarball
131+
env:
132+
SDIST_PATH: ${{ steps.build-dist.outputs.sdist-path }}
110133
run: |
111-
pip install ${{ steps.build-dist.outputs.sdist-path }}
134+
uv pip install --system $SDIST_PATH
112135
python -c "import mlflow; print(mlflow.__version__)"
113136
python -c "from mlflow import *"
114137
115138
- name: Test installation from wheel
139+
env:
140+
WHEEL_PATH: ${{ steps.build-dist.outputs.wheel-path }}
116141
run: |
117-
pip install --force-reinstall ${{ steps.build-dist.outputs.wheel-path }}
142+
uv pip install --system --force-reinstall $WHEEL_PATH
118143
python -c "import mlflow; print(mlflow.__version__)"
119144
python -c "from mlflow import *"
120145
121146
- name: Test installation from GitHub
122147
env:
123148
REPO: ${{ github.repository }}
124149
REF: ${{ github.ref }}
150+
MATRIX_TYPE: ${{ matrix.type }}
125151
run: |
126-
if [ "${{ matrix.type }}" == "skinny" ]; then
152+
if [ "$MATRIX_TYPE" == "skinny" ]; then
127153
URL="git+https://github.com/${REPO}.git@${REF}#subdirectory=libs/skinny"
128-
elif [ "${{ matrix.type }}" == "tracing" ]; then
154+
elif [ "$MATRIX_TYPE" == "tracing" ]; then
129155
URL="git+https://github.com/${REPO}.git@${REF}#subdirectory=libs/tracing"
130156
else
131157
URL="git+https://github.com/${REPO}.git@${REF}"
@@ -135,8 +161,10 @@ jobs:
135161
136162
- name: Test dev/install-skinny.sh
137163
if: github.event_name == 'pull_request'
164+
env:
165+
PR_NUMBER: ${{ github.event.pull_request.number }}
138166
run: |
139-
dev/install-skinny.sh pull/${{ github.event.pull_request.number }}/merge
167+
dev/install-skinny.sh pull/$PR_NUMBER/merge
140168
141169
# Anyone with read access can download the uploaded wheel on GitHub.
142170
- name: Upload wheel
@@ -151,9 +179,11 @@ jobs:
151179

152180
- name: Generate summary
153181
if: github.event_name == 'workflow_dispatch'
182+
env:
183+
ARTIFACT_URL: ${{ steps.upload-wheel.outputs.artifact-url }}
154184
run: |
155185
echo "### Download URL" >> $GITHUB_STEP_SUMMARY
156-
echo "${{ steps.upload-wheel.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
186+
echo "$ARTIFACT_URL" >> $GITHUB_STEP_SUMMARY
157187
echo "" >> $GITHUB_STEP_SUMMARY
158188
echo "### Notes" >> $GITHUB_STEP_SUMMARY
159189
echo "" >> $GITHUB_STEP_SUMMARY

github-actions/mlflow/closing-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
23+
persist-credentials: false
2324
sparse-checkout: |
2425
.github
2526
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ defaults:
1313
jobs:
1414
copilot-setup-steps:
1515
runs-on: ubuntu-latest
16+
timeout-minutes: 15
1617
permissions:
1718
contents: read
1819
steps:
1920
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
with:
22+
persist-credentials: false
2023
- uses: ./.github/actions/setup-node
2124
- uses: ./.github/actions/setup-python
2225
- uses: ./.github/actions/setup-java

0 commit comments

Comments
 (0)