Repository navigation
ci(repo): bump uip-go to 0.3.7 for the Coded App registration race - #1565
Conversation
Dependency License Review
License distribution
Excluded packages
|
There was a problem hiding this comment.
🟡 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
📊 Coverage + size by packagePer-package bundle size on this PR (no JS/TS source changes detected under
"Coverage" is each package's own |
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>
ce34e37 to
55709b3
Compare

Problem
About 40% of preview deploys on Nov 10 failed at
uip codedapp publish: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_VERSION0.3.5 → 0.3.7.production-deploy.yml:UIP_GO_VERSION0.3.3 → 0.3.7, andcancel-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 thebump --versionmessage.Production
5e2fb60 kept production on 0.3.3 "for now" without saying why. This PR moves it to 0.3.7, which brings in:
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
@uipath/codedapp-convert-sdkfromUiPath/apps-dev-tools. The preview deploy on 0.3.6 installed it without trouble.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