Repository navigation
Harden Actions workflows and pin patched pytest - #1321
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
zlareb1
force-pushed
the
fix/code-scanning
branch
from
November 24, 2026 15:13
e325eec to
25b2f1c
Compare
Disable shared package caches and pass workflow values through the shell environment. Check translation and label state on scheduled runs. Use pytest 9.0.3 for the mutation tests to fix PYSEC-2026-1845. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Look up a release through the CLI so retries retain a draft and its notes. Abort on API errors so publication cannot mistake a failed lookup for a missing release. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Use one draft-aware lookup so an API failure cannot be mistaken for absence. Create a draft and publish it with a separate edit so a failed publish response leaves its assets available for the next run. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
zlareb1
force-pushed
the
fix/code-scanning
branch
from
November 24, 2026 15:20
25b2f1c to
2018bb4
Compare
The finalizer can advance main while a producer is translating a batch. Share one workflow group and load main when a queued update starts so finalization cannot leave that batch based on an obsolete event commit. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Frequent polling can displace pending manual runs, while finalizing only on the existing schedule can leave a batch behind main. Admit successful same-repository dispatches on the translation branch and finalize before the scheduled producer starts. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
The workflow trigger filters CI completions to the translation branch and the exact-head merge validation checks it again. A duplicate branch expression in the job condition is treated as a checkout reference by the plugin scanner. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #1306
Closes: #1307
Closes: #1308
Closes: #1309
Changelog category (leave one):
Why
GitHub Actions use caches shared across runs and interpolate workflow expressions into shell source. Jobs with write credentials can also start from pull request or workflow completion events. The mutation-test requirements pin a pytest release affected by PYSEC-2026-1845.
Scope and risk
Compatibility, rollout and rollback
Tests
--offline --strict-collection --no-config --no-ignores --persona=auditor --collect=workflows,dependabot. Findings fell from 80 to 14 on the current base.AI assistance in the code (leave one; writing this description with AI is fine):
Checklist