Repository navigation
Open
Labels
github-actionsGitHub Actions workflowsinfrastructureRepository infrastructure and toolingmaintainers-onlyRestricted to maintainers — AI artifact expertise requiredmaintenanceMaintenance work, no version bumppriority-2High priority, address soontestingTest infrastructure and test files
Description
Seven handwritten workflows use job-persistent flags written through GITHUB_ENV and later read through env.* expressions. GitHub Actions supports this pattern and actionlint currently passes, but the VS Code GitHub Actions extension cannot reliably infer these dynamic keys and reports avoidable context-access diagnostics.
Separately, extension-provenance-signer.yml references a release-governance environment that is not configured. GitHub would implicitly create the environment without protection rules on first use, weakening the intended release authorization boundary.
This task replaces the targeted handwritten flags with explicit step outputs and establishes the missing hosted release gate while preserving existing workflow behavior.
Scope
- Migrate targeted state in
markdown-lint.yml,table-format.yml,eval-validation.yml,fuzz-tests.yml,pip-audit.yml,python-lint.yml, andpester-tests.ymlto explicit step outputs. - Extend
scripts/tests/Get-ChangedTestFiles.ps1to publishhas-changesthrough the existing CI output abstraction while retainingTEST_PATHSdelivery. - Add focused contract coverage for output initialization, skipped detectors, routing fallbacks, and failure aggregation.
- Create and protect the
release-governancerepository environment before release activation.
Acceptance Criteria
- The seven handwritten workflows no longer reference the targeted dynamic
env.*keys in workflow expressions. - Every executed producer emits exactly one lowercase
trueorfalseoutput for its declared state. - Conditional change detectors preserve full-run behavior with an explicit
!inputs.changed-files-only || steps.<detector>.outputs.has-changes == 'true'fallback. - Fuzz eligibility emits an explicit result for harness-absent, filtered-no-change, and eligible paths.
- Eval lint summary and terminal gating use the same logical OR across the four named lint-step outputs and preserve zero-, one-, and multiple-failure behavior.
-
Get-ChangedTestFiles.ps1publisheshas-changesthroughSet-CIOutputand continues to publish semicolon-delimitedTEST_PATHSthrough the job environment. - Focused Pester coverage validates skipped, false, and true detector paths plus successful and tolerated-failure output paths; at most one new workflow-contract test file is added.
-
release-governancehas at least one administrator-selected required reviewer, prevents self-review, and allows deployments only from tags matchingv*andprerelease-v*. -
npm run lint:yaml,npm run lint:ps, affected Pester tests, andgit diff --checkpass. - Generated
.lock.ymlfiles remain unchanged by direct edits.
Out of Scope
- The separately owned
app-iddeprecation remediation. - Direct edits to
gh-awgenerated lock files or a broadgh-awupgrade. - Moving
RELEASE_APP_PRIVATE_KEY; other release workflows currently consume the repository-scoped secret. - Dispatching release or signer workflows as part of generic validation.
Related
- Activate governed release-tag rulesets for VSIX releases #2802 owns the release-tag ruleset prerequisite. This task should reference its verified governance state without duplicating or weakening its acceptance criteria.
Metadata
Metadata
Assignees
Labels
github-actionsGitHub Actions workflowsinfrastructureRepository infrastructure and toolingmaintainers-onlyRestricted to maintainers — AI artifact expertise requiredmaintenanceMaintenance work, no version bumppriority-2High priority, address soontestingTest infrastructure and test files
Activity