Repository navigation
feat(artifacts): name the integrity check for stable, selected and provider artifact sources - #11129
Merged
Merged
Conversation
…ovider artifact sources
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
[Medium impact] The PR appears safe to merge, with the web error fix complete and no new blocking issues found. SummaryAdds check names to existing artifact integrity failures without changing the checks themselves.
Reviews (3) · Last reviewed commit: "fix(browser): keep the reader's integrit..." · Reviewed by Greptile |
This was referenced Nov 15, 2026
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
Refs #10508 (Phase 6.1). The artifact sources under the readers (stable reads,
ArtifactFileSource, admission, selected-source spelling, GPU and model inputs, Android JNI libraries, local web scripts, canonical scan root, native plist) raisedintegrityfailures that only the message told apart. Each now names its check.Problem and expected behavior
integrityCheck/details.integrity_check.Change and scope
container-identity: selected file or path changed (stable reads, file source, admission, selected source, GPU, model, canonical scan root, plist), carrier digest differs from inventory.read-coverage: GPU source truncated, model header or full-file hash ended before the admitted extent.declared-size: Android native library longer or shorter than its ZIP size.member-identity: local web script bytes differ from the selected inventory content; the captured-web read projection (WebArtifactReads) now forwards the check, which it previously dropped.inventory-node: iNES inventory without its reconstruction scan.With #11119 and #11125 this leaves one unnamed
integritythrow insrc/(.NETbundleopen, whose lines #11065 is editing).Not included: a type-level guard requiring a check for every
integrityfailure; it becomes possible once the three PRs and the.NETsite land.Follow the contribution scope.
Unresolved scope, authority, side effects, or required verification block
integration. Link the required maintainer scope decision for new providers or
capabilities involving target execution, injection, mutation, or protection
recovery; ordinary fixes within existing boundaries may state "not applicable".
Draft PRs may leave the scope decision pending and the readiness and merge checklists
unchecked. Maintainers can help resolve open questions.
Contract and boundary impact
ArtifactFileSource, file admission, selected-source spelling, GPU and model providers and readers, Android JNI extraction, local web script selection, canonical scan root revalidation and the native plist sourceintegrityerrors carrydetails.integrity_check(existing values only). Codes, categories and messages unchangeddocs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs andskills/; edit authored instructions in.agents/skills/reverse-engineer-anything/and never commit build outputs): noneExpected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.
Evidence and regression coverage
integrityCheck: "container-identity":artifactAdmittedIdentity(2, sessionexecute),asarSelectedCompanion,binarySessionAsarSelectedPath,godotPckIdentity,selectedArtifactSourceLifecycle,artifactFileSourceLifecycleArtifactSelectedSourceandArtifactFileSourcefailed 11 tests across all 6 converted filesinventory_artifactafter the selected symlink is retargeted:"details":{"reason":"integrity","integrity_check":"container-identity",…}For boundary fixes, identify the applicable boundary regressions
and lifecycle regressions
covered by the evidence above, and explain relevant gaps.
For evidence-bearing changes:
Validation performed
npm run test:focused -- tests/boundary/filesystem/artifactAdmittedIdentity.test.ts tests/boundary/filesystem/asarSelectedCompanion.test.ts tests/composition/analysis-sessions/binarySessionAsarSelectedPath.test.ts tests/boundary/filesystem/godotPckIdentity.test.ts tests/process-global/selectedArtifactSourceLifecycle.test.ts tests/process-global/artifactFileSourceLifecycle.test.ts: 56 passed (base: 56). Warm wall/CPU (user+sys): after 9.3 / 14.5 s and 9.5 / 14.0 s; before 8.3 / 13.9 s and 12.0 / 15.7 s (noise)npm run test:focused -- tests/acceptance/gpuCodeObjectsCli.test.ts tests/boundary/model/modelArtifact.test.ts tests/boundary/providers/native/nativePlistSelection.test.ts tests/boundary/filesystem/webArtifactAcquisition.test.ts tests/boundary/providers/ghidra/ghidraFileFailure.test.ts: 186 passedWebArtifactReadsforwardsintegrityCheck):npm run test:focused -- tests/boundary/filesystem/webArtifactAcquisition.test.ts: 7 passed; the new source-mismatchdetails.integrity_checkassertion fails without the fixnpm run check:fast: passed;node scripts/verify/architecture-guards.mjs: passed;npx oxfmt --check src tests: passedcommand— resultCompatibility, safety, and release
Additive public detail only. No message, code or category changes.
Author readiness
Human owner:
Before merge
type(scope): outcome.