feat: PLA-1061 accept immutable case admission order - #38
Merged
Merged
Conversation
Co-Authored-By: Codex <noreply@openai.com>
jeffatgametime
changed the base branch from
hosted-case-concurrency
to
master
September 15, 2026 05:06
An error occurred while trying to automatically change base from
hosted-case-concurrency
to
master
September 15, 2026 05:06
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.
The following code makes an impact.
Purpose of Change
Allow a hosted orchestration caller to supply an immutable test-case admission order without changing selected coverage or result identity. This is the generic library primitive for duration-informed scheduling, not the history selector.
Ticket Link
PLA-1061
Change Overview
RunOptions.CaseOrder, keyed by package and containing a complete case-name permutation.Stack dependency: #37 (itself follows #36). This PR targets
hosted-case-concurrencywhile #37 is open. Do not merge into that feature branch. Retarget tomasteronly after prerequisites merge, revalidate the diff, CI and default-branch review requirements.Affected Functionality
Hosted RunWithContext/RunPackageWithOptions admission order only. Missing hints preserve canonical behavior. Native Go test ordering remains unchanged. Hints are caller-owned immutable snapshots; the library does not mutate them.
Testing
go test -race ./... -count=3 -timeout=90s: pass, including shared executor lifecycle/exclusivity tests.go vet ./...,git diff --check: pass.Observability
Invalid scheduling hints emit a package diagnostic. Existing QueueDur and admitted lifecycle Dur remain separate. Runtime duration history selection, comparable coverage and queue-delay measurements belong to the api-tests consumer integration; no speedup claimed here.
Rollout
Merge prerequisites #36 and #37 first, retarget and reverify on master, then normal checks/required teammate approval. No tag or deployment by this PR-management task. Root owns immutable api-tests dependency adoption, recorded history snapshot, Temporal compatibility and staged runtime validation. Remove CaseOrder or pass no hint for canonical-order fallback.