Skip to content

fix(ci): budget combined Play tests and lint - #148124

Merged
vincentkoc merged 2 commits into
mainfrom
fix/ci-android-play-lint-budget-20260914
Sep 15, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/ci-android-play-lint-budget-20260914

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Related: #148004

What Problem This Solves

Combined Play unit tests and lint can hit the 20-minute job limit after tests pass, leaving required lint unfinished. This blocks validation of the related CPU diagnostics change.

User Impact

No application behavior changes. Combined Play tests and lint receive a 35-minute budget; Play tests without lint retain 20 minutes.

Why This Change Was Made

Use the existing combined third-party test/lint budget for the equivalent Play row, with matching policy-guard expectations and documentation. Commands, coverage, runner routing, caching, and other task budgets remain unchanged.

Evidence

  • Original CI failure: Play and Wear-shared unit tests passed in 13m52s; the following lint invocation was canceled at the 20-minute job limit.
  • Exact-head behavioral proof, attempt 1 at 47cc409e0ef5ca578d9cb3d1017d8de9f53422bf: Play and Wear-shared unit tests passed in 13m21s, then Play and Wear-shared lint passed in 4m30s. The test step took 17m53s; the complete hosted Ubuntu job took 20m44s, exceeding the old limit.
  • Test reports uploaded successfully; all applicable post-job steps and job completion passed. Hosted execution skips the Blacksmith sticky-disk steps, so this does not qualify that cleanup path.
  • Native review found no actionable P0/P1 defects. Targeted oxfmt 0.66.0 validation and git diff --check passed. Three files, +4/-4; no application production changes.
  • The initial required PR CI attempt failed an inherited Docker-helper fixture expectation; its remaining queued jobs were canceled after all active work ended. The prerequisite has now landed in fix(ci): restore the ClawHub plugin sweep check #148129 and is included through a signed, ancestry-preserving main integration.
  • Refreshed head 5a70a84d02dd30b2d9c9c7a2206f05290fb727b7 retains the identical three-file policy delta. Fresh native review is scoped-clean at P0/P1, and targeted formatting passed. Required CI attempt 1 failed the profile auth-overlap and momentum-prepend UI jobs. Native failed-jobs attempt 2 passed both jobs and the required CI gate on standard Ubuntu without test or runtime edits. This qualifies the exact head; it does not establish the causes of the earlier failures.
  • After the Play proof completed, the remaining broad jobs in that additional workflow were intentionally canceled. That workflow is not full green validation; its completed Play and report receipts remain available.
  • Exact-head ClawSweeper review has no actionable finding or remaining rank-up move.
  • No performance improvement is claimed.

Follow-ups

The original profile auth-overlap failure remains unattributed. Momentum-prepend visibility remains covered by the existing anchor investigation; the successful retry is not a runtime fix.

@vincentkoc vincentkoc self-assigned this Sep 14, 2026
@clawsweeper

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

@vincentkoc
vincentkoc marked this pull request as ready for review September 14, 2026 09:12
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Sep 14, 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 Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 11:05 PM ET / September 15, 2026, 03:05 UTC (Revision 4).

ClawSweeper review

What this changes

The PR gives combined Android Play tests and lint 35 minutes instead of 20, with matching documentation and workflow-guard expectations.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main and the latest release retain the inadequate Play job budget, and the recorded hosted run demonstrates successful completion beyond that limit. No actionable introduced defect was found.

Priority: P2
Reviewed head: 5a70a84d02dd30b2d9c9c7a2206f05290fb727b7

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with convincing real workflow evidence and no actionable correctness finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The real hosted Android job exercised the preserved Play test-and-lint path and completed successfully in 20m44s with report upload and applicable cleanup; this proves the changed timeout behavior, while Blacksmith sticky-disk cleanup remains outside that receipt.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The real hosted Android job exercised the preserved Play test-and-lint path and completed successfully in 20m44s with report upload and applicable cleanup; this proves the changed timeout behavior, while Blacksmith sticky-disk cleanup remains outside that receipt.
Evidence reviewed 8 items Verified introduced change: The pinned base-to-head diff changes only the combined Play timeout condition, its documentation, and the existing guard expectation; commands, permissions, action pins, runner routing, and concurrency remain unchanged.
Current-main necessity: Current main extends the budget for combined third-party tests and lint, but still gives combined Play tests and lint 20 minutes.
Latest-release comparison: The workflow at v2026.9.4 also leaves combined Play validation at 20 minutes; this repair is not present in that release.
Findings None None.
Security None None.

How this fits together

Android CI selects test and lint work from a generated task matrix. The workflow controls how long those jobs can run before reporting validation results and uploading test reports.

flowchart TD
  A[Selected Android task] --> B{Play tests with lint?}
  B -->|Yes| C[35-minute job budget]
  B -->|No| D[Existing task budget]
  C --> E[Run tests and lint]
  D --> E
  E --> F[Results and test reports]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests 0, Docs 0, Config 0. Total 0 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 1 0
Docs 1 1 1 0
Config 1 2 2 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 4 4 0

Review metrics

Metric Value Why it matters
Combined Play job budget 20 → 35 minutes; observed successful job 20m44s Measured completion exceeds the old ceiling while the patch preserves the existing job count and concurrency.

Technical review

Best possible solution:

Keep one workflow-owned budget policy that gives combined phone validation enough time for tests, lint, setup, and cleanup.

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

Yes: current main still applies a 20-minute ceiling to combined Play validation, and GitHub records an actual timeout at that ceiling; no new current-main run was executed.

Is this the best way to solve the issue?

Yes: extending the existing combined-job policy is a narrow repair supported by a successful run exceeding 20 minutes, without weakening test assertions or removing coverage.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded CI reliability repair supported by observed Android validation timeouts.
  • 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 (linked_artifact): The real hosted Android job exercised the preserved Play test-and-lint path and completed successfully in 20m44s with report upload and applicable cleanup; this proves the changed timeout behavior, while Blacksmith sticky-disk cleanup remains outside that receipt.
  • proof: sufficient: Contributor real behavior proof is sufficient. The real hosted Android job exercised the preserved Play test-and-lint path and completed successfully in 20m44s with report upload and applicable cleanup; this proves the changed timeout behavior, while Blacksmith sticky-disk cleanup remains outside that receipt.

Evidence

What I checked:

Likely related people:

  • DonnieFi: 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 (3 earlier review cycles)
  • reviewed 2026-09-14T09:31:51.420Z sha 47cc409 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T10:53:37.599Z sha 47cc409 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T11:51:46.467Z sha 5a70a84 :: needs maintainer review before merge. :: none

@vincentkoc

Copy link
Copy Markdown
Member Author

This also blocks #148104.

In https://github.com/openclaw/openclaw/actions/runs/34824316531/job/103948881186, the Play and WearShared unit-test command completed successfully in 14m1s. The following lint invocation was cancelled at the 20-minute job ceiling, as confirmed by GitHub's annotation; the required aggregate then failed.

The fixture cleanup remains on hold pending this budget repair. Its original test failure, cancelled retry and missing retry JUnit remain recorded limitations.

@vincentkoc
vincentkoc merged commit c77dcdf into main Sep 15, 2026
257 of 261 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-android-play-lint-budget-20260914 branch September 15, 2026 03:09
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR 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. 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