Repository navigation
App Health web vitals opt-in and Hub stage timing - #188
Merged
Merged
Conversation
Adds data-vitals to the landing and /hub tracker tags (landing.generated.ts patched for the attribute only; a full regeneration also pulled unrelated studio-feed footer drift). Adds sampled api.stage_timing logs for /v1/life/today (auth, d1, ext_live, ext_calorie stages) and /v1/sync/*, inert without APP_HEALTH_INGEST_KEY. sass-maker/app-health#83. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sarthakagrawal927
force-pushed
the
speed/83-significanthobbies
branch
from
October 11, 2026 12:14
e3b5347 to
2897185
Compare
Member
Author
|
Deployed personal-platform (hub-backend |
Member
Author
|
Correction to the previous comment: I did not compare /hub against the pre-deploy build. It returns 302 to live.significanthobbies.com/hub, which is the hub's documented origin. |
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.
Part of the fleet speed program (sass-maker/app-health#83). Codex drafted; Claude reviewed every line, fixed one test expectation (push without JSON content type returns 415), and ran
npm run check(types, typecheck, 77/77 tests, deploy dry run).Measured (before, production, this Mac, SIN/HKG)
/TTFB 298-975 ms (8 samples, median ~345),server-timing app;dur3-47 ms. Server time is small; nothing to fix.Change
data-vitalson the landing (UI-library head slot) and/hubtracker tags.landing.generated.tsis patched for the attribute only: a full regeneration also pulled studio-feed footer drift (new Live/Kith links), which is out of scope.api.stage_timing(APP_HEALTH_STAGE_SAMPLE_RATE, default 0.1) forGET /v1/life/today(auth_ms,d1_ms,ext_live_ms,ext_calorie_ms),GET /v1/sync/pull,POST /v1/sync/push. Fixed templates, no ids/query/user data, fail-open, inert withoutAPP_HEALTH_INGEST_KEY.🤖 Generated with Claude Code