Skip to content

fix(release): unblock the release run and release 0.1.2 - #53

Merged
rgxdev merged 6 commits into
mainfrom
quavon/fix-run-errors
Nov 17, 2026
Merged

rgxdev merged 6 commits into
mainfrom
quavon/fix-run-errors

Conversation

@rgxdev

@rgxdev rgxdev commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Fixes the two failures of the Start release run 44044260495 and prepares the release as 0.1.2.

Release run fixes

  • release / mobile: scripts/check-version.sh piped awk into grep -q. grep exited on the first match, awk failed writing the rest of the long 0.1.1 section (awk: i/o error occurred while closing /dev/stdout), and pipefail turned that into "CHANGELOG.md has no '## [0.1.1]' section". awk now decides itself, with no pipe.
  • release / sign: scripts/check-entitlements.sh parsed plutil -p, which prints booleans as 1 on the macOS 15 runners instead of true. It now reads plutil -convert json with jq (already used by scripts/third-party-licenses.sh and the release jobs). Entitlements JSON cannot hold, or arrays of non-strings, are reported as a mismatch instead of aborting the script.

0.1.2

The failed run already created tag v0.1.1 (at c8fc5d7) without publishing, and Start release refuses an existing tag, so the release becomes 0.1.2:

Merge #52 before starting the 0.1.2 release: its Fixed entry is listed here, and #52 no longer carries its own changelog hunk.

The orphaned v0.1.1 tag does not block 0.1.2; deleting it is a maintainer decision.

Checks

  • scripts/check-version.sh v0.1.2 passes; v0.1.1/v0.1.3 fail with the right messages.
  • Entitlement parser tested on sample plists (booleans, string arrays, empty arrays, boolean arrays, <date>, no entitlements).
  • cargo metadata --locked passes in the root, linux/, mobile/ and nsh-shared/; xmllint passes on the metainfo.
  • Not run: check-entitlements.sh on a real signed bundle (no signed Tarn.app locally; the next release run's sign job is its first real run). Workspace fmt/clippy/test not run locally: the diff changes no Rust code, only version strings; CI runs them.
  • fuzz/Cargo.lock is otherwise stale on main (a full cargo update -w would add 24 registry crates); left for a separate change with the licence and deny checks.

Threat model

Touches the update/release boundary (docs/threat-model.md S4) only by fixing the entitlement gate's parsing; the expected entitlement sets and every other gate are unchanged, and the check still fails closed.

…nners

check-version.sh piped awk into grep -q; grep exited on the first match
and awk failed writing the rest of the 0.1.1 section, which pipefail
turned into a missing-changelog error. awk now decides on its own.

check-entitlements.sh parsed plutil -p, which prints booleans as 1 on
macOS 15 instead of true. Parse the JSON form with jq instead.

Signed-off-by: rgxdev <hello@d-aaron.dev>
Raises every client's version to 0.1.2 (scripts/check-version.sh), the
Android versionCode and the iOS build number to 3, the workspace crates
in all five lockfiles, adds the release to the Flatpak metainfo, and
dates the changelog's 0.1.2 section.

The v0.1.1 tag was created by a release run that failed before
publishing, so 0.1.1 never shipped: its notes are folded into 0.1.2 and
0.1.2 compares against v0.1.0.

Signed-off-by: rgxdev <hello@d-aaron.dev>
@rgxdev
rgxdev requested a review from a team as a code owner November 17, 2026 09:08
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

MadebyLeopold
MadebyLeopold previously approved these changes Nov 17, 2026
Signed-off-by: rgxdev <hello@d-aaron.dev>

# Conflicts:
#	CHANGELOG.md
MadebyLeopold
MadebyLeopold previously approved these changes Nov 17, 2026
rgxdev added a commit that referenced this pull request Nov 17, 2026
MadebyLeopold
MadebyLeopold previously approved these changes Nov 17, 2026
The test rules blocked extension.tarnbrowser.com instead of
extensions.tarnbrowser.com, so navigations to the store link reached the
live site: the Linux display test failed on the missing load failure and
the macOS engine test on the missing blocked request.

Signed-off-by: rgxdev <hello@d-aaron.dev>
rgxdev added a commit that referenced this pull request Nov 17, 2026
* fix(windows): find install and data folders after a profile move

The installer reused the folder an earlier install recorded, which
PrepareToInstall then refused once the user profile had moved to another
drive; it now always takes the current Local AppData. Without
LOCALAPPDATA in its environment Tarn kept its data in the folder it was
started from; it now falls back to the Local AppData known folder, the
one the installer and uninstaller use. The installed tarn.exe re-points
an earlier Make Default registration that names another path.

Signed-off-by: rgxdev <hello@d-aaron.dev>

* fix(windows): retry an unfinished browser registration

The refresh at start only compared the link command, which Make Default
writes third, so a later failed write was never retried. It now reads
the link command, the Start menu client command and the Default Apps
listing, and registers again when any of them is missing or names
another executable. The installed check compares resolved paths, so a
short-name or junction launch still counts.

Signed-off-by: rgxdev <hello@d-aaron.dev>

* docs(changelog): move the Windows install-folder entry to 0.1.2 (#53)

Signed-off-by: rgxdev <hello@d-aaron.dev>

* test(extensions): block the real store host in the store-link tests

The test rules blocked extension.tarnbrowser.com instead of
extensions.tarnbrowser.com, so navigations to the store link reached the
live site: the Linux display test failed on the missing load failure and
the macOS engine test on the missing blocked request.

Signed-off-by: rgxdev <hello@d-aaron.dev>

---------

Signed-off-by: rgxdev <hello@d-aaron.dev>
@rgxdev
rgxdev merged commit 784d24e into main Nov 17, 2026
12 of 23 checks passed
@rgxdev
rgxdev deleted the quavon/fix-run-errors branch November 17, 2026 10:26
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