Skip to content

fix(ci): native release suites miss required inputs - #164359

Merged
steipete merged 2 commits into
mainfrom
codex/frv-native-live-credentials
Oct 3, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/frv-native-live-credentials

Conversation

@steipete

@steipete steipete commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes full release validation selecting native suites without forwarding their required provider or QA inputs, leaving live tests skipped and failing the passing-assertion gate.

User Impact

Release and scheduled checks now pass configured inputs to the native suites that consume them. Missing credentials, account access, or services still prevent live qualification; this change does not provision or validate those prerequisites.

Why This Change Was Made

The existing optional-secret interface now forwards the inputs through both callers and the profile hydrator, with environment values restricted to their owning matrix rows. ElevenLabs reaches both A–K and Mistral's L–N suite, while Seed Speech reaches media-audio. Discord reuses the existing release smoke bot token only in A–K and remains excluded from generic profile hydration.

The regression derives required inputs from the live consumer files and the canonical shard selector, then evaluates the actual workflow expressions. Existing test guards, selected coverage, provider defaults, and opt-ins are unchanged.

Evidence

  • The native A–K failure reported selected live files with no passing assertions. The source audit traced missing forwarding separately from unavailable prerequisites.
  • pnpm test test/scripts/package-acceptance-workflow.test.ts -t "plumbs live credentials through planned Docker E2E live lanes" --maxWorkers=1: the focused regression passed in 179 ms test time / 3.44 s wall. It executes real shell profile hydration with synthetic quoted values and checks every native matrix row. Before the scope correction, it caught missing ElevenLabs in L–N, missing Seed Speech in media-audio, and unintended Seed Speech exposure in O–Z. The other 567 cases were not rerun.
  • pnpm check:workflows passed, including workflow security lint (20.73 s). Selected changed-file checks passed, including root test types, lint, guards, and complete dead-export scans (247.32 s). Independent full-candidate review found no actionable P0–P2 issues.
  • Exact-head PR CI passed for a49bd6b17932c6d2d3133b228ae0403069e4610d, including openclaw/ci-gate. The checks-node-changed job took 120 s including setup; this is not an isolated per-case measurement.
  • Separately, ElevenLabs native speech checks passed and its existing repository secret was restored during this campaign. That result did not execute or qualify the revised workflow.

These local checks prove forwarding and scope, not credential/service availability or full release qualification.

Carry existing provider and QA inputs through release and scheduled callers into their owning native live matrix rows. Keep the existing Discord smoke token out of generic profile hydration and preserve provider defaults and live coverage.
Forward ElevenLabs to the Mistral live shard and move Seed Speech to media-audio. Derive expected credential scopes from actual consumer files and the canonical live shard selector.
@steipete steipete added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review October 3, 2026 14:57
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M labels Oct 3, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 3, 2026, 11:02 AM ET / 15:02 UTC.

ClawSweeper review

What this changes

The branch forwards existing provider and QA credentials through release and scheduled checks to their consuming native test suites and extends the forwarding regression.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main lacks the native-suite credential forwarding, and the merged video-credential repair covers different consumers. No actionable introduced defect was found.

Priority: P2
Reviewed head: a49bd6b17932c6d2d3133b228ae0403069e4610d

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with meaningful forwarding coverage and no actionable correctness or security finding.
Proof confidence 🌊 off-meta tidepool Not applicable: Under the supplied MEMBER classification, the external-contributor proof gate does not apply. Reported execution of the production hydrator supports forwarding; workflow-expression checks are supplemental, and full native release qualification remains unclaimed. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Under the supplied MEMBER classification, the external-contributor proof gate does not apply. Reported execution of the production hydrator supports forwarding; workflow-expression checks are supplemental, and full native release qualification remains unclaimed. No stored-data contract changes.
Evidence reviewed 7 items Pinned introduction and merge result: Reviewed the merge-base-to-head delta. The verified test merge has the recorded base and exact PR head as its parents; its resulting changes remain confined to the six introduced paths.
Still needed on main and latest release: The inspected main hydrator lacks the added native credential keys, and v2026.9.8 also lacks them. This branch therefore supplies distinct remaining work.
Consumer and shard agreement: Mistral's live tests require ElevenLabs alongside Mistral credentials; the shard selector places them in L–N. Volcengine speech belongs to media-audio. The introduced environment expressions match those boundaries and restrict the other new credentials to A–K.
Findings None None.
Security None None.

