Skip to content

Consolidate profiler scalar projection - #982

Closed
Gajesh2007 wants to merge 3 commits into
masterfrom
refactor/profiler-scalar-projection
Closed

Gajesh2007 wants to merge 3 commits into
masterfrom
refactor/profiler-scalar-projection

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

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]
  end
Loading

The 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.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Ready Ready Preview Sep 12, 2026 11:01pm UTC
d-inference-console-ui-dev Ready Ready Preview Sep 12, 2026 11:01pm UTC
d-inference-landing Ready Ready Preview Sep 12, 2026 11:01pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-12T23:00:17.351093Z 683ab42 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Gajesh2007

Copy link
Copy Markdown
Member Author

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.

This branch had an error being deployed

1 failed and 3 active deployments
Preview – d-inference — 3a1e6588 Deployed Sep 12, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 3a1e6588 Deployed Sep 12, 2026 by vercel[bot]
Preview – d-inference-landing — 3a1e6588 Deployed Sep 12, 2026 by vercel[bot]
benchmarks — 3a1e6588 Deployed Sep 12, 2026 by Gajesh2007 via E2E Benchmarks #1082
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant