worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

[bot] old issues

Open max-sixty opened this issue 8 months ago • 3 comments

@worktrunk-bot are we scanning for closed issues each night? why wasn't https://github.com/max-sixty/worktrunk/issues/738 picked up?

max-sixty avatar Mar 17 '26 23:03 max-sixty

The nightly cleaner's issue-scanning step (Step 3) has two constraints that prevented it from picking up #738:

  1. Skips non-bug issues — The instructions say "Skip feature requests, discussions, and partially unresolved issues." Issue #738 was a question/feature request, so it would have been skipped even if the fix was detected.

  2. Only checks recent commits — Step 3 cross-references open issues against commits from the past 24 hours (git log --since='24 hours ago' from Step 2). PR #789, which resolved #738, was merged outside that window, so there was no recent commit to match against.

To catch stale issues like this, the nightly cleaner would need a broader scan — e.g., periodically checking old open issues against the full codebase state rather than just the last day's commits. That would be a scope expansion to the skill.

worktrunk-bot avatar Mar 17 '26 23:03 worktrunk-bot

ok great! can we remove the restriction in (1)?

max-sixty avatar Mar 17 '26 23:03 max-sixty

Done — #1596 removes the "skip feature requests, discussions" restriction from Step 3. The nightly cleaner will now check all open issues regardless of type, only skipping partially unresolved ones.

worktrunk-bot avatar Mar 17 '26 23:03 worktrunk-bot