test: Add 13 extended-parameter-type conformance fixtures - #158
Open
leongdl wants to merge 1 commit into
Open
Conversation
13 fixtures from the RFC 0007 coverage audit: int64 accept twins for LIST[INT] and LIST[LIST[INT]] elements, weird mixed-case job parameter type spellings, first-ever LIST[BOOL] runtime coverage, three normative prohibitions (BOOL+allowedValues, item: on LIST[BOOL], triple-nested list), LIST[PATH] item.allowedValues pair, indexed-element property access Param.Paths[0].stem, RANGE_EXPR endpoint overflow reject, and a LIST[STRING] wrong-item-type negative. Suite: EXPR 350 -> 363 passing. Spec-correct fixtures that FAIL today are split to conformance-param-types-expected-failures. Signed-off-by: David Leong <116610336+leongdl@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.
Summary
13 extended-parameter-type fixtures from a coverage audit of RFC 0007. Suite: EXPR 350 → 363 passing, 0 failing; base unchanged.
Areas covered
LIST[INT]element andLIST[LIST[INT]]inner element at 2^63−1 accepted — the data-axis boundary the audit found untested for every container type.LIST[BOOL]runtime coverage (the audit foundEXPR/jobs/had no2.15--*file at all): element values reaching the task, and interpolation rendering. Note: these two fixtures pass on openjd-rs and currently FAIL on the Python CLI (TypeError: List contains incompatible types: bool, string) — they are live divergence catchers, green against the reference implementation.LiSt[iNt]and friends accepted with EXPR (job parameters).BOOL+allowedValuesrejected;item:onLIST[BOOL]rejected;LIST[LIST[LIST[INT]]]triple nesting rejected — all stated in the schema, none previously tested.LIST[PATH]element constraints:item.allowedValuesaccept + violation pair (previously appeared in zero fixtures).{{Param.Paths[0].stem}}— the subscript route of the known property-access bug class; verified NOT affected.RANGE_EXPRendpoint overflow reject and aLIST[STRING]wrong-item-type negative (numeric elements rejected, no silent YAML coercion — verified on both implementations).Companion PR
Five spec-correct fixtures that FAIL today (list-element 2^63 acceptance in both implementations, the openjd-rs 2^62 endpoint cap, task-parameter case-insensitivity unimplemented in both, base lowercase type acceptance in openjd-rs) are in the expected-failures PR (branch
conformance-param-types-expected-failures).