Skip to content

Proto field additions for JiT flow#2182

Open
rafal-hawrylak wants to merge 2 commits into
mainfrom
pr4a-proto-fields
Open

Proto field additions for JiT flow#2182
rafal-hawrylak wants to merge 2 commits into
mainfrom
pr4a-proto-fields

Conversation

@rafal-hawrylak
Copy link
Copy Markdown
Collaborator

@rafal-hawrylak rafal-hawrylak commented May 27, 2026

Part of #2110 - [Integrate JiT compilation into CLI]

@rafal-hawrylak rafal-hawrylak requested a review from a team as a code owner May 27, 2026 22:14
@rafal-hawrylak rafal-hawrylak requested review from andrzej-grudzien and removed request for a team May 27, 2026 22:14
@rafal-hawrylak rafal-hawrylak force-pushed the pr4a-proto-fields branch 2 times, most recently from 085649a to 6c8b2c8 Compare May 28, 2026 13:14
Comment thread protos/execution.proto
// cancelled. Does not bound per-model JiT compilation; see jit_timeout_millis.
int32 timeout_millis = 7;

// Per-model JiT compilation worker timeout. Each action with JiT code gets
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need it? Why not just use a generic timeout_millis? Scoping JiT stage of execution of timeout_millis looks like a broken contract to me.

Comment thread protos/jit.proto
// Current execution information for introspection.
RunningExecutionData execution_data = 7;
// File name where the target is defined.
string file_name = 8;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need it? Is it just for better error handling? (having it in PR description would be helpful)

Comment thread protos/execution.proto
string error_message = 2;
Timing timing = 3;
ExecutionMetadata metadata = 4;
string compiled_sql = 5;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need it here? (I have some guess, but please add a comment explaining when it is populated).

Comment thread protos/execution.proto

string jit_code = 12;

bool disabled = 13;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this now? I don't think it was required before and don't understand why we need it now.

Comment thread protos/core.proto
// Per-model JiT compilation worker timeout. Each model with JiT code gets
// its own fresh budget; this is per-model, not a shared budget across the
// compile.
int32 jit_timeout_millis = 13;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as protos/execution.proto.

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.

2 participants