Repository navigation
Improve Racked PWA reliability, security, accessibility, and testing - #1
Merged
Merged
Conversation
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.
Summary
Improve Racked's reliability while keeping its self-contained HTML/CSS/JavaScript architecture, existing features, version-1 backups, and zero runtime dependencies.
AGENTS.mdconcise.Keep deployment simple
Keep the existing GitHub Pages Deploy from a branch → main → /(root) setup and URL. Remove the unnecessary
pages.ymlpublishing workflow and references to switching deployment systems. No replacement workflow, build step, Pages settings change, merge or deployment is included. Development files stay in Git; the app loads only its runtime assets. Changes tomainpublish through the existing Pages process, so merging requires approval.WebKit test failure
The previous CI passed the main 55 tests and 13/14 additional WebKit tests. The remaining failure matches a confirmed Playwright/WebKit offline-emulation bug: #42775, fixed upstream in #42894. Offline emulation can reject navigation before the service worker handles it, including when a worker returns literal HTML.
The compatibility test now disconnects the origin server instead. It requires a 200 response from the installed service worker and verifies that saved notes and sets survive. No application behavior, dependency version or caching logic was changed to satisfy the test. Chromium's existing browser-offline checks remain, and no error is caught/ignored or assertion disabled.
Verification
npm test: 55 passed, 0 failed, 0 skipped.578c7c3. The previously failing navigation now passes.git diff --checkpassed; production dependency tree remains empty.Final HTML + service-worker size versus original
07da71d: 1,627 → 1,963 lines; 73,466 → 92,451 bytes; 18,368 → 24,040 gzip bytes. The earlier simplification removed 196 net repository lines without removing test cases. There is no claimed overall startup speedup.Remaining checks
Real iPhone/iPad Safari and Home Screen installation validation remains outstanding; Linux WebKit is not a substitute. Refresh older Racked tabs before rollout because old loaded code cannot honor the new writer lock. Browser storage remains local and should be backed up.
See docs/technical-review.md for engineering details. This PR is for review only; do not merge or deploy without explicit approval.