Repository navigation
ci: expand Vitest coverage to owner-resource lifecycle (#651) - #666
Merged
Merged
Conversation
Fooftilly
temporarily deployed
to
project-automation
October 14, 2026 14:44 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
24 of 64 tasks
This was referenced Oct 14, 2026
This branch was previously deployed
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
Incremental B1 expansion under #651 following the merged #665. Extend the same existing Vitest coverage pilot to include the owner-scoped resource lifecycle module
frontend-app/src/lifecycle/owner-resource.tsand its existingowner-resource.test.ts, while retainingtab-leave.tsandquery/retry.ts.This is a high-value correctness slice: owner tokens, generation/epoch validity, warm suspend/resume and cold release prevent stale UI resources (including PDF and notes editors) from being reused or left attached.
Scope and safeguards
.github/workflows/vitest-coverage-pilot.ymlchanges. No application code, dependencies, build artifacts or other CI jobs.Verified focused coverage run
GitHub Actions run 38583146240 passed on head
38fe707. All 32 tests in the three targeted test files passed.src/lifecycle/tab-leave.tssrc/lifecycle/owner-resource.tssrc/query/retry.tsThese figures are only for the three targeted modules; remaining CI and review outcomes must be checked separately.
Validation
src/{lifecycle/tab-leave,lifecycle/owner-resource,query/retry}.tsmatches exactly the three intended modules.tab-leave.ts77/94 lines and 53/84 branches,retry.ts7/7 lines and 6/6 branches. Recordowner-resource.tsnumbers from CI rather than assuming them.Base:
master@6045040f68cba92020dc5fa25cdb89c9cdef743d(#665 merge). Refs #651, #665, #664.Do not auto-merge; maintainer approval remains required.