Skip to content

Update scoped facet test to use @scope/name identity and add ^test/^types Turborepo dependencies#333

Merged
eXamadeus merged 1 commit into
mainfrom
julian/06-14-update_scoped_facet_test_to_use_scope_name_identity_and_add_test___types_turborepo_dependencies
Jun 15, 2026
Merged

Update scoped facet test to use @scope/name identity and add ^test/^types Turborepo dependencies#333
eXamadeus merged 1 commit into
mainfrom
julian/06-14-update_scoped_facet_test_to_use_scope_name_identity_and_add_test___types_turborepo_dependencies

Conversation

@eXamadeus

Copy link
Copy Markdown
Member

Why

The test for scoped facet publishing was using the legacy bare-slash form (acme/cowsay) as the manifest name, which is no longer a valid identity according to FacetManifestSchema. Valid identities are either an unscoped slug (cowsay) or a scoped @scope/name form (@acme/cowsay).

Details

The test is updated to use @acme/cowsay as the facet name, and the expected URL reflects the current client behavior where openapi-fetch percent-encodes the entire identity (@acme/cowsay%40acme%2Fcowsay) rather than using a literal-slash scoped route (/v0/facets/@scope/name/...). A TODO comment documents that the registry has already moved to literal-slash scoped routes, but the engine registry client still uses the single {name} route parameter. The assertion is intentionally written to match current behavior and is expected to be updated when the scoped-route migration for publish/resolve/download lands.

Additionally, turbo.json is updated so that test and types tasks depend on their upstream equivalents (^test and ^types), ensuring dependent packages are tested and type-checked before downstream packages.

Verification

CI.

Copilot AI review requested due to automatic review settings June 15, 2026 02:41
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7afc41f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Member Author

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

eXamadeus commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

Merge activity

  • Jun 15, 2:53 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 15, 2:53 AM UTC: @eXamadeus merged this pull request with Graphite.

@eXamadeus eXamadeus merged commit bb29ded into main Jun 15, 2026
5 of 6 checks passed
@eXamadeus eXamadeus deleted the julian/06-14-update_scoped_facet_test_to_use_scope_name_identity_and_add_test___types_turborepo_dependencies branch June 15, 2026 02:53
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