Skip to content

test(marketplace): add integration-tier coverage for marketplace --ref end-to-end flow #1918

Description

Context

Follow-up deferred from the apm-review-panel on #1880 (test-coverage-expert lens).

#1880 fixes registered marketplace --ref propagation to string/dict plugin sources and GitLab slash-ref proxy filenames, with thorough unit coverage (TestMarketplaceRegisteredRefPropagation, TestBuildArtifactoryArchiveUrl). What is not yet covered is an integration-tier test that exercises the full resolve_marketplace_plugin -> downstream resolution -> downloader chain with a real ref value end to end.

Why deferred (not folded into #1880)

New integration-test infrastructure is out of scope for a surgical bug fix. It is tracked here so the panel verdict on #1880 carries no loose follow-up.

Suggested scope

  • One integration test that registers a marketplace with a non-default --ref and asserts the resolved/downloaded artifact reflects that ref across both GitHub-family and GitLab hosts.
  • Assert URLs via urllib.parse (per tests/instructions), not substring.

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.area/testingTest infrastructure, fixtures, e2e harness, coverage.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/test

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions