Skip to content

fix: skip invalid proxy nodes during config build - #22

Merged
structName merged 1 commit into
mainfrom
codex/skip-invalid-subscription-nodes
Jul 23, 2026
Merged

fix: skip invalid proxy nodes during config build#22
structName merged 1 commit into
mainfrom
codex/skip-invalid-subscription-nodes

Conversation

@structName

Copy link
Copy Markdown
Owner

Summary

  • preserve required TLS/SNI settings for Hysteria2 and TUIC Clash nodes
  • decode Clash proxies independently so one malformed node does not discard the subscription
  • validate candidate configs with the bundled sing-box kernel and exclude only attributable invalid nodes
  • rebuild derived groups/routes after exclusion while keeping unrelated global config errors fatal
  • validate before replacing the live config and before every desired-state recovery attempt

Verification

  • pnpm run build
  • go test -p 1 ./... -count=1
  • fresh import of the reported subscription: 471 nodes, sing-box starts successfully
  • injected unknown protocol is excluded while valid nodes remain available
  • DIRECT and subscription-backed mixed inbound ports both returned HTTP 204 before and after restart

@structName
structName merged commit 205b47a into main Jul 23, 2026
1 check passed
@structName
structName deleted the codex/skip-invalid-subscription-nodes branch July 23, 2026 19:47
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