## Problem / 问题 After #702, doona can add and edit proxy chains, but two parts of honk's chain support are still missing. A group's experimental `exit` node can only be set in the configuration text, and the group document from the API does not expose it. When a subscription refresh removes or duplicates a node that a chain hop or group exit names, honk rejects the update and keeps the old nodes, but doona shows only a generic failure. ## How I fixed it / 解决方法 Group exit: - `readGroupEntries` reads `exit`, and `writeGroupEntry` writes it with `quoteName` right after `final`, the same way as `default` and `final`. It is part of the no-change comparison and the save-conflict retry merge. - The group editor has an "Exit node (Experimental)" select, offered only when the engine is honk. It lists None plus nodes that can be a later hop, reusing the `tunnelDialable` check from #702. Chains, groups, direct, block, Hysteria2, TUIC, Juicity and AnyTLS are excluded. - The running-configuration section of the group dialog shows the exit when one is set. - honk's four group exit diagnostic codes have localized messages. Rejected refresh: - When a provider's `last_error.code` is `publication_rejected` and `details.diagnostic_code` is one of the seven chain or exit codes, the subscription status explains that a proxy chain or group exit refers to a node the update removed or duplicated, and that the previous nodes stay in use. The mock `office` group gains `exit: hk-02`, which moves the mock rule lines down by one; the rule tests follow. ## Screenshots | | | |---|---| |  |  | |  |  | |  |  | |  |  | The rejected refresh shots use an intercepted providers response, because the mock has no such provider. All 40 variants are kept locally. ## Verified / 验证 - `pnpm typecheck`, `lint`, `check:i18n`, `format:check`, `check:gen` and `build` all exit 0. - `pnpm test` exits 0: 251 files, 4417 tests. - Playwright on Chromium: 12 specs covering groups, policies, rules, nodes and the builder, 273 tests, all pass. - `check:size`: the Policies chunk is 21055 B gzip, up 213 B. The Nodes route is 73134 B against a 76000 B budget. - Not yet checked against a running honk: the exit write and the real shape of `publication_rejected`, which honk documents in api.md but which has not been observed live.
Changelog fragments
For each pull request, add one Markdown file named after the branch slug: replace / and other non-alphanumeric characters with -, use lowercase, and collapse repeated hyphens. For example, fix/dns-worker-timeout becomes changes/fix-dns-worker-timeout.md.
The first line is one of Added, Changed, Fixed, Removed, Security, or Internal. Follow it with one or more - bullet lines, each describing a change. Blank lines are allowed. Do not add a PR number: the renderer looks up the commit that added the fragment.
Fixed
- DNS workers stop waiting when a request times out.
- Retrying a timed-out request starts a new worker.
Internal
- Contributors write changelog fragments instead of editing the shared Unreleased section.
Use Internal for contributor-facing changes. Fragments are grouped as Added, Changed, Fixed, Removed, Security, then Internal, with filenames sorted within each group. README.md is not a fragment.
PRs that touch shipped code in src/, mock/, install/, or public/ must add a new fragment. Modifying or renaming an existing fragment does not count. Test-only changes (*.test.ts, *.test.tsx, *.test.mjs, and e2e specs) and documentation-only changes (*.md except CHANGELOG.md) do not require one; their check lanes stay unchanged. A PR that also changes shipped code still needs a fragment. Maintainers can apply the no-changelog label when an entry is unnecessary.
CI validates every added or changed fragment from the PR head with the release parser, including fragment-only PRs and PRs labeled no-changelog. Invalid fragments fail with their filename and the parser's reason.
Preview and release
From the repository root, with Node and pnpm installed:
pnpm changelog:render
This prints the generated ## [Unreleased] section without changing files. Install and authenticate GitHub CLI to include PR numbers. The renderer uses gh api repos/{owner}/{repo}/commits/{sha}/pulls for the commit that added each fragment; it prefers a merged PR when GitHub returns several. If Git history or GitHub is unavailable, it warns on stderr and leaves the number out.
After the existing handwritten Unreleased entries have been released, collect fragments for a release:
pnpm changelog:release 0.1.0-beta.14 2026-10-10
This creates ## [0.1.0-beta.14] - 2026-10-10 in CHANGELOG.md, updates its comparison links, and deletes the consumed fragments. The Unreleased heading and fragment note remain. It refuses to overwrite handwritten Unreleased entries. Review warnings before publishing: offline release entries have no PR numbers. Commit the changelog and fragment deletions with the other release changes; this command does not update the package version or create a tag.