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

Open
github-bot wants to merge 1 commit from github-bot/gh-4475 into main AGit
Owner

@⁠iBooM72 on GitHub · 2026-11-30 20:48 UTC · original
iBooM72:issues/needs-logs-close → main · +49 −6 · 2 files · 1 commits · draft

Refs #4152. #4475 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. #4708 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: #4475 (merged), #2203, #1051, #1053, #3102 and #4763. #4607 and #4612 also list needs-logs.yml among their changed files.

🤖 Generated with Claude Code

**@⁠iBooM72** on GitHub · 2026-11-30 20:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4475) `iBooM72:issues/needs-logs-close` → `main` · +49 −6 · 2 files · 1 commits · draft Refs #4152. #4475 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. #4708 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: #4475 (merged), #2203, #1051, #1053, #3102 and #4763. #4607 and #4612 also list `needs-logs.yml` among their changed files. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The label was never removed, so it stayed on issues that now have logs.
Edits and comments by the issue's author are now checked with the same log
test. A manual run checks every open issue that has the label.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A daily run covers 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. When the author adds logs to an issue closed
this way, it reopens. Issues closed by a person stay closed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 20:53:07 +00:00
github-bot changed title from needs-logs: close reports that still have no logs, reopen when logs arrive (after #4474) to needs-logs: close reports that still have no logs, reopen when logs arrive 2026-12-01 09:56:58 +00:00
github-bot force-pushed github-bot/gh-4475 from 21e168c4b2 to 6f5d7970cc 2026-12-01 09:56:59 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4476/head:github-bot/gh-4475'
git switch 'github-bot/gh-4475'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4475'
git switch 'github-bot/gh-4475'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4475'
git switch 'github-bot/gh-4475'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4475'
git switch 'main'
git merge --squash 'github-bot/gh-4475'
git switch 'main'
git merge --ff-only 'github-bot/gh-4475'
git switch 'main'
git merge 'github-bot/gh-4475'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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