Repository navigation
refactor(#2282): remove dead --keep-history help probe - #2285
Open
fullsend-ai-coder[bot] wants to merge 1 commit into
Open
fullsend-ai-coder[bot] wants to merge 1 commit into
fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
fullsend-ai/fullsend#9399 posts every agent result as a new comment, and fullsend-ai/fullsend#9986 made --keep-history a hidden no-op that no longer appears in 'fullsend issues post-comment --help'. The probe the retro and link-check scripts ran against that help output can no longer match, so it never passes anything. - scripts/lib/jira-retro-ops.lib.sh: drop _retro_jira_keep_history_args, its stale comment (which still called #9399 open) and the args array in the post-comment call. - examples/link-check/scripts/post-link-check.sh: drop the keep_history probe, its comment and the args in the post call. - scripts/post-retro-test.sh: drop the post-comment --help mock and the keep-history test case; Jira comment posting stays covered by test 9. - scripts/example-link-check-test.sh: drop the --keep-history help fixtures, the stubs that only exercised its detection, and the deprecation-warning check. - scripts/pre-retro.sh, scripts/post-retro.sh: regenerated with scripts/bundle-sh.sh (make cannot exec /bin/sh in the sandbox). Note: pre-commit could not fetch hook repos (HTTP 403); the configured hooks were run directly at their pinned versions and passed. post-retro-test.sh (141) and example-link-check-test.sh (1) show the same failures on unmodified main in this sandbox. Closes #2282 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🤖 Finished Review · ✅ Success · Started 9:34 PM UTC · Completed 9:41 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.29 |
|
Risk Assessment: moderate (2/5) DetailsDead-code removal by a bot author with well-defined issue scope and test coverage, balanced against protected script paths and recent commit churn in the retro scripts. |
ReviewFindingsMedium
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the
--keep-historyhelp probe from the retro and link-check scripts. Since fullsend-ai/fullsend#9399 every agent result is posted as a new comment. fullsend-ai/fullsend#9986 then made--keep-historya hidden no-op thatfullsend issues post-comment --helpno longer lists, so the probe can never match and never passes anything.scripts/lib/jira-retro-ops.lib.sh: removed_RETRO_JIRA_KEEP_HISTORY_ARGS,_retro_jira_keep_history_argsand its out-of-date comment (it still called #9399 "still open"). Also removed the args expansion from the Jirapost-commentcall.examples/link-check/scripts/post-link-check.sh: removed thekeep_history_re/keep_history_argsprobe, its comment, and the args in the--only-if-existspost. Also removed the comment that pointed to the old explanation ("see --keep-history below").scripts/post-retro-test.sh: removed thepost-comment --helpmock branch (nothing calls it now) and test case 27, then renumbered the two tests after it. Test 9 still checks that Jira comments get posted.scripts/example-link-check-test.sh: removed the--keep-historylines from the help fixtures and the stubs that only tested--keep-historydetection (no-keep-history-cli,prose-cli,uppercase-deprecated-cli). Also removed the stub's deprecation warning and the no-deprecation-warning check. The current CLI and the pre-#9399 edit-in-place CLI still have to receive--only-if-exists --result -.scripts/pre-retro.sh,scripts/post-retro.sh: regenerated from the sources withscripts/bundle-sh.sh.Testing
grep -rn -i 'keep.history' scripts/ examples/returns nothing.make check-bundle(rebuild everyBUNDLE_SRCSentry and compare it with the committed file) shows no stale bundles.makeitself can't exec/bin/shin the sandbox, so the bundler was run directly.scripts/pre-retro-test.sh: all tests pass.scripts/post-retro-test.shandscripts/example-link-check-test.sh: the only failures are the ones that also fail on unmodifiedmainin this sandbox (141 and 1). They come from the environment: gh mock calls, and theyq-basedrunner-env-has-gh-tokencheck. The drop in PASS counts matches the removed cases exactly.🤖 Generated with Claude Code
Closes #2282
Post-script verification
agent/2282-remove-keep-history-probe)4dc9cc67f576896203c8e52546c76d1fe88f751f..HEAD)