Skip to content

Refactor Runner parameter overloads and resolve review comments#2210

Merged
rafal-hawrylak merged 1 commit into
mainfrom
pr4b-refactor-runner
Jul 13, 2026
Merged

Refactor Runner parameter overloads and resolve review comments#2210
rafal-hawrylak merged 1 commit into
mainfrom
pr4b-refactor-runner

Conversation

@rafal-hawrylak

Copy link
Copy Markdown
Collaborator

Pre follow up of #2184

@rafal-hawrylak
rafal-hawrylak requested a review from a team as a code owner June 19, 2026 19:15
@rafal-hawrylak
rafal-hawrylak requested review from Ceridan and removed request for a team and Ceridan June 19, 2026 19:15
@rafal-hawrylak
rafal-hawrylak force-pushed the pr4b-refactor-runner branch 3 times, most recently from 7df9bd9 to edb1e7d Compare July 2, 2026 09:30
Comment thread cli/api/commands/run.ts
Comment thread cli/api/commands/run.ts Outdated
Comment thread cli/api/commands/run.ts Outdated
Comment thread cli/api/commands/run.ts Outdated
Comment thread cli/api/commands/run.ts
Comment thread cli/api/commands/run.ts Outdated
@apilaskowski

Copy link
Copy Markdown
Collaborator
  • Makes some sense to include projectDir here in preparation for Integrate JiT compilation into CLI runtime #2211 (in perfect world I would prefer to have it separately).
  • Removing the parameter union and handleParamsOverloads in favor of Runner.create and Runner.resume makes the instantiation API significantly cleaner.
  • The switch statement for CancelReason exhaustiveness and the fallback guard for missing timeoutMillis look great.
    LGTM! 🚀

@rafal-hawrylak
rafal-hawrylak merged commit 5332184 into main Jul 13, 2026
11 checks passed
@rafal-hawrylak
rafal-hawrylak deleted the pr4b-refactor-runner branch July 13, 2026 14:22
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.

3 participants