needs-logs: take the label off when the author adds the logs #4475

Manually merged
github merged 1 commit from github-bot/gh-4474 into gh-pr/4474/base 2026-11-30 23:41:59 +00:00 AGit
Owner

@⁠iBooM72 on GitHub · 2026-11-30 20:47 UTC · original
iBooM72:issues/needs-logs-upkeep → main · +42 −6 · 1 files · 1 commits · merged 2026-11-30 23:37 UTC

Refs #4152.

What it changes

needs-logs adds its label when an issue is opened but never removes it. At 19:51 UTC on November 30, 170 of the 341 open issues with the label already had logs. That's by the bot's own log test, run on each issue and its author's comments.

  • Automatic: when the author of a labelled issue edits it or comments, and that text has logs, the label is removed.
  • Manual: running the workflow by hand checks every open issue with the label. Please run it once after merging to update the existing ones.

The log test and the bot's reply are unchanged. The test only looks for an attached file or log-like text, so it can't confirm that both logs are there. Feature requests are still checked, because people were using that form for bugs (see #2203).

How it was tested

  • I ran the workflow's script in Node with simulated events: new issues with and without logs, edits, comments, quoting the bot's reply, an empty issue, and a label that's already gone. It did what was expected each time.
  • I ran its manual mode offline on the 341 issues. It picked 170 to remove the label from, and skipped a test PR and a test issue from a deleted account.
  • The workflow passes the GitHub workflow schema, and this merges cleanly with #2203 at 4d47048.
  • Not tested: a real run on GitHub, including the job's if: condition, which limits it to the issue's author. There are no code changes, so I didn't do a GPU run or run cargo test.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2203, #1051 and #1053 change the bot's reply, and #3102 includes a copy of this file.

@⁠ANDREANIADS, you checked this log test for #2203, so your review would help here too.

🤖 Generated with Claude Code

**@⁠iBooM72** on GitHub · 2026-11-30 20:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4474) `iBooM72:issues/needs-logs-upkeep` → `main` · +42 −6 · 1 files · 1 commits · merged 2026-11-30 23:37 UTC Refs #4152. ## What it changes `needs-logs` adds its label when an issue is opened but never removes it. At 19:51 UTC on November 30, 170 of the 341 open issues with the label already had logs. That's by the bot's own log test, run on each issue and its author's comments. - **Automatic:** when the author of a labelled issue edits it or comments, and that text has logs, the label is removed. - **Manual:** running the workflow by hand checks every open issue with the label. Please run it once after merging to update the existing ones. The log test and the bot's reply are unchanged. The test only looks for an attached file or log-like text, so it can't confirm that both logs are there. Feature requests are still checked, because people were using that form for bugs (see #2203). ## How it was tested - I ran the workflow's script in Node with simulated events: new issues with and without logs, edits, comments, quoting the bot's reply, an empty issue, and a label that's already gone. It did what was expected each time. - I ran its manual mode offline on the 341 issues. It picked 170 to remove the label from, and skipped a test PR and a test issue from a deleted account. - The workflow passes the GitHub workflow schema, and this merges cleanly with #2203 at `4d47048`. - **Not tested:** a real run on GitHub, including the job's `if:` condition, which limits it to the issue's author. There are no code changes, so I didn't do a GPU run or run `cargo test`. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2203, #1051 and #1053 change the bot's reply, and #3102 includes a copy of this file. @⁠ANDREANIADS, you checked this log test for #2203, so your review would help here too. 🤖 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]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 20:53:03 +00:00
github-bot changed target branch from main to gh-pr/4474/base 2026-11-30 23:41:30 +00:00
github manually merged commit c6a683d070 into gh-pr/4474/base 2026-11-30 23:41:31 +00:00
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!4475
No description provided.