Repository navigation
docs(1640): add issue spec for per-instance Network config - #1937
josecelano merged 3 commits into
Conversation
- Spec for moving on_reverse_proxy, external_ip, ipv6_v6only from global core.net to per-instance HttpTracker/UdpTracker Network blocks - Includes phased implementation plan (baby steps + parallel changes) - Covers approach B for per-instance AnnounceService/ScrapeService - Design notes on bind_address staying flat, future extensions - Compatibility analysis with related ADRs and issues - Also adds draft spec for issue torrust#1417 (public service URL)
There was a problem hiding this comment.
Pull request overview
Adds/updates issue-spec documentation to plan upcoming configuration refactors: making Network settings per tracker instance (#1640) and drafting a proposal to add public_url fields to configs (#1417).
Changes:
- Added open issue spec for #1640 describing per-instance
Networkconfig and phased implementation plan. - Added draft issue spec for #1417 proposing
public_urlfields for trackers/APIs. - Updated
project-words.txtto include a new dictionary word.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| project-words.txt | Adds “analysed” to the cspell project dictionary. |
| docs/issues/open/1640-per-http-tracker-on-reverse-proxy-setting.md | New open spec for moving network-related config from global to per-instance. |
| docs/issues/drafts/1417-add-public-service-url-to-configuration.md | New draft spec proposing public_url config fields for services. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Use stable issue references in related-artifacts (issue #NNNN) instead of non-standard 'github issues/...' paths - Remove stale docs/issues/1417 reference that pointed to non-existent file - Use dot notation for field paths (HttpTracker.net.on_reverse_proxy)
|
Addressed all Copilot review suggestions in commit 7a30b33:
All linters pass and the branch is up to date. |
|
ACK fb6e356 |
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request changed only documentation: an issue specification for per-instance network configuration, with no executable effect. |
Summary
This PR adds issue spec files for two related enhancements:
Issue #1640 — Per-instance Network config
Full spec at
docs/issues/open/1640-per-http-tracker-on-reverse-proxy-setting.mdMoves
on_reverse_proxy,external_ip, andipv6_v6onlyfrom the global[core.net]singleton into per-instanceNetworkblocks insideHttpTrackerandUdpTracker. Also makesAnnounceHandler::handle_announcement()acceptexternal_ipas a per-call parameter.Key decisions documented in the spec:
[core.net]is removed entirelyAnnounceService/ScrapeServicewithReverseProxyModefieldbind_addressstays flat — not insideNetwork(it's a HashMap key)public_url— a single URL string, not decomposed (decision for issue Include public service URL in configuration #1417)Issue #1417 — Public Service URL (draft)
Draft spec at
docs/issues/drafts/1417-add-public-service-url-to-configuration.mdProposes adding
public_url: Option<String>to all tracker and API configs for use in metrics, logging, and API discovery.Status
on_reverse_proxysetting #1640 reviewed and approved