Skip to content

[ci] Prove typed ownership of build-rs toolchains - #3599

Open
joshlf wants to merge 1 commit into
Gkr4fd4vz5vegygalblsmjjgpdq3eulsxfrom
G9897ad03a6cbd7a3472a2b8184fd6ae8
Open

[ci] Prove typed ownership of build-rs toolchains#3599
joshlf wants to merge 1 commit into
Gkr4fd4vz5vegygalblsmjjgpdq3eulsxfrom
G9897ad03a6cbd7a3472a2b8184fd6ae8

Conversation

@joshlf

@joshlf joshlf commented Aug 25, 2026

Copy link
Copy Markdown
Member

The existing shell check compares package.metadata.build-rs keys with
the handwritten workflow matrix. A generated matrix will make that YAML
representation opaque to the parser, so establish the replacement
invariant before changing matrix authority.

Add a focused regression which proves that checked inventory rejects
both a manifest metadata key with no typed policy entry and a build-rs
policy entry with no manifest metadata key. Policy separately requires
each descriptor to have nonempty scopes, and ci audit plans every
configured event.

Keep the legacy YAML check active in this commit. The following
matrix-authority change retires it atomically, so neither PR has a gap
between the live workflow and the invariant which protects it.

Tests: ci/check_tools.sh
Tests: zerocopy/ci/check_all_toolchains_tested.sh
Tests: cargo clippy -p zc --all-targets --offline -- -D warnings
Tests: git diff --check

Authored by an agent, posting via joshlf's account


Latest Update: v25 — Compare vs v24

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v8 v7 v6 v5 v4 v3 v2 v1 Base
v7 v6 v5 v4 v3 v2 v1 Base
v6 v5 v4 v3 v2 v1 Base
v5 v4 v3 v2 v1 Base
v4 v3 v2 v1 Base
v3 v2 v1 Base
v2 v1 Base
v1 Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/G9897ad03a6cbd7a3472a2b8184fd6ae8 && git checkout -b pr-G9897ad03a6cbd7a3472a2b8184fd6ae8 FETCH_HEAD

Checkout

git fetch origin refs/heads/G9897ad03a6cbd7a3472a2b8184fd6ae8 && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/G9897ad03a6cbd7a3472a2b8184fd6ae8 && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/G9897ad03a6cbd7a3472a2b8184fd6ae8

Stacked PRs enabled by GHerrit.

joshlf commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 46de7c382b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@codecov-commenter

codecov-commenter commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (Gkr4fd4vz5vegygalblsmjjgpdq3eulsx@5f450b6). Learn more about missing BASE report.

Additional details and impacted files
@@                         Coverage Diff                          @@
##             Gkr4fd4vz5vegygalblsmjjgpdq3eulsx    #3599   +/-   ##
====================================================================
  Coverage                                     ?   91.85%           
====================================================================
  Files                                        ?       20           
  Lines                                        ?     6093           
  Branches                                     ?        0           
====================================================================
  Hits                                         ?     5597           
  Misses                                       ?      496           
  Partials                                     ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf
joshlf force-pushed the Gkr4fd4vz5vegygalblsmjjgpdq3eulsx branch from 1632fd7 to ed2ac06 Compare August 25, 2026 22:48
@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from 46de7c3 to 50f0868 Compare August 25, 2026 22:48
@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from a9c3a64 to 234569c Compare August 26, 2026 11:58
@joshlf

joshlf commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 234569c4b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@joshlf
joshlf force-pushed the Gkr4fd4vz5vegygalblsmjjgpdq3eulsx branch from ee675b9 to c370bbe Compare August 26, 2026 15:46
@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from 234569c to 1cec11e Compare August 26, 2026 15:46
@joshlf

joshlf commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 1cec11e30d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from 1cec11e to bf776ff Compare August 26, 2026 17:40
@joshlf

joshlf commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: bf776ff772

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from bf776ff to ce1213f Compare August 26, 2026 18:55
@joshlf

joshlf commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

Please review the current head, ce1213fe8503c632d05ead7cbada49d0f3d1f9ca.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: ce1213fe85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@joshlf
joshlf force-pushed the Gkr4fd4vz5vegygalblsmjjgpdq3eulsx branch from 1c5f2a6 to c8420e6 Compare August 26, 2026 20:11
@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from ce1213f to 9211778 Compare August 26, 2026 20:11
@joshlf

joshlf commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

Please review the current head, 92117782f296274636f54fd6fdcf696aabe71c3f.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 92117782f2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch 2 times, most recently from fdf9df2 to 84816d5 Compare August 26, 2026 22:35
@joshlf
joshlf force-pushed the Gkr4fd4vz5vegygalblsmjjgpdq3eulsx branch from 858d976 to 7bce93a Compare August 26, 2026 22:35
@joshlf

joshlf commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

Please review the current head, 84816d5bbba85378c7ddd811cd19ae6191c75b4d.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 84816d5bbb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@joshlf
joshlf force-pushed the Gkr4fd4vz5vegygalblsmjjgpdq3eulsx branch from 7bce93a to e71c94e Compare August 26, 2026 23:31
@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch 2 times, most recently from 358e200 to c131b7f Compare August 27, 2026 01:18
The existing shell check compares package.metadata.build-rs keys with
the handwritten workflow matrix. A generated matrix will make that YAML
representation opaque to the parser, so establish the replacement
invariant before changing matrix authority.

Add a focused regression which proves that checked inventory rejects
both a manifest metadata key with no typed policy entry and a build-rs
policy entry with no manifest metadata key. Policy separately requires
each descriptor to have nonempty scopes, and ci audit plans every
configured event.

Keep the legacy YAML check active in this commit. The following
matrix-authority change retires it atomically, so neither PR has a gap
between the live workflow and the invariant which protects it.

Tests: ci/check_tools.sh
Tests: zerocopy/ci/check_all_toolchains_tested.sh
Tests: cargo clippy -p zc --all-targets --offline -- -D warnings
Tests: git diff --check

*Authored by an agent, posting via joshlf's account*

gherrit-pr-id: G9897ad03a6cbd7a3472a2b8184fd6ae8
@joshlf
joshlf force-pushed the Gkr4fd4vz5vegygalblsmjjgpdq3eulsx branch from 5f450b6 to 834050c Compare August 27, 2026 10:15
@joshlf
joshlf force-pushed the G9897ad03a6cbd7a3472a2b8184fd6ae8 branch from c131b7f to a309bd0 Compare August 27, 2026 10:15
@joshlf

joshlf commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

Please review the current head, a309bd0326fa03b9af772e31d34dd33d9e4b8820.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: a309bd0326

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants