fix(opencode): make GPU adapter selection deterministic - #2031
fix(opencode): make GPU adapter selection deterministic#2031seonghobae wants to merge 5 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Exact-head publication receipt: |
|
Exact-head Runtime Quality RCA and direct repair:
Production workflow behavior is unchanged by this correction. The update is a normal fast-forward descendant; no force update, bypass, or predecessor Check transfer. Fresh exact-head Checks are authoritative. |
|
Exact-head RCA for |
|
Restack onto protected
Left Draft. Fresh exact-head checks required. |
Goal
Carry the still-valid Rust GPGPU adapter-selection responsibility out of historical #1231 as one bounded canonical-owner change.
RED → GREEN
4d976e8899e755f4e9c2caca804278ae304b3611: requires deterministic pathname selection and rejects thels | headpipeline.fd2a497f3484cdd1938fd07beffaa6a7cf40a09a: sets function-localLC_ALL=C, iterates the trusted lavapipe manifest glob, selects the first regular file, and preserves the existing no-adapter path.Boundary
This PR changes only the OpenCode Rust coverage software-adapter discovery contract. It does not claim carryover of #1231's SBOM, scheduler, NVIDIA, or sweep responsibilities and does not move Rust/GPU ownership into Python.
Documentation
Updates CHANGELOG, APA-style doctoring, and
docs/product-technical-gap-baseline.md. Status is Proposed until exact-head hosted Checks and independent review are terminal. Runtime Quality run34181647719verified the full repository (2985 passed, 1 skipped, 21 subtests, 100% coverage) but failedgit diff --checkbecause two modified files retained an extra EOF blank line. Commitd34e18688aab17ef210584ebc6ad62c417e8412fnormalizes only those two endings; its fresh hosted Checks are the current authority.Safety
The branch is a normal four-commit descendant of protected
main@78a4937c684a54ca8e415822c913742f41c6efc4. No force push, rebase, provider/model change, gate weakening, or evidence transfer was used.Refs #1231.