Repository navigation
Conversation
WalkthroughA DNS and outbound configuration restructuring for Sing Box: DNS entries convert from reference-based definitions to explicit per-server types; proxy selector outbound and direct outbound are redefined with proper structure; a new Best Latency urltest outbound is introduced; route configuration consolidates with a default domain resolver setting. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
app/templates/singbox/default.json (1)
10-11: DNS configuration uses hard-coded Google DNS server.The dns-remote entry is configured with
"server": "8.8.8.8"(Google Public DNS). While this is a reasonable default, consider whether this template should be more flexible or include comments guiding users to customize DNS servers per their region/privacy requirements.Also applies to: 15-16
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/templates/singbox/default.json(3 hunks)
🔇 Additional comments (2)
app/templates/singbox/default.json (2)
42-50: Verify empty outbounds arrays in proxy selector and Best Latency entries.The changes introduce empty
outbounds: []arrays in two places:
- Line 43: Proxy selector outbound with empty outbounds
- Line 49: Best Latency (urltest) outbound with empty outbounds
For a template, empty arrays may be intentional placeholders for users to populate. However,
urltestoutbounds typically require targets to test against. Confirm these empty arrays align with the latest Sing Box template format and that users understand they must be populated or that the configuration will function correctly in this state.
69-69: Verify default_domain_resolver reference is correct.Line 69 sets
"default_domain_resolver": "dns-remote", which correctly references the tag defined at line 9. This cross-reference is valid. Confirm this setting aligns with your intended DNS routing behavior for the template.Also applies to: 9-9
|
This template works for the latest Android client of SingBox but I didn't know SinBox hasn't updated it's iPhone client for 10 months, so you need to leave the PR open and merge it when SingBox updates it's iPhone client. |
|
i will merg this after ios version released |
ecaae08 to
be80f83
Compare
|
The ios version have problems with apple and i plan to change template system in #286 so we no longer need this |
…am up to 2026-10-17 Owner rule of 2026-10-14: upstream changes are ported only from final upstream releases. Checked with git ls-remote on 2026-10-17 20:53 UTC; no new release since panel v5.4.1, node v0.5.4 and node_bridge_py v0.9.2 (GitHub releases, PyPI and npm also unchanged). Panel: the 79 Port queue entries are all dev-only, so they move to the new "Held for an upstream release" section with their security classification and without deadlines, and the queue is empty. Upstream dev moved to a2fb313 with 25 commits: PasarGuard#1019 is waived (the fork deleted the notifier workflow), the other 24 are held, three of them classified security: yes (PasarGuard#1004 role permissions on custom API keys, PasarGuard#1005 role limits on bulk updates, PasarGuard#1008 role disconnect policy). New branches feat/live-core-apply and two masque commits are UNMERGED-WIP; fix/xray-wg-allocation-view is the same patch as held ba27c1cc6. Node: five earlier dev-only picks are on fork main 0071e2c with trailers and leave the queue; the other eight queue entries and four new dev commits (PasarGuard#58, PasarGuard#55, PasarGuard#104, PasarGuard#106) are held, with f72ac0ef (PasarGuard#99) and a3d2d2fe (PasarGuard#101) marked as fixed by the fork's own fixes per the 2026-10-14 decisions. PasarGuard#100 (refuse to start without a valid API_KEY) is ported by design: fork commit 88162e2 already fails fast. node_bridge_py: 27be206 is ported on fork main 6116922; 22f1ef79 and the v0.9.2 bump bec9cb22 are recorded as ported by design (the one flagged line belongs to the fork's own add_backend, and the fork labels itself 0.9.2+singbox); upstream main's new PasarGuard#24 (9fa9f264) is held. scripts: fork main 51edabb has upstream main bba95f274 as an ancestor, so its thirteen queue lines are ported (decision 7 keeps them). Against live upstream the panel gate is green (282 commits, 0 unported, 103 held, 0 owed) and every fork tracker is green.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.