Skip to content

fix(ci): let trusted Telegram QA stage runtime - #116252

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-telegram-qa-runner-staging
Jul 30, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-telegram-qa-runner-staging

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves the frozen-candidate Telegram release lane failure where trusted QA staging receives EACCES before scenarios begin.

Why This Change Was Made

The trusted runner creates the QA runtime staging tree; the isolated SUT only needs read and traversal access to execute it. The workflow now expresses those separate permissions.

User Impact

Release validation can run the Telegram QA lane without granting the isolated process write access to the frozen candidate tree.

Evidence

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Jul 30, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 1:31 AM ET / 05:31 UTC.

ClawSweeper review

What this changes

The PR makes the trusted release runner own the Telegram QA runtime staging directory and changes the isolated SUT check from writable access to read-and-traverse-only access.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep this PR open for maintainer review and completion of the hosted Telegram QA path. The permission split is directionally sound: the trusted runner stages the runtime while the isolated SUT is asserted to have only read and traversal access, and no concrete patch defect is established from the submitted change.

Priority: P2
Reviewed head: 10b8276f378194abe373344b74b46a112a5db607
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The permission model is coherent and focused, but confidence depends on the still-pending hosted release-lane execution rather than syntax-only evidence.
Proof confidence 🌊 off-meta tidepool Not applicable: This repository-member CI workflow repair is not subject to the external-contributor proof gate; the relevant merge evidence is a completed hosted Telegram QA release-lane run.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This repository-member CI workflow repair is not subject to the external-contributor proof gate; the relevant merge evidence is a completed hosted Telegram QA release-lane run.
Evidence reviewed 3 items Permission-boundary change: The proposed workflow makes .artifacts and qa-runtime runner-owned with mode 0755 after freezing the candidate tree, then asserts that the isolated SUT can read and traverse but cannot write the artifacts directory.
SUT invariant: The changed assertion removes the prior requirement that the isolated SUT write the candidate artifacts directory and instead requires directory existence, read access, traversal access, and no write access.
CI and security signals: The provided PR context reports successful actionlint, workflow/build checks, and security boundary checks; the remaining compact-node checks were still running at review time, so the end-to-end Telegram release-lane result is not yet established.
Findings None None.
Security None None.

How this fits together

The release Telegram QA workflow prepares a frozen candidate tree, stages a QA runtime inside it, and then launches an isolated system-under-test process against that staged runtime. The changed permission boundary controls which process can write the staged files before Telegram scenarios consume them.

flowchart LR
  A[Release candidate tree] --> B[Trusted runner prepares permissions]
  B --> C[Runner-owned QA runtime staging]
  C --> D[Isolated SUT reads and traverses runtime]
  D --> E[Telegram QA scenarios]
  E --> F[Release validation evidence]
Loading

Decision needed

Question Recommendation
Should the release workflow permanently adopt runner-owned 0755 QA-runtime staging with the isolated SUT restricted to read and traversal access? Accept runner-owned staging: Keep this model after the hosted Telegram QA lane proves the runner completes all writes and the SUT completes scenario execution without write access.

Why: This is an intentional trusted-runner versus isolated-SUT filesystem boundary, so the correct long-term ownership and exposure model requires maintainer approval beyond syntax and static checks.

Before merge

  • Resolve merge risk (P1) - The hosted Telegram QA release lane still needs to demonstrate that every staging write happens as the trusted runner and that the isolated SUT can execute the staged runtime with only read and traversal access.
  • Resolve merge risk (P1) - This changes an isolation boundary in release automation; a missed write path could fail the release lane at runtime rather than during YAML parsing.
  • Complete next step (P2) - The remaining action is maintainer confirmation of the isolation boundary plus hosted release-lane validation, not a defined mechanical repair.
Agent review details

Security

None.

PR surface

Config -1. Total -1 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 1 5 6 -1
Generated 0 0 0 0
Other 0 0 0 0
Total 1 5 6 -1

Review metrics

Metric Value Why it matters
Staging permission boundary 1 ownership transition and 1 SUT access assertion changed The PR moves writes from the isolated process to the trusted runner and makes non-writability an explicit runtime invariant.

Merge-risk options

