Repository navigation
Consolidate profiler scalar projection - #982
Gajesh2007 wants to merge 3 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. |
|
Superseded by #1050, which carries this change and its regression coverage into the coordinator subsystem layout. The replacement passed the relevant local race tests, build/lint checks, and independent source review. Please review #1050; closing this older implementation to keep one active version of the change. The branch and review history are retained. No change has been merged to master by this closure. |
Profiler ingestion copies optional boolean and integer values into its stored profile and queryable columns. Replace three identical copy helpers with one scalar-constrained helper, preserving every field mapping, nil/zero/false distinction, and numeric range check. Correct comments to reflect sink-worker row construction and the retained terminal-usage consistency check.
flowchart LR subgraph Before A[Validated provider profile] --> B[Three identical scalar pointer helpers] B --> C[Owned stored values and query columns] end subgraph After D[Validated provider profile] --> E[cloneProfileValue for bool int int64] E --> F[Same owned values and query columns] G[Attempt finalizer] --> H[Enqueue for sink-worker construction and sampling] endThe 22 call sites retain their exact fields and arguments. Existing lossless profile fixtures, all-wire-field coverage, invalid/range handling, hot-column and consistency checks pass with the race detector in 1.930 s. Independent peer review, 278-page docs lint, signatures and diff checks pass. No protocol, schema, routing or sampling policy changes.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.