Skip to content

Allow definition of both codspeed exec and codspeed entrypoint targets in project config#260

Open
GuillaumeLagrange wants to merge 3 commits intomainfrom
cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in
Open

Allow definition of both codspeed exec and codspeed entrypoint targets in project config#260
GuillaumeLagrange wants to merge 3 commits intomainfrom
cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in

Conversation

@GuillaumeLagrange
Copy link
Contributor

@GuillaumeLagrange GuillaumeLagrange commented Mar 9, 2026

Summary

  1. Unify run_part_id suffix computation between CI providers and local — The orchestrator now feeds structured metadata appended to the run_part_id, starting with the executor name, so all providers share the same suffix logic.

  2. Introduce OrchestratorConfig and ExecutorConfig — Separated run-level config (all commands and modes for a single CLI invocation) from per-execution config (a single command in a single mode), with the orchestrator responsible for spawning the appropriate executor config.

  3. Accept a mix of entrypoint and exec targets in project config — All exec targets are combined into a single exec-harness invocation, while each entrypoint target runs independently, both multiplied across all configured modes.

…ocal

The orchestrator is now able to feed structured metadata that will be
appended to the run_part_id. For now, we are just adding the executor,
but in next commits when we'll start having mixed entrypoints the
orchestrator will be able to differentiate which run_part is which.
We now build Orchestrator config from cli args and profile config, and
then the orchestrator is in charge of spawning the appropriate executor
config when running an executor.

An ExecutorConfig is only valid to run a single command in a single mode,
while the OrchestratorConfig is what defines all commands and modes that
will be run in a single CLI invocation.
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 9, 2026

Merging this PR will not alter performance

✅ 4 untouched benchmarks


Comparing cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in (0662118) with main (79ac610)

Open in CodSpeed

@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in branch from 9fd4cda to 0662118 Compare March 9, 2026 08:49
@GuillaumeLagrange GuillaumeLagrange marked this pull request as ready for review March 9, 2026 08:50
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