Skip to content

refactor: drop the round-1 review launch-marker migration - #159

Merged
STRML merged 1 commit into
mainfrom
cleanup/remove-legacy-fallbacks
Oct 19, 2026
Merged

STRML merged 1 commit into
mainfrom
cleanup/remove-legacy-fallbacks

Conversation

@STRML

@STRML STRML commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Removes the migration of round-1 review-launched-$DATE markers from bin/review.sh, and the four tests that pinned it. Those markers were date-keyed files that the 14-day reap deletes anyway, so the code only ever handled installs from before the content-digest marker existed.

One reviewable idea. This is the part of the legacy-path cleanup (#158 follow-up) that held up; the L2 argv fallback and the inline session-enumeration fallback stay (see below).

Worst case after this change: a user who ran the round-1 code earlier the same day they upgrade gets one duplicate workspace popup on that day. It fails open, nothing is lost, and the reap clears the leftover file within 14 days. The migration and the digest scheme landed together in 3fbad69, so very few installs can hold a round-1 marker.

Status

Check Result
tests/review-cmux.sh 43 passed, 2 failed. The 2 are the interactive-fallback assertions that fail on unchanged main in this sandbox.
tests/review-skip.sh 23 passed
tests/pending-triage.sh 22 passed
shellcheck on review.sh + review-cmux.sh 18 blocks (43 before the change)
Full tests/run-all.sh not run on this exact commit; the earlier full run of the combined change failed 20 tests because of the run.sh part, which is not in this PR
Subagent review (code-reviewer) no blocking findings on a5d700d. It found no leftover reference to the migration, no orphaned test helper, and nothing else that globs review-launched-*. Its one nit (a historical comment at review.sh:312) is left alone.
/debate:run tight skipped on purpose: you said this PR gets a subagent review instead.

Not in this PR

  • Removing the built-in claude L2 argv fallback and the inline session-enumeration fallback in bin/run.sh. About 20 tests in tests/run-all.sh simulate installs with a partial or old adapters/ tree, which is what those fallbacks serve. Removing them needs those tests rewritten first.

Test plan

  • bash tests/review-cmux.sh, bash tests/review-skip.sh, bash tests/pending-triage.sh
  • Subagent review
  • Full tests/run-all.sh on the merged result

Round-1 markers are date-keyed files at most 14 days old; the reap deletes them anyway. Removes the migration block and its four tests.
@STRML
STRML merged commit ce2f3d0 into main Oct 19, 2026
2 checks passed
@STRML
STRML deleted the cleanup/remove-legacy-fallbacks branch October 25, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant