Skip to content

Fix release workflow failure by removing Admin UI dependency mutation in CI - #20

Merged
Umang-Shikarvar merged 2 commits into
mainfrom
copilot/fix-build-multi-platform-release
Oct 18, 2026
Merged

Umang-Shikarvar merged 2 commits into
mainfrom
copilot/fix-build-multi-platform-release

Conversation

Copilot AI commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Build Multi-Platform Release failed in the Admin UI build step because the workflow force-installed newer Vite/plugin versions before running install/build. This changed the dependency graph mid-job and triggered npm resolution failure (edgesOut) in CI.

  • Root cause in release pipeline

    • release.yml ran an ad-hoc npm install -D @vitejs/plugin-react@^6.1.1 vite@^8.2.2 inside cmd/admin/ui before the normal install/build flow.
  • Workflow change

    • Removed the ad-hoc devDependency install from Build Admin UI.
    • Kept the existing repo-pinned install path: npm ci || npm install, then npm run build.
  • Effect

    • Release builds now use the dependencies defined by the repository (package.json/lockfile) instead of mutating toolchain versions at runtime.
# .github/workflows/release.yml (Build Admin UI)
if [ -d "cmd/admin/ui" ] && [ -f "cmd/admin/ui/package.json" ]; then
  cd cmd/admin/ui
  npm ci || npm install
  npm run build
  cd ../../..
fi

Co-authored-by: Umang-Shikarvar <143333868+Umang-Shikarvar@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Build Multi-Platform Release Fix release workflow failure by removing Admin UI dependency mutation in CI Oct 18, 2026
Copilot AI requested a review from Umang-Shikarvar October 18, 2026 19:27
@Umang-Shikarvar
Umang-Shikarvar marked this pull request as ready for review October 18, 2026 19:30
@Umang-Shikarvar
Umang-Shikarvar merged commit a010cfa into main Oct 18, 2026
1 check passed
@Umang-Shikarvar
Umang-Shikarvar deleted the copilot/fix-build-multi-platform-release branch October 18, 2026 19:53
Umang-Shikarvar added a commit that referenced this pull request Oct 18, 2026
Restores the tree of 84f23f6 (Merge pull request #16), undoing PRs #19,
#20, #21 and #22. That work is preserved on branch fix_cache_callback.
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