Skip to content

Session: one new attempt after other settings, and the allowlist path keeps its mark - #10

Merged
limeflash merged 1 commit into
mainfrom
resync-reconnect-wlerr
Dec 2, 2026
Merged

limeflash merged 1 commit into
mainfrom
resync-reconnect-wlerr

Conversation

@limeflash

Copy link
Copy Markdown
Contributor

Two small things the window needed from the service.

  • A first connect that ended in error with no_server_answers gets one new attempt when the panel returns other settings (resync: changed), as if the person pressed Connect again. The status goes to connecting and keeps resync: "changed" until the attempt ends, so the window shows "new settings, connecting again". One attempt only: the subscription is asked again at most once in 10 minutes.
  • A session on the allowlist path that whitelist_auto chose and that ends (error, blocked) keeps purpose: "whitelist" beside whitelist_by_rule, so the window can show that it was the allowlist channel that did not come up.

Window: connecting with resync: changed shows the "new settings" state; an ended rule-selected session shows the allowlist error state. docs/ipc.md updated.

Checked: two new cases in TestSessionScenarios (both fail without the change), go vet and go test ./..., tsc --noEmit. Not checked in the running window.

🤖 Generated with Claude Code

…e new attempt, and the rule's allowlist path keeps its mark when its session ends

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@limeflash
limeflash merged commit 2888f4b into main Dec 2, 2026
2 checks passed
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