Skip to content

test: exercise admitted bundle identity in provider routing - #7336

Closed
Plastic-time wants to merge 2 commits into
morluto:mainfrom
Plastic-time:codex/fix-provider-bundle-fixture-20261026
Closed

Plastic-time wants to merge 2 commits into
morluto:mainfrom
Plastic-time:codex/fix-provider-bundle-fixture-20261026

Conversation

@Plastic-time

@Plastic-time Plastic-time commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The bundle-root routing test opens a plain .hop file while its auxiliary provider reports a different directory digest. After admitted-subject validation was tightened, that fixture is correctly rejected before it can exercise bundle-root preservation.

Create a minimal app bundle with an Info.plist and inert Mach-O executable. Assert the selected executable, bundle root, and plist identity, then retain the existing directory-subject assertions. Close the session through the test cleanup hook. Move this case outside the existing group to keep that group's callback within the repository lint limit.

Scope

One test file changes. The fixture owns the correction; production subject validation, provider routing, evidence, CLI/MCP contracts, and package metadata are unchanged. Tests create temporary fixture files and use simulated providers; they do not execute the fixture binary. This is an ordinary test repair; a separate maintainer scope decision is not applicable.

Validation

Same-runner Linux baseline, independent fixes, and combined verification: Ubuntu 24.04, Node 24.22.1, unchanged baseline 046c4ce3, this candidate 8658353b.

  • npm run test:focused -- tests/composition/analysis-sessions/providerBinding.test.ts src/artifacts/apple/AppleAssetCatalogAnalysis.test.ts tests/boundary/filesystem/safeOutputTreeCloseFailures.test.ts: baseline 48 passed / 3 failed; this fix alone 49 passed / 2 failed. All 5 provider-binding tests pass.
  • The remaining two failures are the independent extraction-close fixtures addressed by test: bind extraction close fixtures to their ZIP digest #7335. Applying both fixes gives 51 passed.
  • npm run check:fast, repository oxfmt --check, and git diff --check: passed.

Windows/macOS and real external providers were not run. Full upstream CI is separate from this focused comparison.

Author readiness

Human owner: @Plastic-time

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

@Plastic-time
Plastic-time marked this pull request as ready for review October 26, 2026 23:59
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-26T23:59:08.095168Z
We couldn’t complete this review. Comment @codex review to try again.
8658353 Draft marked ready
ℹ️ 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

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@greptile-apps

greptile-apps Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This test-only change appears safe to merge.

Summary

Repairs the bundle-root routing test with a real temporary .app layout.

  • The routing test checks artifact inventory with a real app-bundle fixture.

Reviews (1) · Last reviewed commit: "test: keep bundle routing coverage outsi..." · Reviewed by Greptile

Copy link
Copy Markdown
Contributor Author

Closing as already integrated via #7349 (1201c25). That PR cherry-picked 00aa17f and 8658353 with attribution, and this PR's only changed file now matches main exactly. No separate merge is needed.

@morluto morluto added the area: tests Test suite and verification label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants