fix(operations): restack runner API JSON byte integrity on 2d9d4e main - #330
fix(operations): restack runner API JSON byte integrity on 2d9d4e main#330seonghobae wants to merge 1 commit into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ 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:
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 |
|
Superseded by consolidated runner-assignment JSON-integrity successor #341, which preserves this implementation and current coverage configuration. Closing the stale predecessor; its earlier check results do not transfer. |
Purpose
Rebuild only PR #312's current runner-assignment GitHub API byte-integrity hardening onto the current protected-main lineage. No predecessor CI, review, scanner, coverage, model, runner-assignment, release, deployment, or acquisition authority transfers.
Exact construction
mainat the final pre-write refetch:2d9d4e26a81d043a1985fc2244efb2a311fcf1d0;e08556d5f35b086bfcf9f90dcff03cd0bf2c2183;60a0b8d6a19b56da6e10bfd79799ea544b165cd1;scripts/actions-runner-assignment-audit.mjs,test/actions-runner-assignment-cli.test.ts, andvitest.config.ts.A fresh compare from #312's live base
1f4964fb3102cc1b0a9bcf19acae461904ecc672to current protected main showed 13 protected commits with no overlap on these three paths. The successor therefore overlays only #312's exact current-head blobs without overwriting intervening protected bytes.Fail-closed behavior retained
Successful
gh apistdout remains bounded raw bytes until fatal UTF-8 decoding, then decoded-key integrity validation runs beforeJSON.parse. Malformed UTF-8 and escape-equivalent duplicate object names fail closed before run/job identity and runner-assignment decisions. Existing shell-free subprocess execution, 2 MiB output bound, 20-second timeout, explicit GitHub API version, repository/path bounds, least-authority child environment, pagination, and report semantics remain unchanged.This hardens read-only runner-assignment evidence only. It does not prove runner assignment, required-check success, formal review, release, deployment, production KPI, or acquisition readiness.
Evidence boundary
Keep Draft until this unchanged exact head receives fresh terminal-success application
ci,reviewer-ci, and protected-base-eligible centralSecurity Scan, configured exact 100% owned production statement/branch/function/line coverage with realistic tests, and zero valid unresolved findings. Pending, queued, skipped, absent, neutral, failed, cancelled, stale, predecessor, status-only, model-only, or rate-limited evidence is non-passing.Live Noema governance currently requires the central
.github/workflows/security-scan.yml@refs/heads/mainworkflow and does not currently impose an independent formal-approval rule. No model review or predecessor evidence is merge authority.Supersedes #312 only after fresh exact-head verification and protected integration. Related: #30.