Skip to content

feat: add --resource-check CLI flag to skip resource validation#2928

Open
mattevans wants to merge 1 commit intokurtosis-tech:mainfrom
mattevans:feat/resource-check-flag
Open

feat: add --resource-check CLI flag to skip resource validation#2928
mattevans wants to merge 1 commit intokurtosis-tech:mainfrom
mattevans:feat/resource-check-flag

Conversation

@mattevans
Copy link

Description

  • Adds a --resource-check CLI flag (default true) that controls whether GetAvailableCPUAndMemory is called during the validation phase.
  • Disable with --resource-check=false to skip the Docker API call which takes multiple seconds.
  • Plumbs the flag through proto, binding constructors, enclave context, runner, and validator.

Is this change user facing?

YES

@mattevans mattevans marked this pull request as draft March 5, 2026 04:34
@mattevans mattevans force-pushed the feat/resource-check-flag branch from ededf01 to 49891cb Compare March 5, 2026 04:39
…validation

The GetAvailableCPUAndMemory Docker API call during the validation phase
takes multiple seconds. This adds a new --resource-check flag (default true)
that lets users disable it with --resource-check=false when they know
resources are sufficient.
@mattevans mattevans force-pushed the feat/resource-check-flag branch from 49891cb to a1bef08 Compare March 5, 2026 04:43
@mattevans mattevans marked this pull request as ready for review March 5, 2026 05:06
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