build(review): add hash-pinned coverage lock for account-unification - #35
Merged
Conversation
The central OpenCode coverage-evidence job runs the services/account_unification pytest suite in a networkless sandbox that installs project dependencies only from a base-branch requirements.lock / requirements-hashes.txt (materialize_base_python_requirements.py in ContextualWisdomLab/.github). keyverse shipped only uv.lock, so the sandbox could not import pydantic/fastapi and coverage-evidence failed on every account-unification PR (e.g. #33), which makes OpenCode publish REQUEST_CHANGES for missing test/coverage evidence. Add a hash-pinned requirements.lock covering the runtime imports needed to collect and run the test suite (fastapi, pydantic, httpx, pyyaml) plus their fully-resolved transitive closure, compiled for the sandbox interpreter (python:3.14-slim, x86_64 manylinux_2_28, wheels only). Verified: all 52 account-unification tests pass with exactly this runtime set. The lock is disjoint from the sandbox's pinned test toolchain and is separate from uv.lock, which stays authoritative for local/CI `uv sync --locked`. Landing the lock on the default branch lets open account-unification PRs inherit a runnable coverage sandbox so coverage-evidence can pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqtiEQFfuYFsS75Aku9tPT
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
seonghobae
enabled auto-merge
July 30, 2026 04:54
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
The central OpenCode coverage-evidence job runs
services/account_unification's pytest suite inside a networkless sandbox that installs project dependencies only from a base-branchrequirements.lock/requirements-hashes.txt(seematerialize_base_python_requirements.pyinContextualWisdomLab/.github; a deliberate supply-chain trust boundary — PR-head manifests are never resolved). keyverse shipped onlyuv.lock, so the sandbox could notimport pydantic/fastapi→ coverage-evidence fails → OpenCode publishesREQUEST_CHANGESfor "missing test/coverage evidence" on every account-unification PR (e.g. #33).This adds the missing hash-pinned lock on the default branch so open and future account-unification PRs inherit a runnable coverage sandbox.
What this file is
services/account_unification/requirements.lock— the runtime imports needed to collect and runtests/(fastapi,pydantic,httpx,pyyaml) plus their fully-resolved transitive closure, hash-pinned.python:3.14-slim,x86_64-manylinux_2_28, wheels only (--only-binary :all:), matching the sandbox's--require-hashes --only-binary=:all:install.uv.lock, which stays authoritative for local/CIuv sync --locked. The file's header documents its purpose and the exact regeneration command.Verification
fastapi + pydantic + httpx + pyyaml+ toolchain).uv pip compileresolved the full transitive closure (15 packages) for the target platform with--generate-hashes --only-binary :all:.*.py), so the Python coverage path is not-applicable → coverage-evidence passes on this PR itself.Notes
Unblocks #33 (which stays blocked on this exact evidence gap) once merged; #33 then re-runs coverage-evidence against a base that can install its dependencies. Complements — does not conflict with — the central
.github#612approach; this scopes the fix to keyverse and does not depend on that stalled PR.Generated by Claude Code