Skip to content

fix(workflows): package pre-release VSIX artifacts correctly#544

Merged
agreaves-ms merged 1 commit intomainfrom
fix/publish-package-pre-release
Feb 13, 2026
Merged

fix(workflows): package pre-release VSIX artifacts correctly#544
agreaves-ms merged 1 commit intomainfrom
fix/publish-package-pre-release

Conversation

@agreaves-ms
Copy link
Copy Markdown
Collaborator

fix(workflows): package pre-release VSIX artifacts correctly

Description

This PR fixed the pre-release extension packaging path so generated VSIX artifacts are correctly marked for pre-release publishing.

  • Updated .github/workflows/extension-package.yml to resolve the effective channel in the package step.
  • Set the PreRelease argument when the channel is PreRelease, which forwards the pre-release mode into Package-Extension.ps1 packaging.
  • Updated packaging log output to include the active channel for clearer workflow diagnostics.

Related Issue(s)

None.

Type of Change

Select all that apply:

Code & Documentation:

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to change)
  • Documentation update

Infrastructure & Configuration:

  • GitHub Actions workflow
  • Linting configuration (markdown, PowerShell, etc.)
  • Security configuration
  • DevContainer configuration
  • Dependency update

AI Artifacts:

  • Reviewed contribution with prompt-builder agent and addressed all feedback
  • Copilot instructions (.github/instructions/*.instructions.md)
  • Copilot prompt (.github/prompts/*.prompt.md)
  • Copilot agent (.github/agents/*.agent.md)
  • Copilot skill (.github/skills/*/SKILL.md)

Note for AI Artifact Contributors:

  • Agents: Research, indexing/referencing other project (using standard VS Code GitHub Copilot/MCP tools), planning, and general implementation agents likely already exist. Review .github/agents/ before creating new ones.
  • Skills: Must include both bash and PowerShell scripts. See Skills.
  • Model Versions: Only contributions targeting the latest Anthropic and OpenAI models will be accepted. Older model versions (e.g., GPT-3.5, Claude 3) will be rejected.
  • See Agents Not Accepted and Model Version Requirements.

Other:

  • Script/automation (.ps1, .sh, .py)
  • Other (please describe):

Testing

  • Verified generated diff content from .copilot-tracking/pr/pr-reference.xml and confirmed the workflow change is scoped to pre-release packaging argument flow.
  • Validated the edited workflow file has no editor-reported errors.

Checklist

Required Checks

  • Documentation is updated (if applicable)
  • Files follow existing naming conventions
  • Changes are backwards compatible (if applicable)
  • Tests added for new functionality (if applicable)

AI Artifact Contributions

  • Used /prompt-analyze to review contribution
  • Addressed all feedback from prompt-builder review
  • Verified contribution follows common standards and type-specific requirements

Required Automated Checks

The following validation commands must pass before merging:

  • Markdown linting: npm run lint:md
  • Spell checking: npm run spell-check
  • Frontmatter validation: npm run lint:frontmatter
  • Link validation: npm run lint:md-links
  • PowerShell analysis: npm run lint:ps

Security Considerations

  • This PR does not contain any sensitive or NDA information
  • Any new dependencies have been reviewed for security issues
  • Security-related scripts follow the principle of least privilege

- add channel input to specify release channel
- update packaging message to include channel information
- conditionally set PreRelease argument based on channel input

🔧 - Generated by Copilot
@agreaves-ms agreaves-ms requested a review from a team as a code owner February 13, 2026 21:53
Copilot AI review requested due to automatic review settings February 13, 2026 21:53
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link
Copy Markdown
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

Fixes the reusable extension packaging workflow so pre-release builds correctly propagate the “PreRelease” mode into the PowerShell packaging script, ensuring generated VSIX artifacts are marked for pre-release publishing.

Changes:

  • Resolve the effective channel value in the “Package extension” step (including a Stable fallback).
  • Forward PreRelease to scripts/extension/Package-Extension.ps1 when the channel is PreRelease.
  • Improve workflow log output to include the active channel during packaging.

@agreaves-ms agreaves-ms merged commit f5f6887 into main Feb 13, 2026
24 checks passed
@agreaves-ms agreaves-ms deleted the fix/publish-package-pre-release branch February 13, 2026 21:56
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.34%. Comparing base (694673e) to head (68c72d8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #544      +/-   ##
==========================================
- Coverage   85.36%   85.34%   -0.03%     
==========================================
  Files          23       23              
  Lines        4475     4475              
==========================================
- Hits         3820     3819       -1     
- Misses        655      656       +1     
Flag Coverage Δ
pester 85.34% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

agreaves-ms pushed a commit that referenced this pull request Feb 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.3.4](hve-core-v2.3.3...hve-core-v2.3.4)
(2026-02-13)


### 🐛 Bug Fixes

* **workflows:** package pre-release VSIX artifacts correctly
([#544](#544))
([f5f6887](f5f6887))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: hve-core-release-please[bot] <254602402+hve-core-release-please[bot]@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.

4 participants