镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(server): Hide short-lived preview listeners - #107

Draft
mwolson wants to merge 1 commit into
contrib/ios-compose-button-layoutfrom
contrib/preview-probes-binary-services
Draft

mwolson wants to merge 1 commit into
contrib/ios-compose-button-layoutfrom
contrib/preview-probes-binary-services

Conversation

@mwolson

@mwolson mwolson commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Preview discovery lists every listening port an agent's processes own. A port that exists for a moment, such as a test worker's or a build daemon's, flashes into the list and can be opened as a Preview while it is gone a second later.

A new owned port is now listed once it has been up for one poll interval. Ports already up when a client first looks, or when discovery resumes after an idle period, appear at once, and a failed listener read keeps the timing it had.

Upstream pingdotgg#27893 (preview discovery stops sending HTTP and TLS to agent-started ports) already covers what this layer used to carry from pingdotgg/t3code#26289: no probes to owned ports, the T3CODE_PORT_DISCOVERY=0 opt-out, and configured URLs kept when their check fails. Drop this layer if upstream adds the settling delay.

Validation: PortScanner.test.ts passes, and four settling cases fail without the change.

@mwolson
mwolson added this pull request to stack #108 October 30, 2026 18:15
@mwolson
mwolson removed this pull request from stack #108 November 6, 2026 18:54
@mwolson
mwolson added this pull request to stack #110 November 6, 2026 18:55
@mwolson
mwolson removed this pull request from stack #110 November 9, 2026 22:52
@mwolson
mwolson added this pull request to stack #112 November 9, 2026 22:52
@mwolson
mwolson removed this pull request from stack #112 November 10, 2026 03:11
@mwolson
mwolson changed the base branch from contrib/queued-edit-during-compaction to contrib/ios-compose-button-layout November 10, 2026 03:11
@mwolson
mwolson force-pushed the contrib/preview-probes-binary-services branch from 7333b75 to 6d1d0d2 Compare November 10, 2026 03:11
@mwolson
mwolson added this pull request to stack #113 November 10, 2026 03:12
@mwolson mwolson changed the title fix(server): Stop preview discovery from probing local ports fix(server): Hide short-lived preview listeners Nov 10, 2026
Wait one poll interval before listing a newly discovered owned listener.
Show existing listeners immediately on the first successful read after idle,
and preserve timing across failed listener reads.
@mwolson
mwolson removed this pull request from stack #113 November 10, 2026 06:59
@mwolson
mwolson force-pushed the contrib/preview-probes-binary-services branch from 6d1d0d2 to 33a9776 Compare November 10, 2026 06:59
@mwolson
mwolson added this pull request to stack #117 November 10, 2026 07:00
@mwolson
mwolson removed this pull request from stack #117 November 10, 2026 07:35
@mwolson
mwolson added this pull request to stack #119 November 10, 2026 07:35
@mwolson
mwolson removed this pull request from stack #119 November 10, 2026 14:59
@mwolson
mwolson added this pull request to stack #121 November 10, 2026 14:59
@mwolson
mwolson removed this pull request from stack #121 November 10, 2026 21:17
@mwolson
mwolson added this pull request to stack #123 November 10, 2026 21:17
@mwolson
mwolson removed this pull request from stack #123 November 11, 2026 23:29
@mwolson
mwolson added this pull request to stack #125 November 11, 2026 23:30
@mwolson
mwolson removed this pull request from stack #125 November 12, 2026 00:24
@mwolson
mwolson added this pull request to stack #127 November 12, 2026 00:25

This branch has not been deployed

No deployments
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