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

Merged
iBooM72 merged 1 commit from upstream-pr/4474 into main 2026-11-30 23:37:35 +00:00
iBooM72 commented 2026-11-30 20:47:50 +00:00 (Migrated from github.com)

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


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5573479385 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4474). Originally posted by [iBooM72](https://github.com/iBooM72) on 2026-11-30T20:47:50Z. --- 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)
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!4474
No description provided.