chore: refresh org SBOM inventory - #1678
opencode-agent[bot] wants to merge 933 commits into
Conversation
There was a problem hiding this comment.
Note
This report is out of date. Scroll down for Devin Review's latest report on this PR.
Devin Review found 3 potential issues.
⚠️ 3 issues in files not directly in the diff
⚠️ Partial inventory appears complete
With 34 of 63 SBOM fetches returning 404, repo_count reports all 63 while component totals cover only 29. The inventory presents partial organization evidence as complete.
⚠️ Permitted licenses trigger violations
For MPL-2.0 components without another prohibited license, flagged reports at least 137 policy violations. Governance therefore escalates expressly permitted dependencies.
⚠️ Permissive alternatives trigger violations
When an SPDX expression offers a permissive alternative, flagged rejects it because another alternative is copyleft. Seven selectable permissive dependencies become policy violations.
There was a problem hiding this comment.
Devin Review found 1 new potential issue.
⚠️ 1 issue in files not directly in the diff
⚠️ Restricted licenses escape policy review
Seven LicenseRef-NVIDIA-Proprietary components are marked unflagged. Unknown and non-standard licenses also disappear from the commercial-permissive policy review.
|
Diagnosis of the
This is deterministic and content-blind, not an Nginx finding. The regenerated Fix: #1946 makes the policy follow the Contents response's blob sha to the Git Blobs API (bounded at 11 MiB, bound back to the same sha and size) and scan the bytes like any inline file. Once it is on Generated by Claude Code |
There was a problem hiding this comment.
Noema LLM review
The PR refreshes several workflow concurrency groups, adds a coordinator job for CodeQL dispatch, improves allowlist parsing to support multiple trusted actors, and enhances audit coverage reporting. The changes are consistent with the stated rationales, preserve the existing authorization invariants, and introduce no confirmed concrete regressions.
Reviewed changed lines
.github/workflows/agent-mention-noema-dispatch.yml:17 (RIGHT): Moves concurrency from the job level to workflow level. The workflow has a single job and the job-level block is removed, so there is no same-group self-wait risk and queued runs coalesce earlier..github/workflows/agent-mention-opencode-dispatch.yml:17 (RIGHT): Moves concurrency from the job level to workflow level. The workflow has a single job and the job-level block is removed, so there is no same-group self-wait risk and queued runs coalesce earlier..github/workflows/codeql-scan-dispatch.yml:157 (RIGHT): Parses ALLOWED_DISPATCH_ACTOR as a comma-separated allowlist while requiring non-empty actors; an empty allowlist continues to admit nothing..github/workflows/codeql-scan-dispatch.yml:524 (RIGHT): The wake job condition reads validated output required_jobs and only proceeds when non-empty, avoiding a wake with missing job bindings..github/workflows/opencode-review-dispatch.yml:150 (RIGHT): Uses the same comma-separated allowlist parsing with a non-empty guard, permitting multiple trusted dispatch identities without weakening empty-list denial.
Adversarial validation
.github/workflows/agent-mention-noema-dispatch.yml:17 (RIGHT)falsified: Moving concurrency to workflow level could cause a run to wait on its own group when job-level and workflow-level groups match. — The diff removes the job-level concurrency block entirely, leaving only the workflow-level group, so no job requests the group its own run already holds..github/workflows/agent-mention-opencode-dispatch.yml:17 (RIGHT)falsified: Moving concurrency to workflow level could cause a run to wait on its own group when job-level and workflow-level groups match. — The diff removes the job-level concurrency block entirely, leaving only the workflow-level group, so no job requests the group its own run already holds..github/workflows/codeql-scan-dispatch.yml:157 (RIGHT)falsified: Parsing ALLOWED_DISPATCH_ACTOR with IFS=',' could produce an empty actor that is admitted. — The loop checks allowed_actor is non-empty before comparing against DISPATCH_ACTOR and DISPATCH_SENDER, so an empty allowlist admits nothing..github/workflows/codeql-scan-dispatch.yml:524 (RIGHT)falsified: Using validated output required_jobs in the wake condition could let a wake job run when no valid job ids were bound. — The wake job condition explicitly requires needs.validate-dispatch.outputs.required_jobs != '', preventing an empty jobs list from triggering the job..github/workflows/opencode-review-dispatch.yml:150 (RIGHT)falsified: Parsing ALLOWED_DISPATCH_ACTOR with IFS=',' could produce an empty actor that is admitted. — The loop checks allowed_actor is non-empty before comparing against DISPATCH_ACTOR and DISPATCH_SENDER, so an empty allowlist admits nothing.- Residual risk: Low. The audited probes attempted concrete regressions around deadlocks, empty allowlists, and malformed job wake inputs and were all falsified against the changed lines.
Findings
- No blocking findings.
- Result: APPROVE
- Head SHA:
5f264b19eea2559b4d8ce765e158d7d414bf90eb - Reviewer credential:
noema-review-github-app-refresh - Actor:
cwl-noema-review[bot]
OpenCode Review Overview
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks 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 |
| bash -c 'set -eu | ||
| cd "$1" | ||
| dist_dir="$(mktemp -d)" | ||
| python3 -m maturin build --offline --release -o "$dist_dir" |
Preserve #2385, #2359, and #2286 as explicit parents while composing their byte-identical overlapping locks and endpoint contract. This creates one exact-head bootstrap stack for the coverage-image, 100% coverage, AnyIO audit, and CodeQL dispatch failures without force-push, rebase, or delta disposal.
…ete-source-grants-20260928 fix(license): authenticate complete libfuzzer source grants
…wed-helper-adoption-20260928 Adopt reviewed release license helper with exact identity guards
…library-20260928 fix(ci): bind sidecar Python to its matching shared runtime
…ar-runtime-adoption-20260928 fix(ci): adopt matching sidecar runtime in release helper
…2479) * fix(ci): continue Strix runtime transport failures on same PR head Connect the existing fail-closed provider classification to the bounded exact-head transport redispatch. Do not retry findings, scanner tooling errors, or sandbox failures. Reuse the central attempt and jitter contract. Ref #2477. * test(ci): cover Strix runtime continuation budget branches Exercise valid and invalid head identities and the exhausted retry budget directly so the central 100% branch coverage gate includes the new module. * fix(ci): exclude mixed Strix sandbox failures from continuation A sandbox bootstrap failure can coexist with an LLM connection signal. Keep that incomplete scan failed without scheduling another model scan; cover the mixed log case.
* fix(ci): prefetch locked Cargo fixtures for offline coverage * fix(ci): force offline Cargo resolution in coverage sandbox * fix(ci): discard untrusted Cargo home before coverage * test(ci): cover cached Cargo fixture dependencies * fix(ci): scope Cargo offline policy to trusted sandbox home
Remove the low-privilege coverage checkout and its tagged Docker image after every coverage attempt. Preserve other attempts and keep the existing review trust boundary. Refs: #945
Keep the build directory unique to a run attempt so failing builds are cleaned by the always step without touching another attempt. Refs: #945
…e cap (#2498) * fix(pingora): bound decoded PNG size separately from the HTTP response cap _is_complete_png rejected any PNG whose decoded scanlines exceed MAX_RESPONSE_BYTES (16 MiB), a limit meant for REST responses. A valid 2238x2052 RGBA macOS screenshot decodes to 18.4 MB, so it was treated as not-a-PNG, fell through to the text scan and failed as "not valid UTF-8". This blocked five screenshots under a declared artifact prefix in late-life-anxiety-reanalysis#257. Add MAX_PNG_DECODED_BYTES (128 MiB) for the decoded-pixel bound and keep the response cap unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011arF4D6VAoT48vh5HvyHtD * chore: drop uv.lock that was committed by accident The lockfile was generated by a local `uv run` and is not part of the PNG bound fix. main has no root uv.lock, and adding one widens this PR into a dependency change. tests/test_pingora_edge_policy.py passes without it (100 passed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N9qbK6d91C7LkriuTf7dR8 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Since #2437 the sidecar creates $RUNNER_TEMP/contextual-orchestrator-review/.venv with a plain `python -m venv`. On cwlab-s1-04 that directory survived between jobs, and `python -m venv` exits 0 over an environment whose pip package lost __init__.py/__main__.py, leaving pip as a namespace package. From 2026-09-27T17:47Z every OpenCode review there failed at sidecar provisioning with "No module named pip.__main__", so no verdict was published and required opencode-review checks failed closed across the organization. Use `venv --clear`. The new regression damages a real venv, reruns the script's venv line, and requires `python -m pip --version` to work; it fails on main with the production message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtgtJk1WjqieqvLDb1w8uW
…-verdict-rca-20260929 fix(ci): rebuild the review sidecar venv on persistent runner temp
…-cleanup-20260928 fix(ci): reclaim per-run OpenCode coverage resources
hourly-review-repair's dispatch-review-fixes job (reusable pr-review-fix-scheduler.yml) was pinned to hosted ubuntu-24.04. On 2026-09-29, 12 of the last 18 hourly runs sat queued there for up to 12 h behind the org-wide hosted concurrency limit while three of the four cwlab-control runners were idle. Select the CWL central control group (cwlab-control) only when the caller is the central main hourly-review-repair workflow; any other caller keeps hosted Ubuntu 24.04. The job only reads the API and dispatches autofix; a new contract pins the single trusted checkout (called-workflow SHA, persist-credentials false), no pull_request.head reference, and keeps the dispatched autofix workflow off the control pool. Runner group 6 now also allows ContextualWisdomLab/.github/.github/workflows/pr-review-fix-scheduler.yml@refs/heads/main (restricted_to_workflows stays true). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtgtJk1WjqieqvLDb1w8uW
…duler-control-runner fix(ci): run the central fix-scheduler dispatch on the control runners
One OpenCode runner serves every repository first-in first-out, so a release PR waited behind about 180 other reviews on 2026-09-29. The coordinator approved a reproducible operator action instead of a deferral scheduler that could starve PRs. The script classifies queued opencode-review-dispatch runs against the live PR: stale (closed or moved head), keep (review-priority label applied by a write/maintain/admin actor, so a fork cannot jump the queue), or deferred. It prints backlog metrics, posts the cancel list to an issue before any cancellation, and --apply cancels only runs still queued. Cancelled PRs are re-dispatched by the scheduler or by rerunning their opencode-review job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtgtJk1WjqieqvLDb1w8uW
…-queue-priority-runbook feat(ops): add an OpenCode dispatch-queue priority runbook
Automated central SBOM inventory refresh for live non-fork repositories. Review reciprocal, restricted, and NOASSERTION license evidence in docs/sbom/inventory.md against the product's actual distribution and hosted-service model.
Current blocking state (2026-09-08)
e6b292ce5e104212eaa032579afff1514b865019; livemaincomparison is ahead 70 / behind 0. The effective customer-evidence delta remainsdocs/sbom/inventory.jsonanddocs/sbom/inventory.md.required-workflow-bootstrapis deterministically RED before policy analysis because the Contents API does not inline the 1,148,611-byte JSON and protectedmain's policy caps that evidence path at 1 MiB. This is not an Nginx finding.1cb8cceb8719eb054979d84141cda9a95c0c6873, ahead 5 / behind 0, with bounded Git Blobs fallback plus malicious-content and malformed-evidence tests. Both original and Ready-event same-head Security, SAST, Python Security, and CodeQL PR runs are terminal GREEN. Noema and Strix were materialized but failed on centralorchestrator/freeavailability (HTTP 429 / zero ready routes); OpenCode's derivedCHANGES_REQUESTEDcontains no leaf-source finding. Keep this inventory PR Draft until fix(pingora): read Contents-API-oversized files through the Git Blobs API #1946 reaches protectedmain, this branch non-force integrates that release, and new exact-head checks plus independent review are valid.orchestrator/freeHTTP 429 is a separate review-transport blocker. Keep this PR Draft until fix(pingora): read Contents-API-oversized files through the Git Blobs API #1946 reaches protectedmain, this branch non-force integrates that release, and all new exact-head checks plus independent review are valid.