fix(workflows): harden code scanning issue reconciliation - #2817
Draft
Jamie Kim (jkim323) wants to merge 6 commits into
Draft
fix(workflows): harden code scanning issue reconciliation#2817Jamie Kim (jkim323) wants to merge 6 commits into
Jamie Kim (jkim323) wants to merge 6 commits into
Conversation
Contributor
Eval Execution✅ Status: Passed — no merge-blocking failures (1 advisory assertion failure(s) present)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2817 +/- ##
==========================================
+ Coverage 83.14% 83.24% +0.09%
==========================================
Files 183 172 -11
Lines 34039 34350 +311
Branches 27 0 -27
==========================================
+ Hits 28302 28594 +292
- Misses 5734 5756 +22
+ Partials 3 0 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Jamie Kim (jkim323)
marked this pull request as ready for review
September 4, 2026 04:50
Jamie Kim (jkim323)
marked this pull request as draft
September 4, 2026 04:53
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.
Pull Request
Description
Harden automated GitHub code-scanning issue management so issue creation and reconciliation fail safely when ownership, input completeness, or CodeQL analysis health cannot be verified.
This change:
Related Issue(s)
Closes #2763
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request:
Retrieve GitHub code-scanning alerts and create or reconcile automation-owned tracking issues safely.
Execution Flow:
Output Artifacts:
The workflow updates GitHub issues and emits concise health, indexing, creation, reopening, and reconciliation logs.
Success Indicators:
Testing
Validated the changed workflow and skill surfaces with:
git diff --checkChecklist
Required Checks
AI Artifact Contributions
hve-builderreview mode to review contributionhve-builderreviewRequired Local Checks
npm run validate:localnpm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
The workflow grants
security-events: readonly where required to inspect CodeQL analysis health. Issue mutation still uses the repository-providedGITHUB_TOKENwith explicitissues: writepermission. Reconciliation defaults to dry-run and fails closed when ownership or evidence is incomplete.Additional Notes