fix: propagate config fields to all layers#5387
Conversation
PRs #5279 and #5283 both added `apiProxy.maxCacheMisses` to Section 5 of the spec within 20 seconds of each other, creating a duplicate entry in the CLI mapping table. Removes the redundant second entry (after maxPermissionDenied), keeping the correct placement between maxModelMultiplierCap and maxPermissionDenied that PR #5283 added. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Removes a duplicated CLI-mapping entry for apiProxy.maxCacheMisses in the AWF config specification to keep the spec’s normative CLI mapping table consistent and non-ambiguous.
Changes:
- Delete the duplicate
apiProxy.maxCacheMisses→--max-cache-misses <number>row in §5 “CLI Mapping”.
Show a summary per file
| File | Description |
|---|---|
| docs/awf-config-spec.md | Removes a duplicate CLI-mapping row for apiProxy.maxCacheMisses to avoid conflicting/duplicated spec guidance. |
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 PAT PAT auth validated. All systems operational. ✅ |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
✅ Smoke Claude passed |
|
✅ Smoke Gemini completed. All facets verified. 💎 Smoke test completed with partial failure (GitHub MCP and Connectivity). |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
❌ Smoke Copilot BYOK AOAI (Entra) reports failed. AOAI BYOK (Entra) mode investigation needed... |
|
✅ Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓 |
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded. |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
✅ Build Test Suite completed successfully! |
|
🔌 Smoke Services — All services reachable! ✅ |
Smoke Test: Claude Engine Validation
Overall result: PASS
|
🔬 Smoke Test Results — PASS
Overall: PASS Author:
|
Smoke Test: Copilot BYOK (Direct Mode) ✅ PASSRunning in direct BYOK mode via api-proxy → api.githubcopilot.com
Mention:
|
|
Smoke test results 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.
|
Smoke Test: Copilot PAT Auth — FAIL
|
| Test | Result |
|---|---|
| GitHub MCP connectivity | ✅ Connected (fetched PR data) |
| GitHub.com HTTP | ❌ Pre-step data unavailable (template vars not substituted) |
| File write/read | ❌ Pre-step data unavailable (file path not resolved) |
Overall: FAIL — Pre-step outputs (smoke-data) were not substituted into the workflow prompt.
Auth mode: PAT (COPILOT_GITHUB_TOKEN)
PR author: @lpcox | Assignees: @lpcox, @Copilot
🔑 PAT report filed by Smoke Copilot PAT
Chroot Smoke Test Results
Overall: ❌ Not all versions match. Go matches, but Python and Node.js versions differ between host and chroot. The chroot environment is using older versions (
|
|
cc
Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) Overall: PASS
|
Gemini Smoke Test Results
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: API Proxy OpenTelemetry Tracing
All scenarios pass. OTEL integration is functional.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Smoke Test: Services Connectivity
Overall: FAIL — service containers unreachable from runner host.
|
Config Consistency Fixes
Automated audit of PRs merged in the last 7 days (up to PR #5357).
From PR #5279 + PR #5283 — duplicate
apiProxy.maxCacheMissesin specPRs #5279 and #5283 both added
apiProxy.maxCacheMissesto the Section 5 CLI mapping table within 20 seconds of each other, creating a duplicate entry.apiProxy.maxCacheMissesdocs/awf-config-spec.mdAudit Summary
All other config layers for
maxCacheMisseswere already correctly propagated:src/awf-config-schema.jsondocs/awf-config.schema.jsondocs/awf-config-spec.md§ 5 CLI mappingsrc/types/rate-limit-options.tssrc/config-file.tssrc/services/api-proxy-service-config.ts(AWF_MAX_CACHE_MISSES)Verification
diff src/awf-config-schema.json docs/awf-config.schema.json)