Repository navigation
fix(ci): app link diagnose counts only the applinks service as opening the app - #5190
Merged
stamp-build[bot] merged 1 commit intoNov 21, 2026
Merged
Conversation
…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
Bot
deleted the
agent/lagoon/app-link-diagnose-applinks-only
branch
November 22, 2026 01:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The daily "App link diagnose" run on
mainwent red on 2026-11-21 (run 44849680002: 4 FAIL, iOS URL matrix,/,/loginand/s/<slug>/settingsreported 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-associationnow has awebcredentialssection (passkeys) next toapplinks. Apple'sswcutil verifyprints one block per service, and thewebcredentialsblock "matches" every URL of the host:parse_swcutilkeyed blocks by app ID only and took that line as a universal-link match. Onlyapplinksdecides 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) isweb; 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 realswcutilon macOS against the live files. No app code; no changeset.🤖 Generated with Claude Code