Skip to content

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

Merged
GuillaumeLagrange merged 5 commits intomainfrom
cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in
Mar 11, 2026
Merged

Allow definition of both codspeed exec and codspeed entrypoint targets in project config#260
GuillaumeLagrange merged 5 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.

@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 (b9376b7) with main (304246c)

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
Copy link
Member

@adriencaccia adriencaccia left a comment

Choose a reason for hiding this comment

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

Since this is getting a bit complex, would love to have mermaid charts representing the different flows, what gets instantiated, etc..

@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in branch 2 times, most recently from 5f72c3f to 9ab4000 Compare March 10, 2026 16:13
…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.
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in branch from 57d04a2 to b9376b7 Compare March 11, 2026 07:14
@GuillaumeLagrange GuillaumeLagrange merged commit b9376b7 into main Mar 11, 2026
17 checks passed
@GuillaumeLagrange GuillaumeLagrange deleted the cod-2009-define-both-codspeed-exec-and-codspeed-entrypoint-targets-in branch March 11, 2026 07:47
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