Skip to content

fix(ci): repack bounded serial rows within existing limits - #160255

Closed
steipete wants to merge 1 commit into
mainfrom
deslop/l103-ci-row-packing
Closed

steipete wants to merge 1 commit into
mainfrom
deslop/l103-ci-row-packing

Conversation

@steipete

@steipete steipete commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Superseded by the landed matrix-cap repair

Closing under the campaign's duplicate-fix rule: main commit a08479ace1d4773ca93c7b6d89d7f8eb0edfddf3 already fixes changed-owner matrix overflow by passing the existing workflow budget into the planner and retaining the selected compact owner rows when finer splitting exceeds it. Its actual manifest proof preserves complete ownership and coverage. No cap increase or dropped test is needed.

This alternative serial-packing patch will not land. On Linux Testbox it reduced the captured 154-row plan to 124 while preserving all child descriptors and multiplicities; the current manifest passed at 123 rows. Check-changed passed in 421s and independent review found no actionable issue. The aggregate proof was not green: the new producer fixture counted an independent boundary row, older planner fixtures hit inherited failures now repaired on main or owned by #160187, and build hit main's duplicated UI export now fixed by bb05e779e2a.

Both owned diagnostic/proof Testboxes (tbx_01m3kbdmkr0a4azmky322dga8z, tbx_01m3kek3vq624ekm97sszj60gq) are stopped after their commands/downloads joined. The package refactor remains separate in #159279.

@clawsweeper

clawsweeper Bot commented Sep 28, 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 docs Improvements or additions to documentation scripts Repository scripts size: M labels Sep 28, 2026
@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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 28, 2026, 3:35 AM ET / 07:35 UTC.

ClawSweeper review

What this changes

The branch repacks compatible serial Node test rows across their original CI jobs, adds planner regression tests, and documents the existing capacity limits.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep this PR open. Current main has a cap fallback, but the branch offers a distinct way to keep test rows bounded. Its conflict with that fallback and the pending after-fix manifest replay prevent a merge verdict.

Priority: P2
Reviewed head: 4bdc99902d3887abd654e5ad504625f5b3a80965

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The packing change is focused and has useful constraint tests, but its exact workload proof and current-main integration are unfinished.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: The supplied repository state identifies the author as MEMBER, so the external-contributor proof gate does not apply. The changed production planner still lacks an observed after-fix replay of the captured manifest; synthetic tests are supplemental. 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: The supplied repository state identifies the author as MEMBER, so the external-contributor proof gate does not apply. The changed production planner still lacks an observed after-fix replay of the captured manifest; synthetic tests are supplemental. No stored-data contract changes.
Evidence reviewed 8 items Introduced planner change: The PR calls the new packer after bounding changed-owner rows and admits only finite, bounded, serial grouped jobs with matching execution policy.
Current-main fallback: Current main returns the earlier compact owner rows when bounding would exceed the supplied matrix cap. It does not contain the PR's cross-parent repacking step.
Workflow admission limit: The workflow still rejects a canonical Node matrix that exceeds its final job limit.
Findings None None.
Security None None.

How this fits together

OpenClaw CI selects tests from changed pull request files and turns them into a bounded Node job matrix. The planner supplies each job's test scope and execution policy to the workflow that runs it.

flowchart LR
A[Changed PR files] --> B[Selected tests]
B --> C[Parent test rows]
C --> D[Bounded rows]
D --> E[Pack compatible serial rows]
E --> F{Matrix cap}
F --> G[Node CI jobs]
Loading

Before merge

  • Resolve merge risk (P1) - The draft conflicts with current main at the changed-plan return site; the final resolution must retain a cap-safe outcome for inputs that cannot be repacked enough.
  • Resolve merge risk (P1) - The captured 4,841-file manifest has not been replayed on this head, so complete test selection and a bounded matrix of at most 130 jobs remain unverified.
  • Resolve merge risk (P1) - The new test file's measured cost has not yet been recorded in the PR body.
  • Complete next step (P2) - Resolve the conflict with current main, publish an after-fix replay of the captured manifest, and add the measured new-test cost before merge.
Agent review details

Security

None.

PR surface

Tests +157, Docs 0, Other +81. Total +238 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 157 0 +157
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 93 12 +81
Total 4 251 13 +238

Review metrics

Metric Value Why it matters
Planner and test growth planner +81 net lines; tests +157 lines The production growth implements cross-parent packing, with focused tests for its admission constraints.

Merge-risk options

Maintainer options:

  1. Reconcile and replay the planner (recommended)
    Resolve the current-main conflict while retaining the cap fallback, then replay the captured manifest to verify complete coverage and bounded jobs under the final limit.

Technical review

Best possible solution:

Keep one changed-owner planner that preserves selected tests and execution policy, packs eligible bounded rows, and retains a cap-safe fallback when packing cannot meet the matrix limit.

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

No high-confidence current-main reproduction was established. The PR records a 154-row failure on an earlier merge candidate, while current main now has a cap fallback.

Is this the best way to solve the issue?

Unclear. Packing in the existing planner is a focused approach, but its interaction with the newer fallback and the exact failing manifest still needs proof.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This is a bounded CI planning repair with a useful improvement beyond the current cap fallback.
  • add merge-risk: 🚨 automation: The changed planner decides which Node test jobs enter PR CI, and the captured workload has not passed through the proposed packing path.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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: The supplied repository state identifies the author as MEMBER, so the external-contributor proof gate does not apply. The changed production planner still lacks an observed after-fix replay of the captured manifest; synthetic tests are supplemental. No stored-data contract changes.

Label justifications:

  • P2: This is a bounded CI planning repair with a useful improvement beyond the current cap fallback.
  • merge-risk: 🚨 automation: The changed planner decides which Node test jobs enter PR CI, and the captured workload has not passed through the proposed packing path.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies the author as MEMBER, so the external-contributor proof gate does not apply. The changed production planner still lacks an observed after-fix replay of the captured manifest; synthetic tests are supplemental. No stored-data contract changes.

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)

Rank-up moves

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

  • Replay the captured failing manifest against the conflict-resolved planner and record selected-file and final-row results.
  • Record the new test file's single-worker wall time in the PR body.

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 closed this Sep 28, 2026
@RomneyDa
RomneyDa deleted the deslop/l103-ci-row-packing branch October 22, 2026 03:14
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 merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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