Skip to content

Fixed the Codex marketplace name mismatch (#46) - #47

Open
ahillspace wants to merge 1 commit into
tableau:mainfrom
ahillspace:fix/codex-marketplace-name-46
Open

ahillspace wants to merge 1 commit into
tableau:mainfrom
ahillspace:fix/codex-marketplace-name-46

Conversation

@ahillspace

Copy link
Copy Markdown

Summary

Fixes #46. My first workaround was to make the GitHub marketplace entry match the long app ID. That got the plugin installed, but it would have meant changing the documented install command to a long ID instead of Tableau. Looking at #31, I found that the long ID was introduced for the OpenAI marketplace submission.

  • Both Codex manifests and platforms/openai/vars.yaml - I restored Tableau in both manifests so codex plugin add Tableau@tableau-plugin works as documented. I moved the existing submission ID into the build settings.

  • build/build.py - The production ZIP uses the submission ID in both of its manifests. The installable folder keeps Tableau, so one build can produce both outputs.

  • build/tests/test_build.py and the Build workflow - I added tests that check the names across all four build variants and verify that writing the ZIP leaves the installable manifests intact. The Build workflow runs both tests. I tried to match how you name and store tests in a nearby directory.

Version Bump

  • Patch: fixes only, nothing new for users

How Has This Been Tested?

I verified the Codex plugin install on Windows manually then ran the packaging checks in a Linux container to match the repository’s CI environment. New tests pass on both. Mac users should hit the same issue as Codex uses the same name check there. This fix should work fine on Mac as all it is doing is making the two names in the package agree. I can test this when we are back in the office on Monday.

I used Codex to help investigate and implement this fix, and GPT-6.2 Astra for a separate review. I checked the work along the way and reviewed the final diff.

@salesforce-cla

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @ahillspace to sign the Salesforce Inc. Contributor License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codex plugin add Tableau@tableau-plugin fails with a name mismatch

1 participant