Skip to content

test: split duplicate proof tests - #365

Merged
RomneyDa merged 1 commit into
mainfrom
dallin/split-duplicate-proof-tests
Jun 24, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
dallin/split-duplicate-proof-tests

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

  • split duplicate PR reference parsing proof tests into test/apply-pr-duplicate-ref-proof.test.ts
  • split coverage-proof close/sync behavior into test/apply-pr-coverage-proof-close.test.ts
  • split post-proof freshness/retry behavior into test/apply-pr-coverage-proof-recheck.test.ts

LOC

  • test/apply-pr-duplicate-ref-proof.test.ts: 693
  • test/apply-pr-coverage-proof-close.test.ts: 606
  • test/apply-pr-coverage-proof-recheck.test.ts: 780
  • test/helpers.ts: 766
  • test/clawsweeper.test.ts: 7689

Validation

  • pnpm run check

@clawsweeper

clawsweeper Bot commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed June 24, 2026, 4:13 PM ET / 20:13 UTC.

Summary
The PR moves duplicate PR proof apply tests out of test/clawsweeper.test.ts into three narrower test/apply-pr-*.test.ts files.

Reproducibility: not applicable. This PR is a test-organization cleanup rather than a reported runtime issue; the relevant check is that the split files remain in the existing test/*.test.ts runner surface.

Review metrics: 3 noteworthy metrics.

  • Changed surface: 4 test files affected. The diff stays in tests, which keeps the merge decision focused on organization and test discovery rather than runtime behavior.
  • Test split: 3 added, 1 trimmed. The split reduces test/clawsweeper.test.ts by moving one apply-proof cluster into narrower files.
  • Net size: +42 lines. The small net increase is consistent with new import blocks around moved tests.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🌊 off-meta tidepool
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

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

Rank-up moves:

  • none.

Next step before merge

  • No repair lane work is needed; this maintainer-authored test-only PR should proceed through normal review and required checks.

Security
Cleared: The diff only moves tests between repository test files and adds no new dependency, workflow, script, permission, or runtime execution surface.

Review details

Best possible solution:

Merge through ordinary maintainer review once required checks pass, preserving this as a test-only organization change.

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

Not applicable. This PR is a test-organization cleanup rather than a reported runtime issue; the relevant check is that the split files remain in the existing test/*.test.ts runner surface.

Is this the best way to solve the issue?

Yes. Splitting the duplicate-proof apply tests into focused files is a narrow maintainable path and matches the repository's test-organization guidance.

AGENTS.md: found and applied where relevant.

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

Label changes

Label changes:

  • add P3: This is a low-risk test cleanup that does not change production behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool 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 external-contributor real behavior proof gate does not apply to this MEMBER-authored test-only PR.

Label justifications:

  • P3: This is a low-risk test cleanup that does not change production behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool 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 external-contributor real behavior proof gate does not apply to this MEMBER-authored test-only PR.
Evidence reviewed

What I checked:

Likely related people:

  • RomneyDa: Recent merged commits split related test surfaces and touched test/clawsweeper.test.ts and test/helpers.ts; this makes them the clearest routing candidate for this test-organization PR beyond being its proposer. (role: recent area contributor; confidence: high; commits: 8d8565bdea3b, e73fecd30a70, 929e605da559; files: test/clawsweeper.test.ts, test/helpers.ts)
  • steipete: Current-main blame for the moved duplicate-proof test block points at the release baseline commit in the available history, so they are relevant history for the existing test block. (role: prior test baseline contributor; confidence: medium; commits: dc824915bb6c; files: test/clawsweeper.test.ts)
  • vincentkoc: Recent merged fixes changed apply/review automation behavior exercised by these tests, making them a useful secondary routing candidate for this area. (role: adjacent apply automation contributor; confidence: medium; commits: f94588d89c2f, f69d9debf487, 1566ad6a0a5b; files: test/clawsweeper.test.ts, src/clawsweeper.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 added 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. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. labels Jun 24, 2026
@RomneyDa
RomneyDa merged commit ee4f5c1 into main Jun 24, 2026
9 checks passed
@RomneyDa
RomneyDa deleted the dallin/split-duplicate-proof-tests branch June 24, 2026 21:42
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant