Remove unused DomainProtocol export from domain-patterns.ts#5395
Conversation
DomainProtocol export from domain-patterns.ts
There was a problem hiding this comment.
Pull request overview
This PR reduces public API surface area by making DomainProtocol an internal (module-scoped) type in src/domain-patterns.ts, while keeping it available for the exported interfaces in that same module.
Changes:
- Removed the
exportmodifier from theDomainProtocoltype alias. - Kept
DomainProtocolin local scope so exported types likeParsedDomaincan continue to use it without change.
Show a summary per file
| File | Description |
|---|---|
| src/domain-patterns.ts | Makes DomainProtocol non-exported while retaining it for internal typing of exported interfaces. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
|
❌ Smoke Copilot BYOK AOAI (api-key) reports failed. AOAI BYOK (api-key) mode investigation needed... |
|
🔌 Smoke Services — All services reachable! ✅ |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅ |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded. |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
✅ Smoke Claude passed |
|
✅ Smoke Gemini completed. All facets verified. 💎 |
|
✅ Build Test Suite completed successfully! |
|
✅ Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓 |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
Smoke Test Results: Copilot BYOK (Direct Mode) ✅Tests:
Status: PASS — Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY) via api-proxy sidecar
|
Smoke Test: Claude Engine Validation
Overall Result: PASS
|
🔥 Smoke Test: Copilot PAT Auth — PASS
Overall: PASS · Auth mode: PAT (COPILOT_GITHUB_TOKEN) CC
|
🔥 Smoke Test ResultsPR: Remove unused
Overall: FAIL — pre-step template substitution did not execute (
|
Smoke Test: API Proxy OpenTelemetry Tracing
All scenarios passed ✅
|
Chroot Version Comparison Results
Overall: ❌ FAILED — Python and Node.js versions differ between host and chroot environments.
|
|
fix: propagate config fields to all layers ✅ Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Overall status: FAIL Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
Smoke Test Results — Services Connectivity
Overall: FAIL —
|
|
GitHub MCP Testing: ✅
|
DomainProtocolwas exported fromsrc/domain-patterns.tsbut had zero external consumers, adding unnecessary public API surface.Change
exportfromDomainProtocolinsrc/domain-patterns.ts; it remains in scope for theParsedDomaininterface defined in the same file