Skip to content

fix(desktop): resolve the listen selection once - #28

Merged
Khang5687 merged 1 commit into
fork-mainfrom
fix/exposure-listen-selection
Sep 17, 2026
Merged

Khang5687 merged 1 commit into
fork-mainfrom
fix/exposure-listen-selection

Conversation

@Khang5687

Copy link
Copy Markdown
Owner

DesktopExposureResolution carried a pre-formatted listenSelection string beside the structured listenInterfaces it was built from. After #9 the only reader left was a tracing span annotation; every other consumer formats the structured value where it is used.

Dropped the field and annotated the span with formatListenInterfaces(next.resolution.requested). The ADR 0003 invariant tests (no pre-resolved IP, no wildcard in the envelope) now assert against the formatted structured value, and the invariant note moved onto requested.

Refs #19.

Claude Opus 5 via Claude Code.

Drop the pre-formatted listenSelection string from DesktopExposureResolution and format the structured requested selection at the one place that still needed a string.
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Sep 17, 2026
@Khang5687
Khang5687 merged commit 2b9aa60 into fork-main Sep 17, 2026
7 of 15 checks passed
@Khang5687
Khang5687 deleted the fix/exposure-listen-selection branch September 17, 2026 06:52
@Khang5687

Copy link
Copy Markdown
Owner Author

Post-merge finding (#29 merged as 6880d9d): the workflow cannot fire yet.

GitHub registers schedule and workflow_dispatch only from the repo's default branch. The fork's default branch is main, the upstream mirror (currently 12a9d55, behind upstream 1ab2dfb). fork-sync.yml lives on fork-main, so gh workflow run fork-sync.yml returns 404 and the nightly cron will never run.

main cannot carry the file (the mirror push would overwrite it). The only fix is a repo setting: switch default branch to fork-main. Owner action, not automatable here. Side effects once flipped: Closes #N in fork-main PRs starts auto-closing issues; new clones land on fork-main; upstream compare links default to fork-main.

After the flip: run gh workflow run fork-sync.yml -R Khang5687/t3code once, confirm the mirror push lands main at upstream HEAD, then add a one-line "default branch must be fork-main" note to docs/fork/WORKFLOW.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant