You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "michael-s-molina (via GitHub)" <gi...@apache.org> on 2026/03/24 11:16:25 UTC

[PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

michael-s-molina opened a new pull request, #38823:
URL: https://github.com/apache/superset/pull/38823

   ### SUMMARY
   
   The `superset-extensions bundle` command was generating the `.supx` bundle filename using the composite ID (`publisher.name`, e.g., `acme.example-1.0.0.supx`) instead of just the extension name (`example-1.0.0.supx`).
   
   This is a continuation of the same rationale introduced in [#38690](https://github.com/apache/superset/pull/38690), which simplified the `init` folder name for the same reason: the publisher prefix in local artifacts is unnecessary because the source of truth for extension identity is always `extension.json` (and the derived `dist/manifest.json`), which contains the full composite ID. The bundle filename is a local development artifact — it has no bearing on how the extension is identified or resolved by Superset or a marketplace.
   
   Forcing the publisher into the bundle filename adds noise without preventing any real conflict, and is inconsistent with how similar ecosystems handle local vs. registry identity.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   **Before:**
   ```
   ✅ Bundle created: acme.example-1.0.0.supx
   ```
   
   **After:**
   ```
   ✅ Bundle created: example-1.0.0.supx
   ```
   
   ### TESTING INSTRUCTIONS
   
   1. Create an extension with `superset-extensions init`, using `example` as the name and `acme` as the publisher.
   2. Run `superset-extensions bundle`.
   3. Verify the generated file is named `example-1.0.0.supx` (not `acme.example-1.0.0.supx`).
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina commented on PR #38823:
URL: https://github.com/apache/superset/pull/38823#issuecomment-4119568379

   > The only potential issue I see here is how these are served once there's a registry/marketplace. If all bundles are placed in the same flat folder, then the publisher would be needed. but if they'd be served from a path with the publisher, then this works.
   
   I think this is something that needs to be addressed by the marketplace/registry. One way would be to organize the internal folder structure using the publisher like `airbnb/editor-snippets.supx`, `apple/editor-snippets.supx`, etc. The main point is that we should not depend on the supx file name to resolve conflicts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #38823:
URL: https://github.com/apache/superset/pull/38823#issuecomment-4117405049

   ### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
   
   
   |  Name | Link |
   |:-:|------------------------|
   |<span aria-hidden="true">🔨</span> Latest commit | e24456b62e7fc603b24f1aee87c2b80b315850c4 |
   |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/69c2728a5e328d00086895c3 |
   |<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-38823--superset-docs-preview.netlify.app](https://deploy-preview-38823--superset-docs-preview.netlify.app) |
   |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTM4ODIzLS1zdXBlcnNldC1kb2NzLXByZXZpZXcubmV0bGlmeS5hcHAifQ.Flxu3-uVqFEvfDRDqC0sT-VqmCu7TdiU1AtgeoV-Vug)<br /><br />_Use your smartphone camera to open QR code link._</details> |
   ---
   <!-- [superset-docs-preview Preview](https://deploy-preview-38823--superset-docs-preview.netlify.app) -->
   _To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #38823:
URL: https://github.com/apache/superset/pull/38823#issuecomment-4117374484

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #38823:
URL: https://github.com/apache/superset/pull/38823#issuecomment-4117383675

   ## [Codecov](https://app.codecov.io/gh/apache/superset/pull/38823?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 65.32%. Comparing base ([`1c8224f`](https://app.codecov.io/gh/apache/superset/commit/1c8224f4c633c56288ce18beb9190aef223c5fff?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`e24456b`](https://app.codecov.io/gh/apache/superset/commit/e24456b62e7fc603b24f1aee87c2b80b315850c4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 65 commits behind head on master.
   
   :x: Your project check has failed because the head coverage (99.92%) is below the target coverage (100.00%). You can increase the head coverage or adjust the [target](https://docs.codecov.com/docs/commit-status#target) coverage.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #38823      +/-   ##
   ==========================================
   + Coverage   65.10%   65.32%   +0.21%     
   ==========================================
     Files        1819     1824       +5     
     Lines       72670    73291     +621     
     Branches    23222    23222              
   ==========================================
   + Hits        47312    47875     +563     
   - Misses      25358    25416      +58     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/superset/pull/38823/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [superset-extensions-cli](https://app.codecov.io/gh/apache/superset/pull/38823/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.66% <100.00%> (?)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/superset/pull/38823?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on PR #38823:
URL: https://github.com/apache/superset/pull/38823#issuecomment-4117379311

   ## **Sequence Diagram**
   
   This PR changes the bundle naming step so the default supx filename is derived from manifest name and version, instead of the composite id. The core packaging flow is unchanged, but the generated local artifact name is now shorter and consistent.
   
   ```mermaid
   sequenceDiagram
       participant Developer
       participant CLI
       participant BuildStep
       participant Manifest
       participant FileSystem
   
       Developer->>CLI: Run bundle command
       CLI->>BuildStep: Build extension artifacts
       CLI->>Manifest: Read dist manifest
       CLI->>CLI: Compose filename from name and version
       CLI->>FileSystem: Create supx bundle with default filename
       CLI-->>Developer: Report created bundle path
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina merged PR #38823:
URL: https://github.com/apache/superset/pull/38823


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(extensions-cli): remove publisher prefix from bundle filename [superset]

Posted by "villebro (via GitHub)" <gi...@apache.org>.
villebro commented on PR #38823:
URL: https://github.com/apache/superset/pull/38823#issuecomment-4121679010

   > I think this is something that needs to be addressed by the marketplace/registry. One way would be to organize the internal folder structure using the publisher like `airbnb/editor-snippets.supx`, `apple/editor-snippets.supx`, etc. The main point is that we should not depend on the supx file name to resolve conflicts.
   
   I agree with you here. Let's make sure we get the publisher scoping right once we start working on the marketplace/registry.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org