How this fits together

Release validation and scheduled checks select native live-test suites through a reusable workflow. That workflow supplies credentials to the selected tests and collects qualification results.

flowchart TD
  A[Release checks] --> C[Reusable live workflow]
  B[Scheduled checks] --> C
  C --> D[Trusted ref admission]
  D --> E[Suite-specific credentials]
  E --> F[Native live tests]
  F --> G[Qualification results]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +105, Config +96, Other +18. Total +219 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 117 12 +105
Docs 0 0 0 0
Config 3 96 0 +96
Generated 0 0 0 0
Other 1 18 0 +18
Total 6 231 12 +219

Review metrics

Metric Value Why it matters
Optional credential interface 19 optional workflow secrets; 18 profile exports The Discord credential is deliberately confined to its native suite rather than written into the generic profile.

Technical review

Best possible solution:

Keep credential forwarding in the existing workflow owner, with optional inputs restricted to the suites that consume them.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: selected native consumers require credentials that current main does not forward. No runtime reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Yes. Extending the documented forwarding owner and testing actual hydration plus suite scopes is a focused repair that preserves existing opt-ins and defaults.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against c52cd7088806.

Labels

Label changes:

  • add P2: This is a bounded release-validation repair without an established urgent product regression.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Under the supplied MEMBER classification, the external-contributor proof gate does not apply. Reported execution of the production hydrator supports forwarding; workflow-expression checks are supplemental, and full native release qualification remains unclaimed. No stored-data contract changes.

Label justifications:

  • P2: This is a bounded release-validation repair without an established urgent product regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Under the supplied MEMBER classification, the external-contributor proof gate does not apply. Reported execution of the production hydrator supports forwarding; workflow-expression checks are supplemental, and full native release qualification remains unclaimed. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduction and merge result: Reviewed the merge-base-to-head delta. The verified test merge has the recorded base and exact PR head as its parents; its resulting changes remain confined to the six introduced paths. (a49bd6b17932)
  • Still needed on main and latest release: The inspected main hydrator lacks the added native credential keys, and v2026.9.8 also lacks them. This branch therefore supplies distinct remaining work. (scripts/ci-hydrate-live-auth.sh:68, c52cd7088806)
  • Consumer and shard agreement: Mistral's live tests require ElevenLabs alongside Mistral credentials; the shard selector places them in L–N. Volcengine speech belongs to media-audio. The introduced environment expressions match those boundaries and restrict the other new credentials to A–K. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:4446, a49bd6b17932)
  • Credential safeguards: The existing admission job rejects refs outside repository branch or release-tag history before dependent suites execute. Profile exports use shell escaping and mode 600. Discord remains excluded from profile hydration; its A–K consumer performs bot identity and gateway metadata reads. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:743, a49bd6b17932)
  • Focused regression and validation: The changed regression executes the actual shell hydrator with synthetic quoted values, evaluates workflow expressions across native rows, and checks Discord exclusion. The captured PR body reports 179 ms test time, 3.44 s wall time, workflow validation, and changed-file checks. These were not rerun during this read-only review; the separate ElevenLabs success does not qualify the revised workflow. (test/scripts/package-acceptance-workflow.test.ts:11238, a49bd6b17932)
  • Existing documented owner: The live-workflow documentation directs provider credential additions through the hydrator, reusable workflow, and scheduled/release callers, matching this repair's implementation boundary. No changed behavior depends on the Codex harness contract. Public docs: docs/help/testing/live-workflows.md. (docs/help/testing/live-workflows.md:65, a49bd6b17932)

Likely related people:

  • Peter Steinberger: Raw commit d0ce76b adds scripts/ci-hydrate-live-auth.sh:80 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d0ce76b7a308; files: scripts/ci-hydrate-live-auth.sh)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit f1b983f into main Oct 3, 2026
178 of 181 checks passed
@steipete
steipete deleted the codex/frv-native-live-credentials branch October 3, 2026 16:09
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
* ci: forward native live provider credentials

Carry existing provider and QA inputs through release and scheduled callers into their owning native live matrix rows. Keep the existing Discord smoke token out of generic profile hydration and preserve provider defaults and live coverage.

* ci: correct native speech credential scopes

Forward ElevenLabs to the Mistral live shard and move Seed Speech to media-audio. Derive expected credential scopes from actual consumer files and the canonical live shard selector.
RomneyDa added a commit that referenced this pull request Oct 7, 2026
* fix(ios): retry release setup-code across post-boot host stalls

