Skip to content

Conversation

@chrisghill
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the requirement for artifact definitions to be scoped with an organization prefix, allowing users to reference artifacts by name only (e.g., test-schema) instead of requiring the full qualified name (e.g., massdriver/test-schema).

Key Changes:

  • Updated regex pattern to make the organization prefix optional in artifact definition references
  • Added logic to automatically prepend the organization ID when a name without a prefix is provided
  • Added test coverage for dereferencing schemas without org prefix

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pkg/bundle/dereference.go Modified regex pattern to make org prefix optional in artifact definition references
pkg/api/artifact_definitions.go Added logic to automatically prepend organization ID when name lacks a prefix
pkg/bundle/dereference_test.go Added test case for dereferencing remote refs without org prefix
pkg/api/artifact_definitions_test.go Added assertion to verify the artifact definition query parameters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chrisghill chrisghill merged commit 9265964 into main Nov 26, 2025
3 of 4 checks passed
@chrisghill chrisghill deleted the chris/remove-artdef-org-scoping-requirement branch November 26, 2025 00:12
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.

3 participants