Skip to content

refactor(marketplace): extract ref-propagation helpers from resolve_marketplace_plugin #1917

Description

Context

Follow-up deferred from the apm-review-panel on #1880 (python-architect lens).

#1880 adds registered---ref propagation logic inline in resolve_marketplace_plugin (GitHub canonical #ref suffix; GitLab DependencyReference injection; main/HEAD exclusion guards; dict-source non-overwrite guard). The logic is correct and tested, but the ref-resolution concern is now spread across the resolver and would read more clearly extracted into a shared, independently-testable helper.

Why deferred (not folded into #1880)

Architectural refactor beyond bug-fix scope. Tracked here so the panel verdict on #1880 carries no loose follow-up.

Suggested scope

  • Extract the ref-propagation/exclusion/non-overwrite logic into a small shared utility used by both GitHub-family and GitLab paths.
  • Behavior-preserving; the existing TestMarketplaceRegisteredRefPropagation suite should pass unchanged.

Source: panel recommendation on #1880

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

    area/marketplacemarketplace.json schema, federation, authoring suite, source parity.priority/lowHuman-set low priority; does not imply acceptance, implementation approval or a release target.theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.triage/recommendedAutomated advice completed; not human scope approval.type/refactorInternal restructure, no behavior change.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions