needs-logs: close reports that still have no logs, reopen when logs arrive #4475

Open
iBooM72 wants to merge 1 commit from upstream-pr/4475 into main
iBooM72 commented 2026-11-30 20:48:20 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by iBooM72 on 2026-11-30T20:48:20Z.


Refs #4152. #4474 is merged, and needs-logs was run by hand after that. This is still a draft because its timing doesn't match your new 12-hour rule.

What it changes

This closes reports that still have no logs, and reopens them when the logs arrive. The closing messages I read for old releases and missing logs ask people to open a new issue. Here, they can add their logs to the same one.

  • Closing: once a day, actions/stale checks open issues with both the needs-logs and bug labels. It posts a reminder after a day without activity and closes them after 3 more. Any activity restarts the wait, and someone who can't upload logs can reply to say so.
  • Reopening: if the author adds logs to an issue this workflow closed, it reopens. Issues closed by a person stay closed.
  • Skipped: anything assigned, or labelled confirmed or fixed-on-main. Pull requests are never marked or closed.

It's deliberately limited. The bug label comes from the crash and graphics forms, so feature requests and performance reports are left out unless they have that label too. At 19:51 UTC on November 30, it would have covered 3 open issues. Once #2203 repairs those forms, their logs field is required, so the number may stay small.

For old releases: this doesn't close anything for being old. When closing those by hand, could you ask people to retest and reply in the same issue, then reopen it if it still happens?

Your choice

  • Timing: since bd3997c2, the bot's message says 12 hours, but this waits a day, then 3 more. The two need to match before this is ready. I found no workflow on main that closes these issues. If you'd rather keep closing them your own way, I'm happy to close this PR.

How it was tested

  • Rebased onto main at 5fabb46e, with the same changes. I simulated 7 events for needs-logs, both on this branch and merged with #2203 at 8c1221a4, and all gave the expected result. Only an issue this workflow had closed, with new logs, reopened.
  • Both workflows parse, and this merges cleanly with #2203 at 8c1221a4. Before the rebase, both passed the GitHub workflow schema, and I checked the options against the actions/stale action.yml and that the v11 tag exists. I haven't rerun those checks.
  • All 7 xtask tests pass (cargo test -p xtask --locked), including the asset policy test.
  • CI: main (5fabb46e) fails at Clippy with five errors that this PR doesn't touch, so check may fail here too. #4707 fixes them, and its check passes.
  • Not tested: a real run of actions/stale, or either workflow on GitHub. There are no code changes, so I didn't do a GPU run or run the other tests.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #4474 (merged), #2203, #1051, #1053, #3102 and #4762. #4606 and #4611 also list needs-logs.yml among their changed files.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5573486641 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4475). Originally posted by [iBooM72](https://github.com/iBooM72) on 2026-11-30T20:48:20Z. --- Refs #4152. #4474 is merged, and `needs-logs` was [run by hand](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46538333107) after that. **This is still a draft because its timing doesn't match your new 12-hour rule.** ## What it changes This closes reports that still have no logs, and reopens them when the logs arrive. The closing messages I read for old releases and missing logs ask people to open a new issue. Here, they can add their logs to the same one. - **Closing:** once a day, `actions/stale` checks open issues with both the `needs-logs` and `bug` labels. It posts a reminder after a day without activity and closes them after 3 more. Any activity restarts the wait, and someone who can't upload logs can reply to say so. - **Reopening:** if the author adds logs to an issue this workflow closed, it reopens. Issues closed by a person stay closed. - **Skipped:** anything assigned, or labelled `confirmed` or `fixed-on-main`. Pull requests are never marked or closed. It's deliberately limited. The `bug` label comes from the crash and graphics forms, so feature requests and performance reports are left out unless they have that label too. At 19:51 UTC on November 30, it would have covered 3 open issues. Once #2203 repairs those forms, their logs field is required, so the number may stay small. **For old releases:** this doesn't close anything for being old. When closing those by hand, could you ask people to retest and reply in the same issue, then reopen it if it still happens? ## Your choice - **Timing:** since bd3997c2, the bot's message says 12 hours, but this waits a day, then 3 more. The two need to match before this is ready. I found no workflow on `main` that closes these issues. If you'd rather keep closing them your own way, I'm happy to close this PR. ## How it was tested - Rebased onto `main` at `5fabb46e`, with the same changes. I simulated 7 events for `needs-logs`, both on this branch and merged with #2203 at `8c1221a4`, and all gave the expected result. Only an issue this workflow had closed, with new logs, reopened. - Both workflows parse, and this merges cleanly with #2203 at `8c1221a4`. Before the rebase, both passed the GitHub workflow schema, and I checked the options against the `actions/stale` `action.yml` and that the `v11` tag exists. I haven't rerun those checks. - All 7 `xtask` tests pass (`cargo test -p xtask --locked`), including the asset policy test. - **CI:** `main` (`5fabb46e`) fails at Clippy with five errors that this PR doesn't touch, so `check` may fail here too. #4707 fixes them, and its `check` passes. - **Not tested:** a real run of `actions/stale`, or either workflow on GitHub. There are no code changes, so I didn't do a GPU run or run the other tests. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #4474 (merged), #2203, #1051, #1053, #3102 and #4762. #4606 and #4611 also list `needs-logs.yml` among their changed files. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/4475:upstream-pr/4475'
git switch 'upstream-pr/4475'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/4475'
git switch 'upstream-pr/4475'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4475'
git switch 'upstream-pr/4475'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4475'
git switch 'main'
git merge --squash 'upstream-pr/4475'
git switch 'main'
git merge --ff-only 'upstream-pr/4475'
git switch 'main'
git merge 'upstream-pr/4475'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!4475
No description provided.