Repository navigation
ci: let a lane that names a shared process file select it on the fast tier - #11523
Merged
Merged
Conversation
… tier On the fast tier a shared-boundary file selected a provider lane only when exactly one lane matched it. Lanes that cover src/process/** by directory glob counted as matches too, so a file one lane names explicitly (src/process/RegularFileRead.ts for agentenv, moved there in #11299) selected no lane. Only patterns without ** now count as owners; files several lanes name still run code and runtime only on the fast tier. Fixes #11404
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
[Low impact] The reviewed changes appear safe to merge. SummaryUpdates fast-tier CI selection so one lane that names a shared file can run even when other lanes match it through
Reviews (2) · Last reviewed commit: "ci: let a lane that names a shared proce..." · Reviewed by Greptile |
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
Fixes #11404. On the fast tier, a shared-boundary file now selects the one provider lane that names it, even when other lanes cover it only through a
src/process/**directory glob. Files that several lanes name keep the existing fast-tier policy (code and runtime only).Problem and expected behavior
change-plan.mjsselects a provider lane for a fast-tierSHARED_BOUNDARYfile only when exactly one lane matches. Lanes that listsrc/process/**(javascript_recovery, recorded_crash, web_source_map) matched every process file, sosrc/process/RegularFileRead.ts, which onlyagentenvnames (moved there fromsrc/application/in #11299), selected no lane on the fast tier.Answer to the issue's question as implemented: a lane that names the file (a pattern without
**) is path evidence; a directory glob is not. When several lanes name the same file (OwnedCommand.ts,ProviderProcess.ts), the fast tier still does not fan out, and the full tier still runs every lane. That part of the policy is unchanged.Change and scope
scripts/ci/change-plan.mjs: fast-tier shared-boundary owners count only patterns without**.RegularFileRead.ts-> agentenv;ExecFileOutput.ts,ownedDebuggerCleanupError.ts,ownedDebuggerSession.ts-> reverse_tools;capture/ProcessCaptureLifecycle.ts-> web_network;WindowsExecutable.tsandcapture/FilesystemSnapshot.ts-> package (the package lane names both;WindowsExecutable*already selects it through its early inputs). No other file changes.Scope decision: not applicable, CI-only change. The multi-lane fan-out question stays open for the maintainer.
Contract and boundary impact
scripts/ci/change-plan.mjslane classification.capture/FilesystemSnapshot.tsnow starts the package lane it names.Evidence and regression coverage
tests/boundary/filesystem/ciChangeScope.test.tspinsRegularFileRead.tsto agentenv only andownedDebuggerSession.tsto reverse_tools; the existingOwnedCommand.ts/ProviderProcess.tspins (runtime, no provider lanes) are unchanged.RegularFileRead.tscase fails onmain(agentenv not selected) and passes with the change.Validation performed
npm run test:focused -- tests/boundary/filesystem/ciChangeScope.test.ts: 410 passed; withchange-plan.mjsreverted, 1 failed (RegularFileRead.ts).npx oxfmt; pre-push hook (typecheck, lint, architecture guards): passed.Compatibility, safety, and release
Author readiness
Human owner:
Before merge
type(scope): outcome.