Skip to content

fix(gallery-agent): process blacklist command on recently-closed PRs#9473

Merged
mudler merged 1 commit into
masterfrom
fix/gallery-agent-blacklist-on-closed-prs
Apr 21, 2026
Merged

fix(gallery-agent): process blacklist command on recently-closed PRs#9473
mudler merged 1 commit into
masterfrom
fix/gallery-agent-blacklist-on-closed-prs

Conversation

@mudler
Copy link
Copy Markdown
Owner

@mudler mudler commented Apr 21, 2026

The command-processing step only walked open PRs, so when a maintainer wrote /gallery-agent blacklist and immediately closed the PR, the next scheduled run missed the command, the gallery-agent/blacklisted label was never applied, and the skip-URL step (which only pulls URLs from closed PRs carrying that label) re-proposed the model on the next cron.

Also scan closed gallery-agent PRs from the last 14 days that don't already carry the blacklist label, and apply the label retroactively when the command is present. Close/recreate actions still only run on open PRs.

Assisted-by: Claude:claude-opus-4-7

The command-processing step only walked open PRs, so when a maintainer
wrote `/gallery-agent blacklist` and immediately closed the PR, the
next scheduled run missed the command, the `gallery-agent/blacklisted`
label was never applied, and the skip-URL step (which only pulls URLs
from closed PRs carrying that label) re-proposed the model on the next
cron.

Also scan closed gallery-agent PRs from the last 14 days that don't
already carry the blacklist label, and apply the label retroactively
when the command is present. Close/recreate actions still only run on
open PRs.

Assisted-by: Claude:claude-opus-4-7
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler merged commit a7dbb2a into master Apr 21, 2026
16 of 18 checks passed
@mudler mudler deleted the fix/gallery-agent-blacklist-on-closed-prs branch April 21, 2026 14:29
@localai-bot localai-bot added the bug Something isn't working label May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants