Skip to content

Expose active DOMStack watch sessions and actual ports - #354

Merged
bcomnes merged 6 commits into
feat/multiple-watch-buildsfrom
feat/watch-introspection
Nov 23, 2026
Merged

bcomnes merged 6 commits into
feat/multiple-watch-buildsfrom
feat/watch-introspection

Conversation

@bcomnes

@bcomnes bcomnes commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add watchInfo, domstack watch --port, and domstack sessions [id] [--json].
Discover served and --no-serve sessions across projects and expose the actual listener ports.
Keep the initial build report unchanged and treat discovery as advisory.

PR and release dependencies

Depends on DOMStack #353 for ownership and published @domstack/sync@0.1.0 for port fallback and the registry.

Native GitHub stack #357, bottom to top: #353 Ownership → #354 Introspection → #355 Delegation → #356 Replacement.

Validation

The complete local stack passed 1,002 Node tests, 16 Chromium tests, TypeScript, and lint on macOS with the published cpx2@9.1.0 and @domstack/sync@0.1.0 packages.
Linux and macOS PR checks are the rollout gate.

Refs #352. The human maintainer handles merging and publishing.

@socket-security

socket-security Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​domstack/​sync@​0.0.8 ⏵ 0.1.07710010090100

View full report

@bcomnes
bcomnes added this pull request to stack #357 November 22, 2026 22:08
@bcomnes bcomnes changed the title feat/watch introspection Expose active DOMStack watch sessions and actual ports Nov 22, 2026
@github-actions

Copy link
Copy Markdown

Coverage Report for CI Build 45075996459

Warning

No base build found for commit 358fbea on feat/multiple-watch-builds.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 96.654%

Details

  • Patch coverage: 10 uncovered changes across 2 files (170 of 180 lines covered, 94.44%).

Uncovered Changes

File Changed Covered %
lib/cli/sessions.js 38 29 76.32%
lib/watch/index.js 107 106 99.07%
Total (7 files) 180 170 94.44%

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 12704
Covered Lines: 12431
Line Coverage: 97.85%
Relevant Branches: 4568
Covered Branches: 4263
Branch Coverage: 93.32%
Branches in Coverage %: Yes
Coverage Strength: 1059.38 hits per line

💛 - Coveralls

@bcomnes

bcomnes commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

Looks good

@bcomnes
bcomnes merged commit 00e634b into master Nov 23, 2026
7 checks passed
@bcomnes
bcomnes deleted the feat/watch-introspection branch November 23, 2026 00:56
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.

1 participant