Skip to content

ci(repo): bump uip-go to 0.3.7 for the Coded App registration race - #1565

Merged
david-rios-uipath merged 1 commit into
mainfrom
ci/bump-uip-go-0.3.6
Nov 12, 2026
Merged

david-rios-uipath merged 1 commit into
mainfrom
ci/bump-uip-go-0.3.6

Conversation

@david-rios-uipath

@david-rios-uipath david-rios-uipath commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

About 40% of preview deploys on Nov 10 failed at uip codedapp publish:

HTTP 400 error occurred during coded app registration
"Published app with package name 'apollo-landing-pr-1564' and version '0.1.0-pr1564.ea2bcce.1' already exists"

The version is new for every run. Orchestrator's package-upload event registers it a moment before the CLI's register call lands, so the Apps service answers "already exists". Example runs: 42920022200, 42898282225, 42896317950, 42885634762.

Changes

  • preview-deploy.yml: UIP_GO_VERSION 0.3.5 → 0.3.7.
  • production-deploy.yml: UIP_GO_VERSION 0.3.3 → 0.3.7, and cancel-in-progress: false.

uip-go 0.3.6 (UiPath/uip-go#7) pins the uip CLI to 1.205.0-preview.293, which includes UiPath/cli#4924. When the 400 names this exact package and version, the CLI checks the app's type and feed and continues. uip-go stops the CLI from updating itself, and a real same-version republish still fails with the bump --version message.

Production

5e2fb60 kept production on 0.3.3 "for now" without saying why. This PR moves it to 0.3.7, which brings in:

  • 0.3.4: on an app model mismatch, uip-go deletes the stale app and redeploys on the new model under the same path.
  • 0.3.5: an "already exists" registration error fails fast instead of retrying three times.
  • 0.3.7 (UiPath/uip-go#8): if that redeploy fails, uip-go restores the previous app. After a gateway error it checks the app's real state before deciding, so a delete or deploy that went through isn't misreported. A deleted app's old version redeploying to the same path was checked live on alpha.

A cancelled run could still stop between the delete and the redeploy, so production now sets cancel-in-progress: false. A newer push waits for the running deploy instead of killing it.

If there was a reason for the 0.3.3 hold, say so and I'll drop the production change.

Notes for review

  • The new CLI pulls in the optional dependency @uipath/codedapp-convert-sdk from UiPath/apps-dev-tools. The preview deploy on 0.3.6 installed it without trouble.
  • 0.3.7 is published when UiPath/uip-go#8 merges. Until then, this PR's preview deploy fails at the uip-go install step.

Verification

This PR's own preview deploy runs on 0.3.7 once it is released. An earlier push ran all four Coded App previews on 0.3.6 successfully. Production runs on the next deploy after merge.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings November 11, 2026 06:19
@github-actions
github-actions Bot temporarily deployed to preview/apollo-vertex November 11, 2026 06:19 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-design November 11, 2026 06:19 Destroyed
@github-actions github-actions Bot added the ci label Nov 11, 2026
@github-actions
github-actions Bot temporarily deployed to preview/apollo-docs November 11, 2026 06:19 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-landing November 11, 2026 06:19 Destroyed
@github-actions github-actions Bot added the size:XS 0-9 changed lines. label Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency License Review

  • ✅ 1958 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1722
ISC 91
Apache-2.0 57
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 4
CC0-1.0 4
MIT-0 3
MIT OR Apache-2.0 2
(MIT OR Apache-2.0) 2
Unlicense 2
LGPL-3.0-or-later 1
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.3.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The upgrade can delete the live production app and leave it unavailable if redeployment fails or the workflow is canceled.

1 open issue
What changed in this PR

Updates deployment workflows to uip-go 0.3.6 to address the Coded App registration race through its pinned CLI.

Changes:

  • Upgrades preview deployments from 0.3.5 to 0.3.6.
  • Upgrades production deployments from 0.3.3 to 0.3.6, also adopting intervening recovery behavior changes.
File Description
.github/​workflows/​production-deploy.yml Updates the production uip-go version to 0.3.6.
.github/​workflows/​preview-deploy.yml Updates the preview uip-go version to 0.3.6.

Review effort: Balanced

Comment thread .github/workflows/production-deploy.yml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage + size by package

Per-package bundle size on this PR (no JS/TS source changes detected under packages/* or web-packages/*).

Package Coverage New-line coverage Packed (gzip) Unpacked vs main
@uipath/apollo-core — — — — —
@uipath/apollo-react — — — — —
@uipath/apollo-ui-icons — — — — —
@uipath/apollo-vertex — — — — —
@uipath/apollo-wind — — — — —
@uipath/ap-chat — — — — —

"Coverage" is each package's own coverage.include scope (e.g. apollo-core instruments only scripts/). "Packed"/"Unpacked" come from npm pack --dry-run and only cover built packages — "—" means not measured this run (package not affected / not built). "vs main" is the packed (gzipped) delta against the last successful main build (the package-sizes artifact from the Release workflow); "—" there means no main baseline was available this run. The baseline is main's latest build, not this PR's exact merge-base, so it includes any drift since the branch diverged. Packages with no vitest config are omitted.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Storybook visual diff

✅ No stories are affected by this PR's changes; nothing to compare. Logs

Updated (PT): Nov 12, 2026, 08:21:54 AM

Preview deploys failed intermittently at `uip codedapp publish` with HTTP
400 "Published app ... already exists" for a version that was new to the
run. Orchestrator's package-upload event registers the version a moment
before the CLI does. uip-go 0.3.6 pins the uip CLI to 1.205.0-preview.293,
which includes UiPath/cli#4924 and accepts that registration. A real
same-version republish still fails with the bump --version message.

production-deploy.yml moves from 0.3.3 to 0.3.7. That brings in 0.3.4,
which deletes and redeploys an app bound to a stale app model, and 0.3.7,
which restores the previous app if that redeploy fails. Production also
stops cancelling a running deploy, since a cancel between the delete and
the redeploy would leave the app down.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 16:11
@david-rios-uipath david-rios-uipath changed the title ci(repo): bump uip-go to 0.3.6 for the Coded App registration race ci(repo): bump uip-go to 0.3.7 for the Coded App registration race Nov 12, 2026
@github-actions
github-actions Bot temporarily deployed to preview/apollo-landing November 12, 2026 16:12 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-design November 12, 2026 16:12 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-vertex November 12, 2026 16:12 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-docs November 12, 2026 16:12 Destroyed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Maintainer verification is needed for uip-go 0.3.7’s availability and production rollback behavior, as well as the unresolved prior production hold.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@david-rios-uipath
david-rios-uipath merged commit de2d189 into main Nov 12, 2026
44 of 45 checks passed
@david-rios-uipath
david-rios-uipath deleted the ci/bump-uip-go-0.3.6 branch November 12, 2026 17:15

This branch was successfully deployed

No deployments
preview/apollo-docs — 55709b38 Deployed Nov 12, 2026 by github-actions[bot]
preview/apollo-vertex — 55709b38 Deployed Nov 12, 2026 by github-actions[bot]
preview/apollo-design — 55709b38 Deployed Nov 12, 2026 by github-actions[bot]
preview/apollo-landing — 55709b38 Deployed Nov 12, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci size:XS 0-9 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants