Skip to content

Commit a3df34c

Browse files
committed
New data collected at 2025-09-01_00-02-25
1 parent 1506af6 commit a3df34c

10 files changed

Lines changed: 204 additions & 55 deletions

File tree

github-actions/igraph/arch-emu.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ jobs:
121121
run: cd build && cmake --build . --target build_tests --parallel
122122

123123
- name: Test
124-
run: cd build && ctest --output-on-failure
124+
# Need a longer timeout as emulated runs are slow.
125+
run: cd build && ctest --output-on-failure --timeout 240
125126

126127
- name: Ccache statistics
127128
continue-on-error: true

github-actions/mlflow/master.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ jobs:
114114
- name: Install dependencies
115115
run: |
116116
source ./dev/install-common-deps.sh
117+
# test telemetry events
118+
pip install openai
117119
pip install .
118120
- uses: ./.github/actions/show-versions
119121
- name: Run tests
@@ -451,6 +453,8 @@ jobs:
451453
pip install -r requirements/test-requirements.txt
452454
# transformers doesn't support Keras 3 yet. tf-keras needs to be installed as a workaround.
453455
pip install tf-keras
456+
# test telemetry events
457+
pip install openai
454458
- uses: ./.github/actions/show-versions
455459
- uses: ./.github/actions/pipdeptree
456460
- name: Download Hadoop winutils for Spark

github-actions/mlflow/preview-docs.yml

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@ on:
66
types: [completed]
77

