oficina / base Public

Merge branch 'fix/mac-font-check' into main

Merge branch 'fix/mac-font-check' into main

release-mac.sh's smoke check now looks for Timeless Sans at the Mac
resource bundle's Contents/Resources/Fonts path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 7b48b695dc3c0fc1ea33f90d1148ebb22937baa8 parent 0f24414parent 082b45b
1 file changed, +1 −1
  • native/scripts/release-mac.sh +1 −1

CI passed — run details

CI log
=== build ===
CGO_ENABLED=0 go build ./...
=== vet ===
go vet ./...
=== fmt-check ===
=== staticcheck ===
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...
=== govulncheck ===
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
No vulnerabilities found.
=== gitleaks ===
10:50AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
10:50AM INF 1 commits scanned.
10:50AM INF scanned ~2380791 bytes (2.38 MB) in 198ms
10:50AM INF no leaks found
=== budget ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 22 directories within budget
=== script-test ===
scripts/prepare-apps_test.sh
ok   releases lookup failure stops before ship
ok   app owned elsewhere stops the script
ok   apps listing failure stops before create
ok   ambiguous release dir is refused
ok   explicit version resolves the ambiguity
ok   releases match is exact, not substring
ok   shipped version is only promoted, existing app not created
ok   fresh account creates, ships, promotes to edge, enables
ok   failing promote stops the script
ok   ship is retried while uploads are rate limited
all passed
hack/fonts_test.sh
fonts_test: ok
=== test ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -count=1 ./...

receipt: test step 7.024s against a 60s target (the gate's other steps are not in this figure)
receipt: 16 packages ran, 0 cached, 6 without tests, 0 failed
receipt: slow package 5.991s amadan.net/oficina/base/internal/webtest
receipt: slow package 1.246s amadan.net/oficina/base/internal/issuer
receipt: slow package 581ms amadan.net/oficina/base/internal/operations
receipt: slow package 192ms amadan.net/oficina/base/internal/consumer
receipt: slow package 162ms amadan.net/oficina/base/internal/web
receipt: slow test 1.51s amadan.net/oficina/base/internal/webtest TestHomeDoesNotWaitOnAStalledSnapshot
receipt: slow test 1.07s amadan.net/oficina/base/internal/webtest TestAskZoneIsToldOnce
receipt: slow test 1.01s amadan.net/oficina/base/internal/issuer TestAuthorizeSignsForInstalledApp
receipt: slow test 520ms amadan.net/oficina/base/internal/operations TestOperationsRefusals
receipt: slow test 220ms amadan.net/oficina/base/internal/webtest TestAskZoneAgainOnANewConnection
=== native ===
strings: copy review's strings.json is not here (git-ignored); its comparison skipped
strings: 119 in the catalog, 116 used
worktree-lib_test: ok
diff --git a/native/scripts/release-mac.sh b/native/scripts/release-mac.sh
index dedab93..2c45426 100755
--- a/native/scripts/release-mac.sh
+++ b/native/scripts/release-mac.sh
@@ -120,7 +120,7 @@ run xcrun stapler validate "$SMOKE/Oficina Base.app"
run spctl --assess --type execute -vv "$SMOKE/Oficina Base.app"
if [[ $PUBLISH == 1 ]]; then
[[ -f "$SMOKE/Oficina Base.app/Contents/embedded.provisionprofile" ]] || die "no embedded provisioning profile"
- [[ -f "$SMOKE/Oficina Base.app/Contents/Resources/BaseNative_BaseKit.bundle/Fonts/TimelessSansVF.woff2" ]] || die "Timeless Sans is not in the bundle"
+ [[ -f "$SMOKE/Oficina Base.app/Contents/Resources/BaseNative_BaseKit.bundle/Contents/Resources/Fonts/TimelessSansVF.woff2" ]] || die "Timeless Sans is not in the bundle"
ents=$(codesign -d --entitlements - --xml "$SMOKE/Oficina Base.app" 2>/dev/null | plutil -convert json -o - -)
for want in 9U4A84C4WK.works.oficina.base 9U4A84C4WK.works.oficina.id 9U4A84C4WK.works.oficina webcredentials:id.oficina.works; do
[[ $ents == *"\"$want\""* ]] || die "entitlement $want missing"