Repository navigation
feat(gpu): inspect static CUDA and HIP code objects - #5813
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 36b87ed459
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
CI baseline comparison: The same failure therefore exists without this GPU change. Browser implementation/verifier files are unchanged by this PR. GPU/native/public-workflow checks and independent real-artifact validation are recorded in the PR; remaining CI/review results are still pending. No browser fix is included here. |
[Medium impact] The reviewed changes appear safe to merge; no blocking issue remains. SummaryAdds static CUDA/HIP inspection through shared CLI, MCP, and retained Evidence views.
This review checked source and regression assertions; it did not rerun tests. Whether another PR supersedes this one could not be checked because GitHub authentication was unavailable. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
CLI[CLI] --> Service[Shared inspection service]
MCP[MCP tool] --> Service
Service --> Inventory[Inventory targets and objects]
Inventory --> Budget[Reserve input and output work]
Budget --> Decode[Decode selected payloads]
Decode --> Evidence[Retain facts, PTX, and coverage]
Evidence --> Pages[Selected historical pages]
Evidence --> Export[Evidence export]
Reviews (5) · Last reviewed commit: "docs(gpu): qualify payload admission and..." · Reviewed by Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 50af644061
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
The second CI run found another independently reproduced main failure in The wasm command/schema and that test are unchanged by this PR. The confirmed GPU CLI help omission from the first run was fixed separately and all 10 product-catalog cases passed. Neither this wasm baseline issue nor the previously linked browser baseline failure is included in the GPU change. Fail-fast cancellation means the cancelled shards are not claimed as passing coverage. |
50af644 to
313689e
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 313689ea69
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
313689e to
9767391
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 976739104b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Merged as Post-merge verification checked all 81 feature paths: 80 exactly match the qualified head; the sole difference is the compatible upstream Executed: |
Summary
Fixes #5345. Inventory local CUDA/HIP targets, decode selected objects, and query kernel parameters/resources or retained PTX without sending the whole report to an agent.
Change and contract boundaries
inspect-gpu-code-objects,inspect_gpu_code_objectsand historicalinspect_analysis_viewkindgpu-code-objects.@msgpack/msgpack3.1.3 with integrity-verified upstream license. Updates catalog ownership, authored skill and README links; generated outputs are excluded.Contribution scope decision: not applicable to execution/injection/mutation/protection recovery. This capability reads caller-selected files and invokes no GPU tools or target code. Caller-directed Evidence exports use the existing local export workflow. No GPU execution, SASS disassembly or host launch correlation is claimed.
Expected effects:
Evidence and validation
Verification record and linked receipts pin source trees, publisher hashes, commands, independent oracles, failed attempts and performance scope.
npm run checkandnpm run docs:checkpassed, including five README cases. Latest static checks: 135.345 s / 266.563 CPU s / 5,371,879,424 sampled family RSS bytes; no resource guard stop.0x33, 550x41, zero false conflicts. Unknown layouts retain their headers and partial coverage. Original envelope and payload targets stay separate; base-only agreement does not establish feature-profile compatibility.Windows artifacts were inspected on Linux: LLVM supplied PE coordinates and cuobjdump consumed the extracted fatbin. No Windows runtime claim. CCOB v2 Zstd has a real LLVM producer oracle; v1/v3/zlib have boundary fixtures. Legacy AMDGPU YAML remains unsupported.
Equivalent complete-report → selected-page MCP tasks: used declarations + primary calls 418,967 → 26,653 estimated tokens; full catalog + all six calls 1,493,041 → 1,100,727. Elapsed 21.307 → 24.604 s, CPU 23.538 → 26.454 s, sampled family RSS 1.147 → 1.341 GB. Tokenx estimates are not billing; initialization/JSON-RPC envelopes are excluded. Same-code workflow variants, fresh servers, uncontrolled OS caches/load: no general speed/CPU/memory improvement is claimed. All task receipts use two CPU affinities and an 8 GiB family guard.
Earlier main-baseline browser/optional-input assertion failures are linked in PR comments; upstream main has since fixed them. All required CI passed at predecessor
9767391; this review follow-up reruns CI. The GPU help-description CI bug and actionable review findings were fixed. The intermediate low-byte CUDA-header interpretation and its timings are explicitly invalidated in the record; qualified measurements use the corrected ABI-aware version. Earlier schema timeouts and the incomplete all-target transport-guard attempt remain recorded rather than counted as successful coverage.Author readiness
Human owner: @gensokyo-dev
The operator explicitly instructed ready review and authorized merge after verification. Automation does not assert the two unchecked personal-review declarations.
Before merge