Commit e8cd6dc
authored
Feature(Workflow): New beta tests workflow (#587)
* feat(desktop): add beta version browser with downgrade support
* ci: run CI on push to develop and add merge_group trigger
Add `develop` to push branches so merges run the full test suite
post-merge, and add the `merge_group` trigger to make CI merge-queue
ready. Harden the i18n gate on push/merge_group by making the compile
step fail hard instead of continuing (auto-translate commit-back only
makes sense on pull_request events).
* fix(release): parse full semver pre-releases and unify version logic
Rewrite the release version model around real semver pre-release
identifiers instead of the ad-hoc {beta, staging} fields, so historical
tags like v0.7.0-rc.* and v0.4.0-electron parse and order correctly.
- scripts/release-version.mjs is now the single source of truth for
parsing and comparing release versions; the desktop release catalog
delegates to it (via a new @root alias to the repo root) instead of
duplicating the regex and comparator
- add isBetaVersion/betaNumberOf helpers and restrict the issue-template
beta slots to -beta tags, keeping rc/electron pre-releases out of the
dropdown
- ship a release-version.d.mts declaration so the Electron main process
can type-check the shared .mjs module
* feat(release): add beta release provenance
* refactor: split components in diferent files
* feat(release): show cover art and metadata in beta version browser
- parse release presentation (title, description, cover image) from
release notes and expose it through the desktop release catalog and
preload type definitions
- redesign the beta version browser with cover thumbnails, a search
hero, direction badges, and dedicated loading/empty/search states
- replace the downgrade confirmation modal with a discreet popover
(no overlay)
- group all beta-only browser components under components/updates/beta
and add ScrollArea and DotGrid UI primitives
- scroll beta browser content through the new ScrollArea and add
staggered entrance animations
- update i18n catalogs (en, es, fr, pt-BR, sq) and remove the
superseded BETA_RELEASE_PROVENANCE spec
* feat: add version size on card
* fix(release): fail staging listener on conflicting PR instead of silent
skip
* refactor(release): trigger PR staging manually and require a green CI
run
* refactor(staging): unify PR staging into a single branch-driven workflow
* feat: add skip notarize
* feat: add skip notorize to macos
* feat: add publish pre-release step
* fix: PR detecting and add pre-release cleanup
* feat(staging): dispatch staging by PR number from develop
* fix(staging): run cleanup via pull_request_target from develop
* refactor: remove useless code and deadcode
* fix(beta): address PR review findings in beta update flow
- Rank numbered betas (beta.N) above per-PR staging builds (beta-<slug>)
of the same core in compareReleaseVersions, so staging builds no
longer
sort above real betas or get auto-selected by the updater's upgrade
pick
- Restrict release-notes images to the trusted GitHub host allowlist
(shared trustedAssetUrl), closing a tracking-pixel vector from
attacker-influenceable beta tags
- Use isLoading instead of isPending in BetaVersionsView so the loading
flag clears when the versions query is disabled (empty state
reachable)
- Validate TRIGGER_SHA and TAG in compose-release-notes before they
reach
git as bare arguments, preventing option-injection
- Document the load-bearing host-pinning at the runtime setFeedURL call1 parent 8c4254b commit e8cd6dc
61 files changed
Lines changed: 5709 additions & 873 deletions
File tree
- .github
- rulesets
- workflows
- apps
- desktop
- src
- main
- ipc
- services
- preload
- studio
- src
- components
- aicanvas
- ui
- updates
- beta
- hooks
- locales
- docs
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | | - | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
16 | | - | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
50 | | - | |
| 59 | + | |
51 | 60 | | |
52 | 61 | | |
53 | 62 | | |
54 | | - | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
59 | | - | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
63 | | - | |
64 | | - | |
| 72 | + | |
| 73 | + | |
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
68 | | - | |
69 | | - | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | | - | |
80 | | - | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | | - | |
86 | | - | |
87 | 93 | | |
88 | | - | |
89 | | - | |
| 94 | + | |
90 | 95 | | |
91 | | - | |
92 | | - | |
| 96 | + | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | | - | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
119 | | - | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| 172 | + | |
168 | 173 | | |
169 | 174 | | |
170 | 175 | | |
| |||
206 | 211 | | |
207 | 212 | | |
208 | 213 | | |
209 | | - | |
210 | 214 | | |
211 | | - | |
| 215 | + | |
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
| |||
236 | 240 | | |
237 | 241 | | |
238 | 242 | | |
239 | | - | |
| 243 | + | |
240 | 244 | | |
241 | 245 | | |
242 | 246 | | |
| |||
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
| 316 | + | |
312 | 317 | | |
313 | 318 | | |
314 | 319 | | |
| |||
317 | 322 | | |
318 | 323 | | |
319 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
320 | 330 | | |
321 | 331 | | |
322 | 332 | | |
| |||
331 | 341 | | |
332 | 342 | | |
333 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
334 | 361 | | |
335 | 362 | | |
336 | 363 | | |
| |||
369 | 396 | | |
370 | 397 | | |
371 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
372 | 403 | | |
373 | 404 | | |
374 | | - | |
| 405 | + | |
375 | 406 | | |
376 | 407 | | |
377 | 408 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments