Repository navigation
Conversation
Report default-branch failures with stable issue identities and Actions run links. Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The repository checks Python formatting with a 100-column line length. Apply that configuration to the reporter and its tests. Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Add the contributor lab, HTTP contract, endpoint probes, and workflow audit to the default branch reporter. Create one review issue per scanner from open alerts and link to the security view. Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Use the central reporter as a fallback for workflows that already have their own issue publisher. A successful publisher covers the failure. Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Retain the newest reported identifier so resolving one alert cannot file another issue for an older alert. Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
This branch has not been deployed
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.
Changelog category
Why
Failures in default-branch tooling need an issue to track the repair.
Scope and risk
Create one GitHub issue for each covered check group whose latest trusted default-branch run failed or timed out. An hourly run also checks open CodeQL and Scorecard alerts and creates one review issue per scanner. An open issue covers repeated findings. If a workflow already publishes issues, the central reporter is a fallback for an incomplete publishing job. A closed issue acknowledges the workflow run or scanner alert numbers already recorded. A higher run or alert number can open a new issue. GitHub Security tracks reopenings of existing alerts. If a lookup or issue write fails, report other findings and mark the sweep incomplete. A lookup budget leaves time to publish collected findings. The sweep rotates its sources and uses the latest conclusive result for each check in a shared workflow.
Issue bodies use fixed text and a link to the workflow run or the GitHub code scanning view. The script does not copy logs, artifacts, or alert details. Pull requests exercise issue handling with synthetic API responses and read-only permissions.
Compatibility, rollout and rollback
The reporter runs after merge. Covered workflows must run on the default branch for their failures to create issues. Existing issue markers still work. Revert the workflow to stop future issue creation.
Tests
Fifteen unit tests cover trusted events, completed-run selection, deduplication, shared CI failures, alert detail exclusion, and continued reporting after a failed lookup or issue write. The two scripts passed Ruff. The reporter passed strict mypy, and actionlint and ShellCheck passed the workflow.
AI assistance
Checklist