Cold Simulator boot stalls the macOS runner (Gateway and harness both
show 5-60s event-loop gaps at near-zero CPU while RSS is paged out), so a
single 30s device.pair.setupCode call can time out before the socket even
reaches hello-ok. Retry transport timeouts on a fresh connection
(30s/60s/60s); setupCode is safe to reissue since an unused bootstrap
token expires. Record attempt count in proof evidence and diagnostics.

* test(state): drain agent database log queues before reading repair logs

Startup index repair logs from SQLite worker threads whose async file
transports the parent flushLogger cannot drain; close the agent databases
first so every repair record is on disk before asserting.

(cherry picked from commit 13d17b4, test hunk only)

* fix: OpenRouter release checks reject mandatory thinking models (#163417)

* fix(test): preserve OpenRouter live thinking capabilities

Carry mandatory-thinking maps and effort-selector metadata through live model selection and the generated Gateway config. This prevents OpenRouter MiniMax sweeps requested at off from inventing the unsupported minimal level.

Keep the existing clamp and exact max/Ultra guards. Move the selection owner into the adjacent live helper to shrink the oversized suite, and cover absent and empty effort selectors through config serialization.

Validation: both regressions failed with minimal before the repair; 35 focused cases pass afterward (26.64s wall). Selected changed guards, gateway-root test types, typed lint, dead-export checks, and independent review through P2 pass. Live Testbox proof did not start because its lease stayed queued; the unused lease was stopped.

* fix(test): use relative private SDK import in live helper

The extracted helper is classified as core by the SDK subpath guard, so its private llm facade import must stay relative. Resolve the same facade without changing runtime implementation or guard policy.

CI 36988570623 reproduced the violation on merge 582077b1cf82a4941f38de1576f77b88afa3c833. The exact guard fails before this correction and passes afterward. The 35 focused reasoning/config cases, gateway-root test types, typed lint, diff checks, and fresh independent review through P2 pass. Prior live Gateway proof at 5986302 remains valid for the unchanged runtime implementation.

(cherry picked from commit b2b095b)

* ci(release): pin reachable OpenCode/OpenRouter Docker live models

High-signal selection in the Docker OpenCode/OpenRouter lane picks
opencode-go/deepseek-v4-flash, a Global-region route the release workspace
rejects with HTTP 400 (FRV 37546666206 and 37557935725). Pin the refs the
native OpenCode Go and Docker lanes already proved reachable.

* test(opencode): fall back to a discovered free tool model

The pinned free Zen model was absent or lacked reasoning/tool metadata in
the release live run (FRV 37546666206 and 37557935725). Without an explicit
OPENCLAW_LIVE_OPENCODE_MODEL override, select another discovered free
reasoning/tool-capable model so free-catalog churn does not fail the
round-trip proof.

* fix(ci): enable Anthropic compaction in full live checks (#164092)

Full release A-K validation selects the server compaction probe but did not enable its dedicated live gate, leaving the file without passing evidence. Enable the existing bounded probe in the full-only row and verify its workflow command and profile. Plugin defaults, compaction limits, and report guards stay unchanged.

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 32bf9d4)

* fix(ci): native release suites miss required inputs (#164359)

* ci: forward native live provider credentials

Carry existing provider and QA inputs through release and scheduled callers into their owning native live matrix rows. Keep the existing Discord smoke token out of generic profile hydration and preserve provider defaults and live coverage.

* ci: correct native speech credential scopes

Forward ElevenLabs to the Mistral live shard and move Seed Speech to media-audio. Derive expected credential scopes from actual consumer files and the canonical live shard selector.

(cherry picked from commit f1b983f)

* fix(release): budget full package/update migrations Docker chunk

Full candidates run update-channel-switch plus four published-upgrade-survivor
baselines (2026.6.34, 8.35, 9.7, 9.8). All are weight-3 npm lanes and serialize
at npm limit 5, so the chunk exceeded its 60m job timeout in FRV run
37559852628 (job 112596297171: four lanes passed in 48m, the 9.8 survivor was
cut off at 609s) and in 2 of the 5 earlier full candidates. Budget 150m from
measured hosted lane times.

* test(opencode): keep fallback live model typed as openai-completions

* test(opencode): drop redundant boolean conversion

---------

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant