Skip to content

Stage isolation_session test collateral into the OS vpack#583

Open
bbonaby wants to merge 2 commits into
mainfrom
user/bbonaby/fix-vpack
Open

Stage isolation_session test collateral into the OS vpack#583
bbonaby wants to merge 2 commits into
mainfrom
user/bbonaby/fix-vpack

Conversation

@bbonaby

@bbonaby bbonaby commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

📖 Description

Adds an isolation_session/main/ tree to the OS vpack so the OS side can run the isolation_session tests from the package. The new step copies the current *isolation_session* PowerShell scripts (tests/scripts/) and configs (tests/configs/) into scripts/ and configs/ subfolders. Also disables the deprecated Guardian evidence v1 job (globalSdl.evidence) in favor of evidenceV2 for the vpack pipeline.

🔗 References

🔍 Validation

Pipeline-only change (no shipping code). Validated locally: YAML parses; the embedded PowerShell parses; the copy globs resolve to 3 scripts and 46 configs against the current tree. Full validation on first MXC-PR-Build run.

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task
Microsoft Reviewers: Open in CodeFlow

Add an isolation_session/main/ tree to the OS vpack containing the current
isolation_session PowerShell scripts (tests/scripts/*isolation_session*) and
configs (tests/configs/*isolation_session*), under scripts/ and configs/
subfolders, so the OS side can run these tests from the package.

Also disable the deprecated Guardian evidence v1 job (globalSdl.evidence) in
favor of evidenceV2 for the vpack pipeline.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 26, 2026 23:42
@bbonaby bbonaby requested a review from a team as a code owner June 26, 2026 23:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Packages IsolationSession test collateral into the OS vpack output so OS-side automation can run the same tests/scripts + tests/configs assets from the produced package, and updates the vpack pipeline to use the newer SDL evidence job format.

Changes:

  • Disable globalSdl.evidence (v1) and enable globalSdl.evidenceV2 (v2) in the vpack packaging pipeline template.
  • Add a PowerShell step to stage *isolation_session* scripts/configs into $(ob_outputDirectory)\isolation_session\main\{scripts,configs}.

Comment thread .azure-pipelines/templates/Vpack.Package.Job.yml Outdated
Address PR review feedback: enumerate the *isolation_session* matches first
and throw a targeted error if either pattern matches nothing, instead of
relying on a generic Copy-Item wildcard error. Also sets ErrorActionPreference
to Stop so a stale/empty pattern fails the step rather than silently producing
an empty isolation_session/main folder in the vpack.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bbonaby

bbonaby commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants