Skip to content

fix: gh-aw compat test uses correct apm install syntax#360

Merged
danielmeppiel merged 1 commit intomainfrom
fix/ghaw-compat-test-syntax
Mar 18, 2026
Merged

fix: gh-aw compat test uses correct apm install syntax#360
danielmeppiel merged 1 commit intomainfrom
fix/ghaw-compat-test-syntax

Conversation

@danielmeppiel
Copy link
Collaborator

Quick fix: the test_ghaw_compat test in release validation used --isolated which is an apm-action flag, not an apm CLI flag. Fixed to create apm.yml and run apm install directly.

Discovered via release validation failure in v0.8.2 pipeline run.

The test used --isolated which is an apm-action flag, not an apm CLI
flag. Fixed to create apm.yml and run 'apm install' directly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 18, 2026 16:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the release-validation “GH-AW compatibility” check so it no longer uses --isolated (an apm-action flag) with the apm CLI, and instead runs an apm install flow intended to simulate tokenless installs.

Changes:

  • Replaced apm install <pkg> --isolated with a workflow that writes an apm.yml and runs apm install with no args.
  • Updated the bundle-archive assertion to look for build/*.tar.gz (matching apm pack --archive output).

Comment on lines +363 to +366
# Create a minimal apm.yml like apm-action does in isolated mode
cat > apm.yml <<'APMYML'
dependencies:
- microsoft/apm-sample-package
@danielmeppiel danielmeppiel merged commit 16bb1ae into main Mar 18, 2026
16 of 17 checks passed
@danielmeppiel danielmeppiel deleted the fix/ghaw-compat-test-syntax branch March 18, 2026 16:40
danielmeppiel added a commit that referenced this pull request Mar 18, 2026
v0.8.2 tag included a broken test script; tag is protected and cannot
be moved. This release includes the test fix from #360.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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