Skip to content

[ci] Pin and test repository tools - #3570

Open
joshlf wants to merge 1 commit into
Gdqabzhpevkhxg3fzk6bvbtpws7nk2vwvfrom
Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by
Open

[ci] Pin and test repository tools#3570
joshlf wants to merge 1 commit into
Gdqabzhpevkhxg3fzk6bvbtpws7nk2vwvfrom
Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by

Conversation

@joshlf

@joshlf joshlf commented Aug 24, 2026

Copy link
Copy Markdown
Member

Build repository tools with the exact stable compiler recorded in
tools/rust-toolchain.toml and with the checked-in lockfile. Pass the pin
to Cargo explicitly and export it for descendant Cargo processes, so
neither RUSTUP_TOOLCHAIN nor a persisted rustup directory override can
silently select another compiler.

Share the Unix bootstrap recognizer between the wrapper and its
validation check. Scope each exact assignment to its exact TOML table.
Treat only canonical bare table headers as declarations. Reject quoted,
mixed, spaced, commented, and array-table aliases of the same semantic
path without confusing one quoted component whose literal name contains
dots. Validate the fixed table and key inputs before constructing the
recognizer.

Accept LF and well-formed CRLF, but reject alternate assignments,
noncanonical or duplicate tables, multiline strings, NUL bytes, bare
carriage returns, unterminated lines, unreadable input, and missing or
duplicate declarations.

Keep the independent Windows recognizer coordinated with the Unix
contract. Require the complete three-line semantic file shape, reject
command-interpreter metacharacters before parsing, and avoid CALL's
second expansion pass. A future file-format change must update both
recognizers deliberately.

Run README generation from the tools workspace with the same compiler
pin and locked dependencies. Export the pin to its nested cargo-readme
process, and report a failed child command before printing any generated
framing so redirected output cannot look like a partial regeneration.
Document the working and source directories together.

Update the tools compiler in the weekly stable roller so the tool and
library build paths cannot drift accidentally. Add stable to the serial
pre-push bootstrap when the tools check first makes it necessary.

Run the complete tools workspace test suite in CI and before each push.
Validate that the tools compiler still matches the stable CI compiler,
and exercise hostile parser inputs and nested command failure.

Tests: ./githooks/pre-push
Tests: hostile RUSTUP_TOOLCHAIN ./ci/check_tools.sh
Tests: hostile RUSTUP_TOOLCHAIN ./zerocopy/ci/check_readme.sh

Authored by an agent, posting via joshlf's account


Latest Update: v24 — Compare vs v23

📚 Full Patch History

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

Version 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/Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by && git checkout -b pr-Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by FETCH_HEAD

Checkout

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

Cherry Pick

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

Pull

git pull origin refs/heads/Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by

Stacked PRs enabled by GHerrit.

@codecov-commenter

codecov-commenter commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (aa10436) to head (78b0999).

Additional details and impacted files
@@                        Coverage Diff                         @@
##           Gdqabzhpevkhxg3fzk6bvbtpws7nk2vwv    #3570   +/-   ##
==================================================================
  Coverage                              91.85%   91.85%           
==================================================================
  Files                                     20       20           
  Lines                                   6093     6093           
==================================================================
  Hits                                    5597     5597           
  Misses                                   496      496           

☔ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 13551621a7

ℹ️ 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".

Comment thread zerocopy/cargo.sh Outdated
Comment thread ci/check_tools.sh Outdated
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 1355162 to 6ed1263 Compare August 24, 2026 23:09
@joshlf
joshlf changed the base branch from main to Gdqabzhpevkhxg3fzk6bvbtpws7nk2vwv August 24, 2026 23:09
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 6ed1263 to 53a0bf8 Compare August 24, 2026 23:21
@joshlf

joshlf commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

Please review the current head. Treat any earlier review as stale if it targets
a different commit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53a0bf853d

ℹ️ 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".

Comment thread zerocopy/cargo.sh Outdated
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 53a0bf8 to 765e70e Compare August 24, 2026 23:47
@joshlf
joshlf force-pushed the Gdqabzhpevkhxg3fzk6bvbtpws7nk2vwv branch from df82221 to c08a2eb Compare August 24, 2026 23:47
@joshlf

joshlf commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 765e70e685

ℹ️ 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".

Comment thread zerocopy/win-cargo.bat Outdated

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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e0d1ce812

ℹ️ 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".

Comment thread tools/rust-toolchain.toml

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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bbc3d098fd

ℹ️ 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".

Comment thread zerocopy/src/lib.rs Outdated
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from bbc3d09 to 6b8dd79 Compare August 26, 2026 01:28

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. Treat earlier reviews of older commits as stale.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b8dd79b23

ℹ️ 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".

Comment thread ci/check_tools.sh Outdated
Comment thread zerocopy/ci/check_readme.sh
Comment thread tools/toolchain.sh
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 6b8dd79 to be17ca4 Compare August 26, 2026 09: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. Keep them coming!

Reviewed commit: be17ca4db4

ℹ️ 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 Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from be17ca4 to da5fc11 Compare August 26, 2026 15:46
@joshlf
joshlf force-pushed the Gdqabzhpevkhxg3fzk6bvbtpws7nk2vwv branch from b0e9d01 to aa10436 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: da5fc11dbb

ℹ️ 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".

Comment thread tools/toolchain.sh
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from da5fc11 to 50bfa32 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 50bfa324d9

ℹ️ 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".

Comment thread tools/toolchain.sh Outdated
Build repository tools with the exact stable compiler recorded in
tools/rust-toolchain.toml and with the checked-in lockfile. Pass the pin
to Cargo explicitly and export it for descendant Cargo processes, so
neither RUSTUP_TOOLCHAIN nor a persisted rustup directory override can
silently select another compiler.

Share the Unix bootstrap recognizer between the wrapper and its
validation check. Scope each exact assignment to its exact TOML table.
Treat only canonical bare table headers as declarations. Reject quoted,
mixed, spaced, commented, and array-table aliases of the same semantic
path without confusing one quoted component whose literal name contains
dots. Validate the fixed table and key inputs before constructing the
recognizer.

Accept LF and well-formed CRLF, but reject alternate assignments,
noncanonical or duplicate tables, multiline strings, NUL bytes, bare
carriage returns, unterminated lines, unreadable input, and missing or
duplicate declarations.

Keep the independent Windows recognizer coordinated with the Unix
contract. Require the complete three-line semantic file shape, reject
command-interpreter metacharacters before parsing, and avoid CALL's
second expansion pass. A future file-format change must update both
recognizers deliberately.

Run README generation from the tools workspace with the same compiler
pin and locked dependencies. Export the pin to its nested cargo-readme
process, and report a failed child command before printing any generated
framing so redirected output cannot look like a partial regeneration.
Document the working and source directories together.

Update the tools compiler in the weekly stable roller so the tool and
library build paths cannot drift accidentally. Add stable to the serial
pre-push bootstrap when the tools check first makes it necessary.

Run the complete tools workspace test suite in CI and before each push.
Validate that the tools compiler still matches the stable CI compiler,
and exercise hostile parser inputs and nested command failure.

Tests: ./githooks/pre-push
Tests: hostile RUSTUP_TOOLCHAIN ./ci/check_tools.sh
Tests: hostile RUSTUP_TOOLCHAIN ./zerocopy/ci/check_readme.sh

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

gherrit-pr-id: Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 50bfa32 to 78b0999 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, 78b09998534774556c94870e84f4f3c92062160d.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 78b0999853

ℹ️ 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