Repository navigation
ci: lint and test ocx-child as a Linux step of the remote-helper job - #8635
Merged
Merged
Conversation
Contributor
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
|
✅ Deterministic PR hygiene checks passed. |
…g the earlier entries
… Rust 1.100.0, and refresh the policy blob in place
# Conflicts: # .github/scripts/release-evidence-policy.json
… cargo, and pin the edited ci.yml After #8630 the Linux test shards and test changed install cargo and run ocx-child's conformance suite through the Bun wrappers when those tests are selected; only fmt, clippy and the crate's own unit and lifecycle suites are left to this job. The last release-evidence entry pins the edited ci.yml blob.
…te-helper job The separate ocx-child job put ci.yml at 2040 lines, past the 2000-line file-size rule, and #8630 already gives the Linux shards cargo for the Bun wrappers. The remote_helper filter now also selects native/ocx-child/** and the conformance fixture, and remote-helper gains one Linux-only step that runs cargo fmt --check, clippy -D warnings and test --locked for native/ocx-child. The separate job and all of its wiring (filter output, env, gate needs, GATED_JOBS, expected_for) are gone, and the workflow tests are back to dev's. ci.yml is at 1996 lines; the release-evidence entry pins its new blob.
lidge-jun
marked this pull request as ready for review
November 13, 2026 06:06
Owner
Author
|
Maintainer integration record.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
lidge-jun
added a commit
that referenced
this pull request
Nov 13, 2026
Brings in dev through 6f58f62, including #8612 (recover a force-revoked ephemeral Child by its link id: tombstones, ocx link recover), #8635 and #8644. Conflict resolution in removeReserved keeps both sides: dev's tombstone is written before the first intent for a forced revoke of an ephemeral Child, with this PR's cleanup condition (cleanup already recorded by the owner's journal is not rerun); every way out that does not commit (claim failure, a changed record, a failed key revoke or journal intent, the post-commit catch) drops the force's own tombstone, which dev's helper does only while the link still exists; a committed non-force removal settles earlier tombstones of the link. remove() admits the alias lock for a tombstoned alias using the removal target's record. The generated skill surface was regenerated.
3 tasks done
lidge-jun
added a commit
that referenced
this pull request
Nov 13, 2026
One conflict, docs-site/src/content/docs/es/guides/remote-link.md: this branch's journal paragraph and #8612's recover paragraph are kept in the English page's order (journal, then recover). The generated skills reference is regenerated on the merged tree (51 declared capabilities); everything else merged on its own.
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
No CI job runs
cargo fmt,cargo clippyor the crate's own tests for the Rust lightweight Child (native/ocx-child). Since #8630 the Linux test shards andtest changedinstall cargo, so the Bun wrappers there build ocx-child and run its conformance suite, but only when those tests are selected (the shards run on a pull request only withci:fullor a CI change). Nothing lints the crate, and its unit tests and its process-levellifecycle_guardsandrelay_and_lifecyclesuites run nowhere.Change. The existing
remote-helperjob now covers both Rust crates:remote_helperpath filter also selectsnative/ocx-child/**andtests/fixtures/link/ocx-child-conformance.json(the fixture the crate's conformance tests read);remote-helpergains one step,if: runner.os == 'Linux', that runscargo fmt --check,cargo clippy --locked --all-targets -- -D warningsandcargo test --lockedfornative/ocx-child/Cargo.toml;The step reuses the job's checkout, its
dtolnay/rust-toolchainstep (same pinned commit), its gate entry (CHANGES_REMOTE_HELPERalready means requested) and its filter-output validation. No job, output, gate key orGATED_JOBSentry is added.ci.ymlgrows by 8 lines, to 1996.What this costs.
remote-helper's floatingstable, which that job already uses. A new stable clippy lint can therefore fail pull requests for either crate until it is fixed.lane=alldispatch,remote-helperruns on Ubuntu, macOS and Windows; the new step runs on Ubuntu only, so the other two legs neither gain nor lose anything.ci.ymlhas three lines of headroom left under the 2000-line rule intests/ci-workflows/file-size-ratchet.test.ts.Security review (workflow change). No action is added or changed. The step runs
cargoon repository files inside the existing job, which keepscontents: read,persist-credentials: falseand no secrets. Release evidence:.github/scripts/release-evidence-policy.jsonkeeps every entrydevhas, byte for byte. It gains one new approvedcientry last, identical todev's newest entry except for this pull request's finalci.ymlblob ID (git hash-object --no-filters).release-evidence.cjsand its job list are unchanged.Stays inert by default. Pull requests that touch neither Rust crate nor the conformance fixture see no change; the
remote-helperjob is not selected for them, as before.Requested in the final review of #8612 (O5), which changes
native/ocx-child; kept separate so that pull request does not need workflow review.Verification
Test that failed first:
tests/ci-workflows/ci-scope-gaps.test.tsgains "an edit to ocx-child or its conformance fixture alone". It checks four things: theremote_helperfilter selectsnative/ocx-child/src/cli.rsand the fixture; the crate path alone starts no full suite; theremote-helperstep that namesnative/ocx-child/Cargo.tomlisif: runner.os == 'Linux'and runs the three commands; no other job names that manifest. Againstdev'sci.ymlit fails, and with this change it passes. The other workflow tests (ci-review-lanes,ci-privacy-gate, the checkout count) are back todev's content.At head 6ad1483:
node .github/scripts/release-evidence.cjs policy-check: exit 0.node --test .github/scripts/release-evidence.test.cjs: 26 pass, 0 fail.bun test tests/ci-workflows/file-size-ratchet.test.ts: 9 pass, 0 fail (ci.ymlat 1996 lines).bun testonci-scope-gaps,ci-review-lanes,ci-privacy-gate,ci-scope-reduction,ci-workflows,ci-bun-install-frozenandfile-size-ratchet: 25 fail, all of which also fail on an export oforigin/devrun on this machine. They need GNUtimeout(bun-install-frozen.sh retry policy), a workinggitin a subprocess (Windows diff scan), or finish past the 5 s timeout (setup-project-bun pin resolution). No case fails only on this branch.dev's crate:fmt --checkexit 0; clippy exit 0 with no output;test --locked50 pass, 0 fail;fmt --checkexit 0; clippy with-D warningsexit 0 with no output;test --locked74 pass, 0 fail (22 of them inowner_link)..tbdfiles its linker rejects, so these ran withSDKROOTpointing at the installed 26.5 SDK, for those commands only.NOT RUN: the full
bun run test;bun run test:changed; the new step on a Linux runner. Theremote_helperfilter does not listci.yml, so this pull request's own checks do not selectremote-helper. The step first runs on the next pull request that touches either crate or the fixture, or in the next batchlane=allrun ondev. Addingci.ymlto the filter would make a workflow edit verify the step, at the cost of one more line (1997) and of the Rust jobs running on everyci.ymlchange.Checklist