Repository navigation
Mock provider - #47
Merged
Merged
Conversation
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
The real vendors' queues are the uncontrolled variable that made the coscheduling-vs-default comparison noise: no two trials meet the same queue. The mock IS the queue: wait = base_overhead + depth * service_time, with the depth set per pod, so an experiment can draw depths from the measured 42-day distributions (flux-quantum-experiments/queues) and replay the same draw through both arms. Mirrors the Flux side's mock backend down to the parameter names, so both resource managers replay the same committed plans. Registers ahead of qrmi, which claims any non-braket qrmi_type. The ungate threshold is lead time in task-units: 1 ungates one service-time early, 0 exactly at the end of the wait. FLUENCE_MOCK_FAIL exercises the workers-stay-gated path. Signed-off-by: vsoch <vsoch@users.noreply.github.com>
The sidecar and staging init container pulled Always, so on a kind cluster the registry's :latest silently replaced a locally built sidecar image of the same tag - an experiment then runs a sidecar without the provider it was built to test. FLUENCE_SIDECAR_PULL_POLICY=IfNotPresent (or Never) on the webhook deployment keeps the loaded build; the default stays Always. Signed-off-by: vsoch <vsoch@users.noreply.github.com>
has_env piped a kubectl jsonpath through tr into grep -q under pipefail. grep -q exits at the first match, the producer takes a SIGPIPE writing the rest, and pipefail reports the pipeline as the producer's 141, so the check returned missing exactly when the env was found (the tr broken-pipe warnings in the failing run are the tell: they only appear on a match). Rewritten with no pipeline. The two other kubectl-fed grep -q conditions read to EOF now for the same reason; the echo-fed ones cannot race and stay. Signed-off-by: vsoch <vsoch@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.