Skip to content

CI: consolidate script self-tests into one real-triggered workflow - #861

Closed
Brandon Miller (brandom-msft) wants to merge 1 commit into
brandom-msft-p2-2-trusted-l4-lanefrom
brandom-msft-scripts-selftest-ci
Closed

Brandon Miller (brandom-msft) wants to merge 1 commit into
brandom-msft-p2-2-trusted-l4-lanefrom
brandom-msft-scripts-selftest-ci

Conversation

@brandom-msft

Copy link
Copy Markdown
Member

Consolidates the two inert *-selftest.yml dev harnesses into one lean, real-triggered .github/workflows/scripts-selftest.yml that runs the script regression harnesses on any PR touching .github/scripts/**.

Jobs (contents: read only, non-required, separate from validate.yml):

  • detect-harness — hermetic run-detect-tests.sh
  • validate-harness — 5 toolchain setups + yq, run-tests.sh (must reach exit 0)
  • detect -> consume — trimmed needs.*.outputs isolation proof (non-empty case)

Also deletes the two old workflows and repoints now-dangling doc references.


Stacked on brandom-msft-p2-2-trusted-l4-lane. Opened primarily as a real-runner green-proof probe for the new workflow; the redirect bot will auto-close it, but the triggered checks run to completion.

Replace the two inert *-selftest.yml dev harnesses (which only fired on PRs

based on a throwaway dev branch, so never on real traffic) with one lean

.github/workflows/scripts-selftest.yml that triggers on pull_request +

paths: ['.github/scripts/**'] (plus workflow_dispatch).

Jobs (contents:read only, non-required, separate from validate.yml):

- detect-harness: hermetic run-detect-tests.sh

- validate-harness: 5 toolchain setups + yq, run-tests.sh (must reach exit 0)

- detect -> consume: trimmed needs.*.outputs isolation proof (non-empty case;

  docs-only empty-result contract already pinned by run-detect-tests.sh case h)

Repoint now-dangling references to the deleted workflows in CLASSIFICATION.md

and detect-changed-samples.README.md; add a post-consolidation banner to the

historical P1.4 WRAPPER-MAPPING.md audit.

Validated: actionlint + shellcheck clean; hermetic detect harness 23/23 GREEN

locally; validate harness PARTIAL locally with 0 failures (toolchain-gated

cases skip, provided by the runner).
@github-actions

Copy link
Copy Markdown
Contributor

👋 Thanks for your contribution, Brandon Miller (@brandom-msft)!

This repository is read-only. If you are contributing on behalf of Microsoft, please submit your PR to the private staging repository instead:

👉 foundry-samples-pr

See CONTRIBUTING.md for full instructions.

This branch was previously deployed

1 inactive deployment
L4-validation — 47c54167 Deployed Jul 30, 2026 by brandom-msft via trusted #7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant