Title: fix(ci): harden desktop prerelease tag computation by waleedlatif1 · Pull Request #6044 · simstudioai/sim · GitHub
Open Graph Title: fix(ci): harden desktop prerelease tag computation by waleedlatif1 · Pull Request #6044 · simstudioai/sim
X Title: fix(ci): harden desktop prerelease tag computation by waleedlatif1 · Pull Request #6044 · simstudioai/sim
Description: Summary Flagged by Cursor Bugbot on #6042. With no stable releases, gh release list --jq '.[0].tagName' prints the literal string null — ${LATEST:-v0.0.0} doesn't treat that as empty, so the tag became vnull..1-beta.N and gh release create fails on the invalid ref Replaced the :- fallback with a ^v?[0-9]+\.[0-9]+\.[0-9]+$ shape check, so null / empty / any non-semver tag correctly falls back to v0.0.0 Dropped the || true, which swallowed a failed release query and fell back to v0.0.0 — that published a v0.0.1-beta.N prerelease sorting below the shipped stable, so beta-channel shells would silently never see it as an update. Now fails loudly with ::error:: Not reachable on simstudioai/sim today (200 releases, v0.7.47 stable, and the prune job only deletes prereleases), but it breaks forks and the swallowed-failure path is a green run that quietly takes the update channel down. Type of Change Bug fix Testing Tested manually — ran the tag logic against each input: LATEST resulting tag v0.7.47 v0.7.48-beta.42.1 (unchanged) null v0.0.1-beta.42.1 "" / v0.7 / v1.2.3-rc1 v0.0.1-beta.42.1 query fails exits 1 with ::error:: actionlint reports nothing new on the edited block (remaining output is pre-existing Blacksmith runner labels and unrelated SC2086). Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Flagged by Cursor Bugbot on #6042. With no stable releases, gh release list --jq '.[0].tagName' prints the literal string null — ${LATEST:-v0.0.0} doesn't treat that as empty, ...
X Description: Summary Flagged by Cursor Bugbot on #6042. With no stable releases, gh release list --jq '.[0].tagName' prints the literal string null — ${LATEST:-v0.0.0} doesn't treat tha...
Opengraph URL: https://github.com/simstudioai/sim/pull/6044
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3b93793d-849d-5916-2ffa-92e8000075c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8264:32D628:70EA54:9BBC32:6AFB433B |
| html-safe-nonce | 3bd66b46b77644607514191b11cfb4fc65714ac02a0479be52e995d55b5e56e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjY0OjMyRDYyODo3MEVBNTQ6OUJCQzMyOjZBRkI0MzNCIiwidmlzaXRvcl9pZCI6IjU4MTQ1NDU2NjM2MzA0NTk3MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f6cb897827939cb35d147c35de0618c9bdba0ad02a4d3eb3be60e74356ab3f4a |
| hovercard-subject-tag | pull_request:4156813928 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6044/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Flagged by Cursor Bugbot on #6042. With no stable releases, gh release list --jq '.[0].tagName' prints the literal string null — ${LATEST:-v0.0.0} doesn't treat that as empty, ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width