Skip to content

fix(ci): run Android tests for shared Talk config changes - #135276

Merged
IWhatsskill merged 3 commits into
openclaw:mainfrom
qingminglong:codex/fix-ci-android-talk-scope-20260901
Sep 16, 2026
Merged

IWhatsskill merged 3 commits into
openclaw:mainfrom
qingminglong:codex/fix-ci-android-talk-scope-20260901

Conversation

@qingminglong

@qingminglong qingminglong commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor
Additional instructions

MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.

What Problem This Solves

Changing the shared Talk configuration contract fixture did not run Android CI, even though Android's TalkModeConfigParsingTest reads that fixture directly. Such changes could therefore update the cross-platform contract without exercising Android parsing.

Why This Change Was Made

The CI changed-scope owner now routes test/fixtures/talk-config-contract.json to the Android lane while preserving its existing macOS and Node coverage. The regression coverage distinguishes this shared Talk fixture from the device-identity fixture, which remains macOS-owned.

User Impact

Future changes to the shared Talk configuration contract will run the Android unit-test lane, preventing Android parser drift from being hidden by scope selection.

Evidence

  • Before the fix, a synthetic diff containing only test/fixtures/talk-config-contract.json produced run_android=false.

  • On the exact current head 03cf20a87e821f1388d302862e2499e13c188da3, the real zero-install CLI test created a fixture-only Git diff, invoked scripts/ci-changed-scope.mjs with GITHUB_OUTPUT, and captured:

    REAL_CI_CHANGED_SCOPE_OUTPUT run_android=true run_macos=true run_node=true
    

    This output is from the successful checks-fast-ci-routing job.

  • The same current-head job passed 1,323 tests across 12 test files, including the fixture-specific routing assertions.

  • All required checks for this head passed, including openclaw/ci-gate, checks-fast-ci-routing, and PR context and evidence.

  • Rebased onto current main; the existing Mermaid asset Android routing remains intact alongside the Talk fixture route.

Proof boundary: the final proof exercises the repository's real changed-scope CLI boundary and the GITHUB_OUTPUT file consumed by GitHub Actions for a fixture-only diff. It proves that the selector emits Android, macOS, and Node lane decisions. The Android Gradle test itself is owned by the Android CI lane and is not executed by this selector test.

Worked on by: @IWhatsskill

AI-assisted: yes.

@clawsweeper

clawsweeper Bot commented Sep 1, 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.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Sep 1, 2026
@qingminglong
qingminglong marked this pull request as ready for review September 1, 2026 14:47
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 5:22 PM ET / 21:22 UTC (Revision 8).

ClawSweeper review

What this changes

The PR makes changes to the shared Talk configuration fixture select Android CI alongside existing macOS and Node checks.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused repair: current main and v2026.9.4 still omit Android coverage for fixture-only changes. No blocking correctness findings; the recorded CLI proof covers the changed behavior.

Priority: P2
Reviewed head: 03cf20a87e821f1388d302862e2499e13c188da3

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-level repair with relevant real CLI evidence and no blocking findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The supplied exact-head transcript exercises the production changed-scope CLI against a real fixture-only Git diff and observes Android, macOS, and Node outputs enabled. Inspected source confirms the output boundary; GitHub confirms the cited job succeeded. Android Gradle execution is outside this selector repair’s proof claim.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The supplied exact-head transcript exercises the production changed-scope CLI against a real fixture-only Git diff and observes Android, macOS, and Node outputs enabled. Inspected source confirms the output boundary; GitHub confirms the cited job succeeded. Android Gradle execution is outside this selector repair’s proof claim.
Evidence reviewed 10 items Introduced repair and regression coverage: The pinned introduced delta adds the exact Talk fixture to the existing Android selector. Tests preserve macOS and Node selection and keep the device-identity fixture outside Android. Diff whitespace validation passed.
Current main still needs the repair: The Android decision still matches native paths and Mermaid inputs only; the Talk fixture matches neither. Current Android tests continue reading the shared fixture.
Latest release has the same selection gap: The v2026.9.4 selector also excludes the Talk fixture from Android. Local release-blob retrieval failed; the GitHub contents API supplied the tagged source successfully.
Findings None None.
Security None None.

How this fits together

OpenClaw’s CI selector converts changed repository paths into platform job decisions. The shared Talk fixture feeds Android and Apple parser tests, so its changes must select both consumers’ test lanes.

flowchart TD
 A[Changed repository paths] --> B[CI scope selector]
 B --> C[GitHub Actions outputs]
 C --> D[Android parser tests]
 C --> E[macOS and Node checks]
 F[Shared Talk fixture] --> D
 F --> E
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +25, Other +3. Total +28 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 31 6 +25
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 4 1 +3
Total 3 35 7 +28

Review metrics

