Skip to content

Build task artifacts before marketplace publish#250

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-missing-compiled-files
Draft

Build task artifacts before marketplace publish#250
Copilot wants to merge 2 commits intomainfrom
copilot/fix-missing-compiled-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 12, 2026

Release 1.4.163 was published from a clean checkout without restoring the generated task assets, so the VSIX/zip omitted compiled task JavaScript and task-local dependencies. This left tasks like ReplaceTokens unable to resolve azure-pipelines-task-lib at runtime.

  • Release publish workflow

    • update Release Publish to use Node 20
    • install root dependencies before publishing
    • run the existing production build path so task packages include compiled .js files and task node_modules
  • Packaging behavior restored

    • publish now prepares the same task artifacts expected by the extension package instead of sending source-only task folders to tfx
- name: Setup Node
  uses: actions/setup-node@v4
  with:
    node-version: "20"
    cache: yarn

- name: Install root dependencies
  run: yarn install --frozen-lockfile

- name: Build extension tasks
  run: yarn build-prod

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • app.vssps.visualstudio.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/tfx extension publish --help (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: colindembovsky <1932561+colindembovsky@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing compiled files in release 1.4.163 Build task artifacts before marketplace publish Mar 12, 2026
Copilot AI requested a review from colindembovsky March 12, 2026 16:49
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.

Release 1.4.163 does not contain compiled files for tasks

2 participants