Skip to content

fix(ci): keep LTS Telegram QA model compatible - #105348

Merged
steipete merged 5 commits into
mainfrom
codex/lts-telegram-qa-model-compat
Jul 12, 2026
Merged

steipete merged 5 commits into
mainfrom
codex/lts-telegram-qa-model-compat

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Frozen extended-stable candidates stopped replying in the trusted Telegram release canary after the main QA harness migrated its mock model from GPT-5.5 to GPT-5.6. The exact LTS candidate timed out twice in two independent hosted runs while beta passed with the same harness.

Why This Change Was Made

Keep current candidates on the GPT-5.6 mock model, but select the GPT-5.5 mock model for extended-stable/* targets that predate the migration. This fixes the trusted harness boundary without backporting unrelated GPT-5.6 product support into LTS.

User Impact

No runtime product behavior changes. Extended-stable release validation can exercise Telegram with the mock model contract supported by the frozen candidate.

Evidence

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 12, 2026
@clawsweeper

clawsweeper Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(ci): keep LTS Telegram QA model compatible This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete force-pushed the codex/lts-telegram-qa-model-compat branch from 0bd7f5e to 1c220f6 Compare July 12, 2026 11:50
@openclaw-barnacle openclaw-barnacle Bot added size: XS and removed app: web-ui App: web-ui size: S labels Jul 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0bd7f5e506

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -2054,6 +2044,12 @@ jobs:
trap terminate_sut_uid_on_exit EXIT
trap 'exit 130' INT
trap 'exit 143' TERM
qa_model="mock-openai/gpt-5.6-luna"
qa_alt_model="mock-openai/gpt-5.6-luna-alt"
if [[ "$TARGET_REF" == extended-stable/* ]]; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use resolved branch context for LTS model selection

In the documented SHA-pinned release flow, scripts/full-release-validation-at-sha.mjs dispatches Full Release Validation with ref: targetSha while carrying the canonical extended-stable/... branch only in target_context_ref; full-release-validation.yml then passes that SHA as the Release Checks ref, and openclaw-release-checks.yml forwards it here as target_ref. For those extended-stable candidates, $TARGET_REF is therefore a 40-character SHA, so this branch never selects the GPT-5.5 mock model and the Telegram canary still runs against mock-openai/gpt-5.6-luna, recreating the LTS timeout this commit is meant to fix. Please base this decision on the normalized/provenance-derived release branch context, not only the raw target_ref input.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9087fee4f9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -72,7 +72,6 @@ jobs:
CALLER_WORKFLOW_SHA: ${{ github.workflow_sha }}
EXPECTED_TRUSTED_WORKFLOW_SHA: ${{ inputs.expected_trusted_workflow_sha }}
JOB_CONTEXT: ${{ toJSON(job) }}
TARGET_REF: ${{ inputs.target_ref }}
TARGET_SHA: ${{ inputs.target_sha }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore TARGET_REF for identity validation

In any workflow_dispatch/workflow_call run of this workflow, the identity script still evaluates ${TARGET_REF// } under set -u, but this env block no longer passes inputs.target_ref to the step. That makes the trusted_identity job abort with TARGET_REF: unbound variable before OIDC verification or candidate build, so the release Telegram QA lane cannot run; the test helper masks this because it injects TARGET_REF manually into the spawned bash environment.

Useful? React with 👍 / 👎.

@clawsweeper

clawsweeper Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 12, 2026, 8:15 AM ET / 12:15 UTC.

Summary
The PR inspects the checked-out candidate’s Telegram QA model map to select GPT-5.5 or GPT-5.6 mock models, adds workflow contract assertions, and adds two root agent-policy notes.

PR surface: Tests +5, Docs +2, Config +9. Total +16 across 3 files.

Reproducibility: yes. Two independent hosted runs reproduce the original frozen-candidate timeout, and source inspection provides a deterministic reproduction of the new identity-gate failure introduced by this head.

Review metrics: 1 noteworthy metric.

  • Required workflow bindings: 1 removed. The removed environment binding remains consumed under Bash nounset and prevents the workflow from reaching QA.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🌊 off-meta tidepool
Patch quality: 🦪 silver shellfish
Result: blocked by patch quality or review findings.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Restore the required identity-step environment binding and add a focused contract assertion.
  • Run trusted Telegram release QA against the affected extended-stable candidate and a current candidate.

Risk before merge

  • [P1] Merging this head would make both dispatched and reusable trusted Telegram release-QA invocations fail during identity validation, before candidate setup or the new compatibility probe executes.

Maintainer options:

  1. Repair the identity environment (recommended)
    Restore TARGET_REF: ${{ inputs.target_ref }} to the trusted identity step, assert the binding in the workflow test, and rerun the frozen-candidate release path.

Next step before merge

  • [P1] The existing PR has a protected maintainer label and a clearly identified branch-local blocker, so it should be repaired and reviewed on its current branch rather than dispatched to a separate automated work lane.

Security
Cleared: The diff adds no third-party actions, permission expansion, dependency changes, secret exposure, or new downloaded-code execution; the blocking concern is workflow correctness.

Review findings

  • [P1] Restore TARGET_REF for identity validation — .github/workflows/openclaw-release-telegram-qa.yml:72
Review details

Best possible solution:

Restore the identity step’s TARGET_REF binding, retain candidate-source contract detection for model selection, add a focused identity-environment assertion, and verify the affected frozen candidate plus a current candidate in hosted release QA.

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

Yes. Two independent hosted runs reproduce the original frozen-candidate timeout, and source inspection provides a deterministic reproduction of the new identity-gate failure introduced by this head.

Is this the best way to solve the issue?

No, not in its current form. Candidate-source probing is the narrowest maintainable compatibility mechanism, but the complete fix must preserve the trusted identity step’s existing input contract.

Full review comments:

  • [P1] Restore TARGET_REF for identity validation — .github/workflows/openclaw-release-telegram-qa.yml:72
    This step still evaluates ${TARGET_REF// } under set -u, but the patch removes TARGET_REF from its environment. Every dispatch and reusable invocation therefore exits before OIDC verification or the new candidate model probe. Restore the input binding here and add a focused workflow-test assertion that the identity step receives it.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5a5a28a348c7.

Label changes

Label changes:

  • add P2: This is a bounded but merge-blocking release-validation automation defect with no runtime product behavior change.
  • add merge-risk: 🚨 automation: The workflow diff removes an environment input still required by the trusted identity gate, causing release QA to abort after merge.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Repository policy identifies steipete as a maintainer and the PR carries the protected maintainer label, so the external-contributor proof gate does not apply; the linked hosted runs still provide useful pre-fix reproduction evidence.

Label justifications:

  • P2: This is a bounded but merge-blocking release-validation automation defect with no runtime product behavior change.
  • merge-risk: 🚨 automation: The workflow diff removes an environment input still required by the trusted identity gate, causing release QA to abort after merge.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Repository policy identifies steipete as a maintainer and the PR carries the protected maintainer label, so the external-contributor proof gate does not apply; the linked hosted runs still provide useful pre-fix reproduction evidence.
Evidence reviewed

PR surface:

Tests +5, Docs +2, Config +9. Total +16 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 5 0 +5
Docs 1 2 0 +2
Config 1 12 3 +9
Generated 0 0 0 0
Other 0 0 0 0
Total 3 19 3 +16

What I checked:

Likely related people:

  • steipete: Authored most recent trusted Telegram release-QA hardening changes and the GPT-5.5-to-GPT-5.6 migration affecting this contract. (role: recent workflow and model-migration contributor; confidence: high; commits: 4efe056d3215, dbdc61e89723, fa77fe10d526; files: .github/workflows/openclaw-release-telegram-qa.yml, test/scripts/openclaw-release-telegram-qa-workflow.test.ts)
  • vincentkoc: Introduced the trusted harness and contributed several frozen-candidate and process-isolation fixes in the same release workflow. (role: trusted Telegram QA workflow introducer and recent contributor; confidence: high; commits: 2a1d6e49d5bd, 31484524a596, b0258a5d8b3a; files: .github/workflows/openclaw-release-telegram-qa.yml, test/scripts/openclaw-release-telegram-qa-workflow.test.ts, extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.

@clawsweeper

clawsweeper Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(ci): keep LTS Telegram QA model compatible This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete force-pushed the codex/lts-telegram-qa-model-compat branch from 64ea305 to 3ee9053 Compare July 12, 2026 12:08
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 12, 2026
@steipete
steipete merged commit b1fcd7c into main Jul 12, 2026
121 of 125 checks passed
@steipete
steipete deleted the codex/lts-telegram-qa-model-compat branch July 12, 2026 12:18
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 13, 2026
* fix(ci): keep LTS Telegram QA model compatible

* fix(ci): probe Telegram QA model contract

* style(ci): format Telegram QA contract test

* docs(agents): note review checkout order

* docs(agents): clarify rg option order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant