Repository navigation
refactor(coordinator): separate profile and request-outcome queue owners - #1010
Gajesh2007 wants to merge 5 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…/coordinator-profile-subsystems # Conflicts: # docs/architecture/system-profiler.md # docs/architecture/telemetry.md # docs/developer/build.md # docs/developer/test.md
|
@codex review Refreshed the parent branch and resolved documentation/source-map conflicts. Existing subsystem implementations and regression tests are preserved. Exact parent composition and independent review pass; all coordinator test packages compile and documentation checks pass. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1056 for review and merge after #1094, #1095 and #1096. #1056 contains this branch's exact head ( |
Profile persistence and request-outcome persistence currently keep unrelated queues, locks, workers and counters inside
api. This moves each into its own telemetry package and leaves small API adapters for record construction, current-store lookup and metrics.telemetry/profilequeueowns the sampled profile worker, nonblocking submission, batching and error/drop accounting. ItsClosecontinues to signal shutdown without waiting for buffered records to drain.telemetry/outcomequeueowns the unsampled outcome worker, rejection after close, per-write timeout and bounded drain wait. Its one-second write timeout and two-second outer shutdown bound are preserved.Stacked on #1008 (metrics and route telemetry), which is based on the coordinator restructuring stack rooted at #909. This is a separate ownership layer so the different shutdown contracts can be reviewed together.
Before:
After:
Validation: full
go test -race ./coordinator/...passes across 30 test packages (API 227.544s). Focused profile/outcome/API race checks pass; all 1,616 prior API and telemetry test symbols remain discoverable. Six new boundary cases cover queue behavior and runtime store replacement; the store-replacement case also passes against the original implementation. Independent source and documentation review is clean, andmake docs-checkpasses 280 files. No SQL or provider execution changes are included.Pinned golangci-lint v2.1.6 now passes after merging the metric-label field annotations from #1008 and removing the single uncalled API crossesPowerOfTen adapter. The actual telemetry helper and both queue callers remain. Independent deletion review and the telemetry race suite pass.