Skip to content

Ensure resources that have never been checked are looked up by manually triggered builds - #9574

Merged
taylorsilva merged 1 commit into
masterfrom
issue-9573
May 12, 2026
Merged

taylorsilva merged 1 commit into
masterfrom
issue-9573

Conversation

@taylorsilva

@taylorsilva taylorsilva commented May 12, 2026 •

Copy link
Copy Markdown
Member

Changes proposed by this PR

closes #9573

Resources that have never been checked don't have resource config scopes
created. The query in build.ResourcesChecked() wouldn't catch this
because we did a JOIN which dropped any resources that had not been
checked yet. Converting it to a LEFT JOIN now includes resources like
that and we look for them with the rs.id IS NULL check.

…ly triggered builds.

Resources that have never been checked don't have resource config scopes
created. The query in build.ResourcesChecked() wouldn't catch this
because we did a JOIN which dropped any resources that had not been
checked yet. Converting it to a LEFT JOIN now includes resources like
that and we look for them with the `rs.id IS NULL` check.

Signed-off-by: Taylor Silva <[email protected]>
@taylorsilva
taylorsilva requested a review from a team May 12, 2026 15:52
@taylorsilva taylorsilva mentioned this pull request May 12, 2026
4 tasks done
@taylorsilva
taylorsilva merged commit 89b4cd6 into master May 12, 2026
12 checks passed
@taylorsilva
taylorsilva deleted the issue-9573 branch May 12, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resources with check_ever = never that have never been checked aren't checked by manually triggered builds

1 participant