Metric Value Why it matters
Production versus regression coverage CI tooling net +3 lines; tests net +25 lines The small tooling increase adds the missing fixture dependency at its existing owner; test growth covers routing and the real CLI output boundary.

Technical review

Best possible solution:

Keep fixture ownership in the existing CI selector; the three added tooling lines encode a real Android test dependency without introducing another routing mechanism.

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

Yes: a diff containing only the shared Talk fixture misses every Android selector condition on current main despite the Android test consuming that file. No target code was executed during this read-only review.

Is this the best way to solve the issue?

Yes: repairing the existing path selector addresses the owning boundary. Selecting Android for every test fixture would be unnecessarily broad, while changing workflow conditions would duplicate routing policy.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs a bounded CI coverage gap that can otherwise hide Android parser drift.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The supplied exact-head transcript exercises the production changed-scope CLI against a real fixture-only Git diff and observes Android, macOS, and Node outputs enabled. Inspected source confirms the output boundary; GitHub confirms the cited job succeeded. Android Gradle execution is outside this selector repair’s proof claim.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied exact-head transcript exercises the production changed-scope CLI against a real fixture-only Git diff and observes Android, macOS, and Node outputs enabled. Inspected source confirms the output boundary; GitHub confirms the cited job succeeded. Android Gradle execution is outside this selector repair’s proof claim.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: 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.

History

Review history (7 earlier review cycles)
  • reviewed 2026-09-01T15:19:39.380Z sha 1b3da514279b3a6d160ad78344329200e63198f7 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-02T04:59:16.476Z sha aa916af :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-02T05:08:56.027Z sha 03cf20a :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-02T05:28:20.095Z sha 03cf20a :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T05:35:10.865Z sha 03cf20a :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T18:16:12.514Z sha 03cf20a :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T20:13:15.263Z sha 03cf20a :: needs maintainer review before merge. :: none

@qingminglong
qingminglong force-pushed the codex/fix-ci-android-talk-scope-20260901 branch from 1b3da51 to e45efd1 Compare September 2, 2026 04:50
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 2, 2026
@qingminglong

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review — current head: 03cf20a. PR body now contains current-head Evidence and the successful real CLI GITHUB_OUTPUT transcript.

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 2, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Sep 16, 2026
@IWhatsskill IWhatsskill self-assigned this Sep 16, 2026
@IWhatsskill
IWhatsskill marked this pull request as draft September 16, 2026 20:05
@IWhatsskill
IWhatsskill marked this pull request as ready for review September 16, 2026 20:06
@IWhatsskill

IWhatsskill commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Final maintainer verification for 03cf20a87e821f1388d302862e2499e13c188da3:

  • Reviewed the fixture-specific Android CI routing repair and sibling coverage; no blocking code findings or unresolved review threads.
  • Independent autoreview of this unchanged head found no P0–P2 findings.
  • ClawSweeper revision 7 reports no findings and no before-merge items:
    fix(ci): run Android tests for shared Talk config changes #135276 (comment)
  • git diff --check and review-artifact validation passed. Fresh CI routing proof passed 2,485 tests across 13 files and confirmed run_android=true, run_macos=true, and run_node=true for a fixture-only diff:
    https://github.com/openclaw/openclaw/actions/runs/35144505693/job/104957355053
  • GitHub's required openclaw/ci-gate is successful, and GitHub currently reports MERGEABLE/CLEAN. This proof covers CI selection, not Android Gradle execution.
  • Separately, the repository's native prepare process has not passed its additional 24-hour Workflow Sanity freshness check: run 33593031805 remains queued. This is not a failing test in the new CI run, but it remains an outstanding native preparation requirement. No merge has been performed.
    Thanks @qingminglong for the changes.

@IWhatsskill
IWhatsskill merged commit 33e8e3c into openclaw:main Sep 16, 2026
216 checks passed
@IWhatsskill

Copy link
Copy Markdown
Contributor

Merged via squash.

Prepared head: 03cf20a87e821f1388d302862e2499e13c188da3
Landed commit: 33e8e3c30f49f5490b938b12f65f5d304572c399

Verified that the landed commit is on main

steipete added a commit that referenced this pull request Sep 16, 2026
Apply the repository formatter to the two test conditions left unformatted by #135276 (33e8e3c), which broke check-docs formatting checks on unrelated PRs #150306 and #150312. This changes line wrapping only.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
…35276)

Select Android CI when test/fixtures/talk-config-contract.json changes, matching the Android parser test's dependency on that fixture.

Preserve existing Node/macOS coverage and unrelated fixture routing, and add fixture-specific selector and real CLI regression coverage.

Co-authored-by: IWhatsskill <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
Apply the repository formatter to the two test conditions left unformatted by openclaw#135276 (18dcf28), which broke check-docs formatting checks on unrelated PRs openclaw#150306 and openclaw#150312. This changes line wrapping only.
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. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts 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.

3 participants