Maintainer options:

  1. Verify the trusted-to-isolated handoff before merge (recommended)
    Run the actual hosted Telegram QA release scenario and retain its redacted output showing runner staging succeeds while the SUT remains non-writable.
  2. Pause for a narrower permission model
    Do not merge if the completed lane reveals runtime writes by the isolated SUT or an unintended readable artifact exposure.

Technical review

Best possible solution:

Keep the runner-owned, read-only-for-SUT staging model if the hosted Telegram QA lane confirms it can stage and execute the runtime end to end without widening SUT write access.

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

Unclear: the provided failed hosted run identifies the EACCES stage, and the permission change maps directly to that boundary, but a completed after-fix Telegram QA run was not available in the supplied evidence.

Is this the best way to solve the issue?

Yes, conditionally: separating trusted-runner writes from isolated-SUT reads is the narrowest maintainable fix if the hosted lane confirms no SUT-owned write path remains.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 353c05d54745.

Labels

Label changes:

  • add P2: This repairs a bounded release-validation workflow failure without evidence of a current end-user runtime outage.
  • add merge-risk: 🚨 security-boundary: The diff changes ownership and mode bits at the trusted-runner/isolated-SUT filesystem boundary.
  • add merge-risk: 🚨 automation: A missed runtime write requirement would cause the Telegram release QA automation to fail during its staged execution path.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This repository-member CI workflow repair is not subject to the external-contributor proof gate; the relevant merge evidence is a completed hosted Telegram QA release-lane run.

Label justifications:

  • P2: This repairs a bounded release-validation workflow failure without evidence of a current end-user runtime outage.
  • merge-risk: 🚨 security-boundary: The diff changes ownership and mode bits at the trusted-runner/isolated-SUT filesystem boundary.
  • merge-risk: 🚨 automation: A missed runtime write requirement would cause the Telegram release QA automation to fail during its staged execution path.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This repository-member CI workflow repair is not subject to the external-contributor proof gate; the relevant merge evidence is a completed hosted Telegram QA release-lane run.

Evidence

What I checked:

Likely related people:

  • RomneyDa: Associated as a repository member and authored the focused release Telegram QA staging repair; no broader workflow-history attribution was available in the supplied review evidence. (role: current workflow contributor; confidence: low; commits: 10b8276f3781; files: .github/workflows/openclaw-release-telegram-qa.yml)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete the hosted Telegram QA release scenario and retain redacted output showing staging and isolated execution both succeed.

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.

@RomneyDa
RomneyDa merged commit 47a2119 into main Jul 30, 2026
180 of 190 checks passed
@RomneyDa
RomneyDa deleted the fix/release-telegram-qa-runner-staging branch July 30, 2026 05:45
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
vincentkoc added a commit to Hackerismydream/openclaw that referenced this pull request Jul 30, 2026
* origin/main: (24 commits)
  fix(e2e): apply default service identity per flow (openclaw#116265)
  chore(android): record 2026.7.4 Play metadata
  fix(ci): accept one verified Telegram SUT launch (openclaw#116267)
  chore(android): prepare 2026.7.4 Play release
  fix(e2e): align service account state (openclaw#116254)
  refactor(qa): remove live-channel scenario registries and wrappers (openclaw#115752)
  fix(ci): let trusted Telegram QA stage runtime (openclaw#116252)
  fix(plugins): plugin install survives pnpm-only overrides (openclaw#116245)
  test(qa): recognize internal image completions (openclaw#116234)
  fix(test): review Codex runtime scan chunks (openclaw#116212)
  fix(systemd): clear start-limit latch before gateway start (openclaw#116178)
  fix(security): expose every executable call in plugin scans (openclaw#116222)
  chore(sdk): repin the API baseline after the resolver signature change
  test(e2e): delay the draft-proof final answer past the start gate
  fix(channels): resolve tool progress against the caller's stream mode
  fix(ci): satisfy docs formatting, lint, and the SDK API baseline
  test(e2e): add a progress-draft scenario to the mock provider
  docs(telegram): call out the changed default preview on upgrade
  refactor(channels): render the progress label as a block, not a line
  fix(channels): show tool lines under the progress status headline
  ...
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. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS 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