Skip to content

ci/codeql: Always run on postsubmit (noop for no change)#44771

Merged
phlax merged 3 commits intoenvoyproxy:mainfrom
phlax:codql-noop
Apr 30, 2026
Merged

ci/codeql: Always run on postsubmit (noop for no change)#44771
phlax merged 3 commits intoenvoyproxy:mainfrom
phlax:codql-noop

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Apr 30, 2026

No description provided.

Signed-off-by: Ryan Northey <ryan@synca.io>
Comment thread .github/workflows/codeql-push.yml Outdated
Comment thread .github/workflows/codeql-push.yml Outdated
Comment thread .github/workflows/codeql-push.yml Outdated
else
TO_OTHER=HEAD^1
fi
if git diff --name-only HEAD "${TO_OTHER}" -- source/common/ include/ | grep -q .; then
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also include source/exe,extensions,server?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly - but not this pr - the idea is to ensure it does what it does now, just doesnt impact our score when there is nothing to check

arguably being so restricted there is not nothing to check - so this shouldnt pass if it has skipped real code change

however, the reason its so restrictive is that it runs rbeless, as it is it can take an absolute age - i think if we increase the targets we would have to move to rbe here

(related, not running in rbe means it also still fails on github 5xx fail)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... not sure if we can actually get this to work with rbe

iiuc, codeql needs to instrument and see the build - so probably trying to make that work with workers is a stretch

however we could probably have it just use cache (ideally with its own cache key) - that way, apart from first run, it would be a lot faster than now and any building it actually has to do it can do locally in the way it expects

fwiw, macos and a few other bits of ci run cache-only

Signed-off-by: Ryan Northey <ryan@synca.io>
jwendell
jwendell previously approved these changes Apr 30, 2026
Copy link
Copy Markdown
Member

@jwendell jwendell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a minor comment, up to you

Comment thread .github/workflows/codeql-push.yml Outdated
Signed-off-by: Ryan Northey <ryan@synca.io>
Copy link
Copy Markdown
Member

@jwendell jwendell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phlax phlax enabled auto-merge (squash) April 30, 2026 15:17
@phlax phlax merged commit 4d2a4fa into envoyproxy:main Apr 30, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants