Skip to content

ci: let a lane that names a shared process file select it on the fast tier - #11523

Merged
morluto merged 1 commit into
mainfrom
ci/shared-boundary-explicit-lanes
Nov 15, 2026
Merged

morluto merged 1 commit into
mainfrom
ci/shared-boundary-explicit-lanes

Conversation

@morluto

@morluto morluto commented Nov 15, 2026

Copy link
Copy Markdown
Owner

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.mjs selects a provider lane for a fast-tier SHARED_BOUNDARY file only when exactly one lane matches. Lanes that list src/process/** (javascript_recovery, recorded_crash, web_source_map) matched every process file, so src/process/RegularFileRead.ts, which only agentenv names (moved there from src/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 **.
  • Effect across all 265 tracked shared-boundary paths (source files; test files take the earlier test-file branch): RegularFileRead.ts -> agentenv; ExecFileOutput.ts, ownedDebuggerCleanupError.ts, ownedDebuggerSession.ts -> reverse_tools; capture/ProcessCaptureLifecycle.ts -> web_network; WindowsExecutable.ts and capture/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

  • Semantic owner and earliest changed stage: scripts/ci/change-plan.mjs lane classification.
  • Contribution scope fit and linked maintainer decision: not applicable.
  • CLI and MCP/tool-catalog contract: none.
  • Provider, bridge, target-format, or platform compatibility: a fast-tier change to capture/FilesystemSnapshot.ts now starts the package lane it names.
  • Evidence, artifact, provenance, or reconstruction contract: none.
  • Target selection, authority, upstream behavior, and cleanup details (if applicable): not applicable.
  • Generated metadata, package, or installation impact: none.

Evidence and regression coverage

  • Tests added or updated: tests/boundary/filesystem/ciChangeScope.test.ts pins RegularFileRead.ts to agentenv only and ownedDebuggerSession.ts to reverse_tools; the existing OwnedCommand.ts/ProviderProcess.ts pins (runtime, no provider lanes) are unchanged.
  • Base reproduction or other evidence: the RegularFileRead.ts case fails on main (agentenv not selected) and passes with the change.
  • Remaining proof gaps: no CI run observed.

Validation performed

  • npm run test:focused -- tests/boundary/filesystem/ciChangeScope.test.ts: 410 passed; with change-plan.mjs reverted, 1 failed (RegularFileRead.ts).
  • Script comparing old and new owners for every tracked shared-boundary path: results above.
  • npx oxfmt; pre-push hook (typecheck, lint, architecture guards): passed.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable.
  • Package or release metadata impact: none.
  • Security, privacy, process, or containment review: selects more lanes, never fewer.

Author readiness

Human owner:

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

… 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
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-15T21:34:27.665824Z
We couldn’t complete this review. Comment @codex review to try again.
2cbb522 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@greptile-apps

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The reviewed changes appear safe to merge.

Summary

Updates fast-tier CI selection so one lane that names a shared file can run even when other lanes match it through **.

  • Fast CI selects the lane that names a shared-boundary file.

Reviews (2) · Last reviewed commit: "ci: let a lane that names a shared proce..." · Reviewed by Greptile

@morluto
morluto merged commit 3362752 into main Nov 15, 2026
7 checks passed
@morluto
morluto deleted the ci/shared-boundary-explicit-lanes branch November 15, 2026 22:12
@morluto morluto added the area: build Build, CI, packaging, and publishing label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build, CI, packaging, and publishing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI fast tier skips explicitly listed lanes for shared process files

1 participant