88
jobs:
9-
fail-early:
10-
if: github.repository == 'mlflow/mlflow' && github.event.workflow_run.status == 'completed'
9+
main:
10+
if: github.repository == 'mlflow/mlflow' && github.event.workflow_run.conclusion == 'success'
1111
runs-on: ubuntu-latest
1212
permissions:
1313
pull-requests: write # To post comments on PRs
14+
actions: write # To delete artifacts
1415
timeout-minutes: 10
15-
outputs:
16-
should_continue: ${{ github.event.workflow_run.conclusion == 'success' }}
17-
pr_number: ${{ steps.pr_number.outputs.pr_number }}
1816
steps:
19-
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
with:
19+
sparse-checkout: |
20+
.github
21+
- name: Download PR number
22+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
2023
with:
2124
github-token: ${{ secrets.GITHUB_TOKEN }}
2225
run-id: ${{ github.event.workflow_run.id }}
@@ -27,40 +30,6 @@ jobs:
2730
run: |
2831
cat /tmp/pr_number.txt
2932
echo "pr_number=$(cat /tmp/pr_number.txt)" >> $GITHUB_OUTPUT
30-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31-
if: github.event.workflow_run.conclusion == 'failure'
32-
with:
33-
sparse-checkout: |
34-
.github
35-
- name: Handle docs workflow failure
36-
if: github.event.workflow_run.conclusion == 'failure'
37-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
38-
env:
39-
COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
40-
PULL_NUMBER: ${{ steps.pr_number.outputs.pr_number }}
41-
WORKFLOW_RUN_ID: ${{ github.run_id }}
42-
STAGE: failed
43-
DOCS_WORKFLOW_RUN_URL: ${{ github.event.workflow_run.html_url }}
44-
with:
45-
script: |
46-
const script = require(
47-
`${process.env.GITHUB_WORKSPACE}/.github/workflows/preview-comment.js`
48-
);
49-
await script({ context, github, env: process.env });
50-
51-
main:
52-
needs: [fail-early]
53-
if: needs.fail-early.outputs.should_continue == 'true'
54-
runs-on: ubuntu-latest
55-
permissions:
56-
pull-requests: write # To post comments on PRs
57-
actions: write # To delete artifacts
58-
timeout-minutes: 10
59-
steps:
60-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
61-
with:
62-
sparse-checkout: |
63-
.github
6433
- name: Download build artifact
6534
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
6635
with:
@@ -75,7 +44,7 @@ jobs:
7544
env:
7645
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
7746
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
78-
PR_NUMBER: ${{ needs.fail-early.outputs.pr_number }}
47+
PR_NUMBER: ${{ steps.pr_number.outputs.pr_number }}
7948
RUN_ID: ${{ github.run_id }}
8049
run: |-
8150
OUTPUT=$(npx -y netlify-cli deploy \
@@ -91,7 +60,7 @@ jobs:
9160
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
9261
env:
9362
COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
94-
PULL_NUMBER: ${{ needs.fail-early.outputs.pr_number }}
63+
PULL_NUMBER: ${{ steps.pr_number.outputs.pr_number }}
9564
WORKFLOW_RUN_ID: ${{ github.run_id }}
9665
STAGE: ${{ steps.netlify_deploy.outcome == 'success' && 'completed' || 'failed' }}
9766
NETLIFY_URL: ${{ steps.netlify_deploy.outputs.deploy_url }}

github-actions/mlflow/review.yml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
name: review
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request:
7+
paths:
8+
- .github/workflows/review.yml
9+
- dev/mcps/review.py
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
review:
17+
runs-on: ubuntu-latest
18+
permissions:
19+
contents: read
20+
models: read
21+
pull-requests: write
22+
timeout-minutes: 10
23+
# Run on pull_request events from mlflow/mlflow (not forks) or when harupy comments '/review' on a pull request
24+
if: >
25+
(github.event_name == 'pull_request' &&
26+
github.event.pull_request.head.repo.full_name == 'mlflow/mlflow')
27+
||
28+
(github.event_name == 'issue_comment' &&
29+
github.event.issue.pull_request &&
30+
startsWith(github.event.comment.body, '/review') &&
31+
github.event.comment.user.login == 'harupy')
32+
steps:
33+
- name: React to comment
34+
if: ${{ github.event_name == 'issue_comment' }}
35+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
36+
with:
37+
script: |
38+
const { comment } = context.payload;
39+
await github.rest.reactions.createForIssueComment({
40+
owner: context.repo.owner,
41+
repo: context.repo.repo,
42+
comment_id: comment.id,
43+
content: 'rocket'
44+
});
45+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46+
with:
47+
sparse-checkout: |
48+
dev
49+
- uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0
50+
with:
51+
version: 0.7.8
52+
- name: Install codex
53+
run: |
54+
curl -L -o codex.tar.gz https://github.com/openai/codex/releases/download/rust-v0.25.0/codex-x86_64-unknown-linux-musl.tar.gz
55+
tar -xzf codex.tar.gz
56+
mv codex-x86_64-unknown-linux-musl codex
57+
chmod +x codex
58+
./codex --version
59+
60+
- name: Set up config
61+
run: |
62+
# https://github.com/openai/codex/blob/main/docs/config.md
63+
mkdir -p ~/.codex
64+
cat <<'EOF' > ~/.codex/config.toml
65+
# TODO: Use github models if gpt-5 supports higher input/output token limits
66+
# https://github.com/marketplace/models/azure-openai/gpt-5
67+
# model = "openai/gpt-5"
68+
# model_provider = "github-models"
69+
model_verbosity = "high"
70+
approval_policy = "never"
71+
sandbox_mode = "workspace-write"
72+
73+
[sandbox_workspace_write]
74+
network_access = true
75+
76+
[model_providers.github-models]
77+
# https://docs.github.com/en/github-models/use-github-models/prototyping-with-ai-models#rate-limits
78+
name = "GitHub Models"
79+
base_url = "https://models.github.ai/inference"
80+
env_key = "GITHUB_TOKEN"
81+
wire_api = "chat"
82+
83+
[mcp_servers.github]
84+
# https://github.com/github/github-mcp-server
85+
command = "uv"
86+
args = [
87+
"run",
88+
"--no-project",
89+
"dev/mcps/review.py"
90+
]
91+
env = { "GITHUB_TOKEN" = "${{ secrets.GITHUB_TOKEN }}" }
92+
EOF
93+
94+
- name: Prompt
95+
run: |
96+
cat <<'EOF' > AGENTS.md
97+
You're a helpful assistant to review PRs. Your task is to follow the instructions below and review the given PR.
98+
99+
# Instructions
100+
101+
## 1. Fetch and Analyze PR
102+
- Use `fetch_diff` tool to fetch the PR diff
103+
- Carefully examine all changes in the diff
104+
105+
## 2. Review Against Style Guide
106+
- Read `dev/guides/python.md` thoroughly
107+
- Check for violations of the style guide
108+
109+
## 3. Decision Point
110+
- If NO issues found -> Skip remaining steps
111+
- If issues found -> Continue to step 4
112+
113+
## 4. Add Review Comments
114+
- Use `add_pr_review_comment` tool for each issue found
115+
- Comment parameters:
116+
- Single-line: Set `subject_type` to `LINE`, specify `line`
117+
- Multi-line: Set `subject_type` to `LINE`, specify both `start_line` and `line`
118+
- Comment format:
119+
- Use triple backticks (```) for code examples with an appropriate language identifier
120+
- Be specific about the violation and suggest fixes
121+
- Include `🤖 Generated by Codex` at the end of each comment
122+
EOF
123+
124+
- name: Run codex
125+
env:
126+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
127+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128+
PR_URL: ${{ github.event.issue.pull_request.html_url || github.event.pull_request.html_url}}
129+
run: |
130+
# Use timeout in case codex hangs
131+
timeout 3m ./codex exec --skip-git-repo-check "Can you review $PR_URL?" || true

github-actions/mlflow/uc-oss.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Install dependencies
4444
run: |
45-
source ./dev/install-common-deps.sh --ml
45+
source ./dev/install-common-deps.sh
4646
4747
- name: Set up Java 17
4848
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0

github-actions/rvest/R-CMD-check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- {os: windows-latest, r: 'oldrel-4'}
3131

3232
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
33-
- {os: ubuntu-latest, r: 'release'}
33+
- {os: ubuntu-latest, r: 'release', testlive: true}
3434
- {os: ubuntu-latest, r: 'oldrel-1'}
3535
- {os: ubuntu-latest, r: 'oldrel-2'}
3636
- {os: ubuntu-latest, r: 'oldrel-3'}
@@ -60,3 +60,5 @@ jobs:
6060
with:
6161
upload-snapshots: true
6262
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
63+
env:
64+
testlive: ${{ matrix.config.testlive }}

github-actions/rvest/distros.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Distros
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
rhel:
15+
runs-on: ubuntu-24.04${{matrix.arch=='arm64' && '-arm' || ''}}
16+
name: ${{ matrix.distro }} ${{ matrix.arch }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
distro: [ 'rocky-8', 'rocky-9', 'debian-13', 'debian-14']
21+
arch: [ 'amd64', 'arm64' ]
22+
container:
23+
image: ghcr.io/r-devel/${{ matrix.distro }}:latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- uses: r-lib/actions/setup-r-dependencies@v2
28+
with:
29+
extra-packages: any::rcmdcheck
30+
needs: check
31+
32+
- uses: r-lib/actions/check-r-package@v2
33+
with:
34+
args: '"--no-manual"'
35+
env:
36+
NOT_CRAN: false
37+
_R_CHECK_DOC_SIZES_: FALSE
38+
LANG: en_US.UTF-8

github-actions/tidyquant/test-coverage.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2-
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
1+
# .github/workflows/test-coverage.yml
2+
name: test-coverage
3+
34
on:
45
push:
56
branches: [main, master]
67
pull_request:
78
branches: [main, master]
89

9-
name: test-coverage
10-
1110
jobs:
1211
test-coverage:
1312
runs-on: ubuntu-latest
1413
env:
1514
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1615

1716
steps:
18-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1918

2019
- uses: r-lib/actions/setup-r@v2
2120
with:
@@ -25,6 +24,8 @@ jobs:
2524
with:
2625
extra-packages: any::covr
2726
needs: coverage
27+
# Optional: enable caching
28+
# cache-version: 1
2829

2930
- name: Test coverage
3031
run: |
@@ -38,8 +39,7 @@ jobs:
3839
- name: Show testthat output
3940
if: always()
4041
run: |
41-
## --------------------------------------------------------------------
42-
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
42+
find "${{ runner.temp }}/package" -name 'testthat.Rout*' -exec cat '{}' \; || true
4343
shell: bash
4444

4545
- name: Upload test results

gitignore/mlflow.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,14 @@ dev-env-setup-progress
8787
*.swp
8888
*.swo
8989
*.idea
90-
*.vscode
9190
*.iml
9291
*~
9392

93+
# vscode
94+
.vscode/*
95+
!.vscode/extensions.json
96+
!.vscode/settings.json
97+
9498
# mkdocs documentation
9599
/site
96100

@@ -123,6 +127,5 @@ a.md
123127
# Ignore a gunicorn config file
124128
gunicorn.conf.py
125129

126-
# Ignore claude files
130+
# Ignore claude files (but not CLAUDE.md which we're tracking)
127131
.claude/
128-
CLAUDE.md

rproj/ggmap.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: a96d8818-25c5-4fe6-add5-7bcdd3e84b99
23

34
RestoreWorkspace: No
45
SaveWorkspace: No

0 commit comments

Comments
 (0)