Skip to content

Remove the dead --keep-history help probe from the retro and link-check scripts #2282

In review

Description

@waynesun09

Problem

The retro scripts and the link-check example still probe fullsend issues post-comment --help for a --keep-history flag, and pass --keep-history=false when it is listed and not deprecated. That probe is now dead code:

The comment above the helper is also stale: it says fullsend#9399 is "still open".

Scope

Remove the --keep-history help probe and everything that depends on it:

  • scripts/lib/jira-retro-ops.lib.sh: delete _RETRO_JIRA_KEEP_HISTORY_ARGS, _retro_jira_keep_history_args and its comment, and drop the args array from the fullsend issues post-comment call(s).
  • examples/link-check/scripts/post-link-check.sh: delete the keep_history_re / keep_history_args probe and its comment, and drop the args from the post call.
  • Tests: update scripts/post-retro-test.sh, scripts/pre-retro-test.sh (if it covers the helper) and scripts/example-link-check-test.sh so no case asserts on --keep-history.
  • Regenerate the bundled scripts (scripts/pre-retro.sh, scripts/post-retro.sh, and any other bundle that includes jira-retro-ops.lib.sh) with make script-build. Do not edit the generated files by hand.

Out of scope: any change to fullsend, and any other post-comment behaviour.

Acceptance

  • grep -rn -i 'keep.history' scripts/ examples/ returns nothing outside unrelated history.
  • make script-build produces no diff after the change, and make script-test passes.
  • A retro or link-check run still posts its comment with the current fullsend CLI.

Activity

  1. waynesun09 commented on Dec 3, 2026

    @waynesun09
    MemberAuthor

    /fs-code
    Do not use git commit -s; leave commits unsigned-off.

  2. fullsend-ai-coder commented on Dec 3, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Code · ❌ Terminated · Started 9:24 PM UTC · Ended 9:31 PM UTC

    Commit: 4dc9cc6 · View workflow run →

  3. fullsend-ai-triage commented on Dec 3, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 9:24 PM UTC · Completed 9:26 PM UTC

    Commit: 4dc9cc6 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.28

  4. fullsend-ai-triage commented on Dec 3, 2026

    @fullsend-ai-triage

    This is well-scoped and ready for implementation. A few notes from checking the repo:

    • The probe and its stale comment exist in scripts/lib/jira-retro-ops.lib.sh and examples/link-check/scripts/post-link-check.sh. The generated scripts/pre-retro.sh and scripts/post-retro.sh carry copies, so they need to come from make script-build, then be verified with make check-bundle.
    • scripts/post-retro-test.sh has both the mock help text and the jira/keep-history-* cases to remove. scripts/example-link-check-test.sh has several help fixtures and an expected-flags list built around the flag. scripts/pre-retro-test.sh has no references.
    • No open PR or duplicate issue was found, and no workflow files are involved. A code run has already been requested on this issue; commits should stay without sign-off, as noted in the comment above.

    Suggested test: run both post paths against a mock CLI whose post-comment --help does not list --keep-history, and assert the call carries no --keep-history argument while the remaining flags are unchanged.

    mock fullsend post-comment --help  (no --keep-history)
      -> retro Jira post and link-check post both succeed
      -> logged args contain no '--keep-history'
      -> grep -rn -i 'keep.history' scripts/ examples/ is clean
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. fullsend-ai-coder commented on Dec 3, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 9:24 PM UTC · Completed 9:31 PM UTC

    Commit: 4dc9cc6 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions