Skip to content

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

Closed

Description

@lex00

productConfigProblems in packages/core/src/ci-product-words.ts reads a product's aliases from the top level only (the alias loop skips any root with a scope prefix). A product that keeps its CI settings under a scope, as sql-yodeler does under ci, gets no error when a key and its alias are both set inside that scope, for example ci.login beside ci.identity. INTENTIUS/sql-yodeler#392 throws for that pair itself for now.

Acceptance criteria

  • An alias whose key sits inside a scope the caller passes is read there, and a key set beside its alias in that scope is an error naming both, as at the top level.
  • Top-level behaviour is unchanged, with a test for each.
  • A *_FLOOR constant, with the floor table regenerated, so products can drop their own check when they pin it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions