Skip to content

test(deps): expose delayed named package validation - #15965

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-qtxsttnntwtr
Aug 16, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-qtxsttnntwtr

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Document that a named package dependency in a disabled rule is currently accepted because dependency validation only happens when its action builder is evaluated.

This captures the existing behavior before moving structural dependency validation into stanza decoding in a follow-up.

@rgrinberg
rgrinberg merged commit dcfa9ca into ocaml:main Aug 16, 2026
36 of 37 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Aug 17, 2026
rgrinberg added a commit that referenced this pull request Aug 20, 2026
Reject package dependencies inside named dependency bindings while
decoding dependency fields, rather than waiting until their action
builders are evaluated. Structural errors are now reported even for
disabled stanzas.

Follow-up to #15965.

Signed-off-by: Rudi Grinberg <[email protected]>
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.

2 participants