Skip to content

fix(nightly): file unresolved reachable findings as issues, not only in the step summary - #1699

Merged
max-sixty merged 2 commits into
mainfrom
fix/issue-1698
Nov 16, 2026
Merged

max-sixty merged 2 commits into
mainfrom
fix/issue-1698

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Nightly's Step 8 told sessions to "record unresolved findings in the Step 9 summary", and the step summary is a place maintainers don't read and no later run picks up — the survey rotation won't revisit those files for weeks. Item 2 directly below already says a finding with no obvious fix becomes an issue, but sessions followed the explicit summary line instead, so reachable bugs found but not fixed that night were dropped. #1698 shows one PRQL nightly leaving five such defects in its summary; that repo's review-runs later reproduced all of them on main and filed them.

The line now sends a reachable defect the run doesn't fix to an issue under item 2 (or a comment on an open issue that already covers it), carrying the reproduction and what couldn't be verified, and the summary links those issues. The reachability rule in the survey section is unchanged: a defect no caller can reach stays a summary note.

Validation is a read-through against the surrounding Step 8 text plus the repo's skill lint hooks and skill tests; no eval case covers this decision.

Closes #1698 — automated triage

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing clause "it is not where a finding lives" reads as a rule about every finding, but the survey section (line 168, "If no caller can, the finding is a note in the Step 9 summary, not a PR") still sends unreachable defects to exactly that summary. A session weighing the two could file an issue for an unreachable defect, which is the noise that rule exists to prevent. Scoping the clause to the defect this sentence is about removes the conflict.

The survey's reachability rule still sends unreachable defects to the
Step 9 summary, so the unscoped clause contradicted it.
@max-sixty
max-sixty merged commit 264321a into main Nov 16, 2026
12 checks passed
@max-sixty
max-sixty deleted the fix/issue-1698 branch November 16, 2026 08:31
max-sixty added a commit that referenced this pull request Nov 18, 2026
Bumps generator version to 0.3.27 and syncs lockfile.

8 commits since 0.3.26: nightly restarts stalled CI causes and weekly restarts other unfinished issues (#1688), review-runs drains outage trackers the bot closed (#1700), nightly files unfixed reachable defects as issues (#1699), the sandbox gets its own XDG_RUNTIME_DIR (#1697), comment and test fixes (#1701, #1702, #1703), and the 0.3.26 regeneration (#1695).
max-sixty pushed a commit to max-sixty/worktrunk that referenced this pull request Nov 18, 2026
Updates the generated Tend workflows from 0.3.26 to 0.3.27. The workflow
diff only bumps the version pins on `max-sixty/tend/claude` and
`setup-runtime`; the changes below ship in those actions and their
bundled skills
([compare](max-sixty/tend@0.3.26...0.3.27)).

What changes for this repo:

- **Stalled issues get picked up again.** Nightly now runs the open-work
checks that used to live in review-runs. It restarts any open
`tend-ci-cause` issue with no other assignee, no queued or running Tend
run, and no open PR that would close it. Weekly reads the other open
issues where the bot commented last and decides which ones need
follow-up (max-sixty/tend#1688).
- **Nightly files the bugs it doesn't fix.** A reachable defect the
sweep finds but can't fix becomes an issue, or a comment on an existing
one, instead of a line in the step summary (max-sixty/tend#1699).
- **Outage trackers closed by other sessions still get drained.**
Review-runs now marks the trackers it drains, so it still reads the run
rows of a `tend-outage` tracker that a nightly or triage session closed
(max-sixty/tend#1700).
- **The sandbox gets its own `XDG_RUNTIME_DIR`.** It used to inherit the
runner's directory, which the sandbox user can't open
(max-sixty/tend#1697).

Co-authored-by: worktrunk-bot <[email protected]>
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.

nightly: Step 8 sends unresolved findings to the step summary, so real bugs it doesn't fix tonight are never filed

2 participants