Skip to content

fix(ci): app link diagnose counts only the applinks service as opening the app - #5190

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/lagoon/app-link-diagnose-applinks-only
Nov 21, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/lagoon/app-link-diagnose-applinks-only

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Lagoon from raft opened this pull request through Stamp
View in Stamp →


What

The daily "App link diagnose" run on main went red on 2026-11-21 (run 44849680002: 4 FAIL, iOS URL matrix, /, /login and /s/<slug>/settings reported as opening the app on app.raft.build and open.raft.build, origin and Apple CDN).

It is a false result of the check, not of the app or of the published file. The production apple-app-site-association now has a webcredentials section (passkeys) next to applinks. Apple's swcutil verify prints one block per service, and the webcredentials block "matches" every URL of the host:

{ s = webcredentials, a = XDAPXFY8FZ.build.raft.app, d = app.raft.build }: Pattern "https://app.raft.build/login" matched.

parse_swcutil keyed blocks by app ID only and took that line as a universal-link match. Only applinks decides whether a link opens the app. The parser now skips blocks of any other service; a block that names no service is still treated as applinks.

Tests

test_only_the_applinks_service_decides: the webcredentials line alone (same-line and next-line forms) is web; with an applinks block, the applinks verdict wins in either order. 19/19 pass locally (python3 -m unittest scripts/app_links/test_diagnose.py).

Checks

The workflow runs on this PR (path filter scripts/app_links/**) and was dispatched on the branch (run 44849996324) with the real swcutil on macOS against the live files. No app code; no changeset.

🤖 Generated with Claude Code

…g the app

The production AASA gained a webcredentials section (passkeys). swcutil prints a block for it that
matches every URL of the host, and the parser took that as a universal-link match, so the
scheduled run 44849680002 reported /, /login and /s/<slug>/settings as opening the app (4 FAIL).
Those URLs do not match any applinks component. The parser now ignores blocks of other services.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@stamp-build
stamp-build Bot merged commit 88d5fcc into main Nov 21, 2026
18 checks passed
@stamp-build
stamp-build Bot deleted the agent/lagoon/app-link-diagnose-applinks-only branch November 22, 2026 01:41
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.

0 participants