Skip to content

fix(core): productConfigProblems reads aliases inside a scope - #5408

Merged
lex00 merged 1 commit into
mainfrom
fix/5405-scoped-aliases
Nov 20, 2026
Merged

lex00 merged 1 commit into
mainfrom
fix/5405-scoped-aliases

Conversation

@lex00

@lex00 lex00 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

productConfigProblems now reads an alias inside a scope the caller passes. An alias whose key starts at the scope (sql-yodeler's ci.login) is looked up in that scope, and a key set beside it in the same scope is an error naming both paths: ci.login and ci.identity are both set; set ci.identity alone.

The top-level pass is unchanged: the same warnings and errors, with the same messages, for every product. A scope pass adds the error only, since the top-level pass already reports the alias as a warning.

PRODUCT_CONFIG_SCOPED_ALIASES_FLOOR is exported from ci-product.ts, and floor-table.data.ts is regenerated.

Tests in ci-product-config-words.test.ts cover an alias beside its key at the top level (terragucci oidc beside identity), the same pair inside a ci scope, the alias alone in a scope, a scope the caller does not pass, and the floor.

Tests run in a final pass; none were run on this branch after the last edit except the two vocabulary test files, which passed before the floor was added.

Closes #5405

@lex00
lex00 enabled auto-merge November 20, 2026 17:29
@lex00
lex00 added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit c91dc9c Nov 20, 2026
10 checks passed
@lex00
lex00 deleted the fix/5405-scoped-aliases branch November 20, 2026 18: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.

productConfigProblems: read aliases inside a scope, not only at the top level

1 participant