Skip to content

Commit 8f97226

Browse files
committed
FEATURE-ci-darwin-focused-diagnostics: retain validation receipt before native batch
1 parent 6d69f85 commit 8f97226

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

‎specs/tasks/FEATURE-ci-darwin-focused-diagnostics.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FEATURE-ci-darwin-focused-diagnostics
22

3-
Status: In Progress — implementation prepared; caller validation and the one native batch remain pending.
3+
Status: In Progress — local diagnostic validation passed; the one native batch remains pending.
44

55
Base: local `v3` at `a5a72356741300e5da16b94090f0f26a67a2d1f7`.
66
Branch: `task/FEATURE-ci-darwin-focused-diagnostics`.
@@ -14,7 +14,7 @@ This is temporary diagnostic instrumentation. This branch, including its tempora
1414
- [x] Keep private scalar tracing compile-time disabled in ordinary builds. The helper uses one fixed 512-byte stack buffer and one write, preserves errno, creates no event store/lock and performs no C++ allocation. Runtime flags narrow library traces to the header or storage processes.
1515
- [x] Prepare manual-only, read-only native Darwin batch under existing default-branch dispatch-capable `release.yml` filename. The required `tag` is a fixed diagnostic sentinel; it never selects a ref, creates a tag or publishes anything.
1616
- [x] Compile syntax, diagnostic logger smoke checks, workflow/embedded Python/shell syntax, actionlint, changed-file cpplint and diff checks locally; no native tests or full suites in this phase.
17-
- [ ] Caller independently validates the diagnostic diff and reviews the workflow before publishing this branch only.
17+
- [x] Caller independently validates the diagnostic diff and reviews the workflow before publishing this branch only.
1818
- [ ] Caller dispatches the command below ONCE and retains source-bound receipt, raw logs and LLDB abort frames.
1919
- [ ] Caller records actual native results, context differences and causal assessment without reopening closed probes.
2020

@@ -35,3 +35,9 @@ Narrow source-storage tracing was approved by the caller because returned sink s
3535
Local evidence: enabled C++20 syntax/format checking succeeded for the six test TUs and changed source TUs using the existing primary Linux `build/config.h` only to satisfy `connection_engine.cpp`'s generated include. The first syntax attempt lacked that header; corrected execution setup passed. Linux excludes the native kqueue body; its Darwin compilation and all native execution remain pending. Logger smoke checks confirmed enabled output, preserved errno and disabled operand elision (no test suites executed). Shell/embedded Python/LLDB-script parsing and actionlint passed. Final complete changed-file lint/diff results are recorded in the primary journal.
3636

3737
Implementation notes for future task executors: Autotools requires out-of-tree builds; `./bootstrap`, configure with selected CC/CXX/MAKE, then GNU make. These six tests use the existing littletest harness (`-Itest` for `./littletest.hpp`), except the peer consumer's `require` checks. `src/libhttpserver_v3core.la` supplies private implementation tests; normal consumers link `src/libhttpserver.la` or installed shared library. Public headers must not include private/platform/provider headers. Worktree creation required sandbox escalation for Git metadata even though the task files are within the writable repository. No preexisting task-executor agent memory was available at the usual agent-memory locations; this record retains the setup facts.
38+
39+
Groundwork validation `2c3b204286112d4867f6fe7d78b1920e` sealed PASS for
40+
implementation HEAD `6d69f85ab44595a6a25626cd31707327e7e8d2de`: one
41+
iteration, nine independent domain approvals, zero fixes, one unworked finding
42+
persisted by the helper. The helper report is retained without caller reading it.
43+
Native execution is pending; this is diagnostic readiness, not a CI-green claim.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Unworked Review Issues
2+
3+
**Run:** 2026-10-23 18:57:57
4+
**Task:** FEATURE-ci-darwin-focused-diagnostics
5+
**Total:** 1 (0 critical, 0 major, 1 minor)
6+
7+
## Minor
8+
9+
1. [ ] **code-quality-reviewer** | `test/integ/external_http1_e2e_test.cpp:132` | diagnostic-isolation
10+
The diagnostic-only trace_header member and assignment, and the conditionals at lines 85, 91 and 108, remain in ordinary builds because only LHS_DARWIN_DIAG expands away. In an unoptimized build the fixture layout, flag initialization and conditional reads remain, falling short of the task requirement that normal-build tracing be fully compiled out.
11+
*Recommendation:* Guard the member, assignment and enclosing trace conditionals with LHS_DARWIN_FOCUSED_DIAGNOSTICS, or put the condition inside a macro that elides it when diagnostics are disabled. Keep the unchanged test assertions and deadlines.

0 commit comments

Comments
 (0)