Repository navigation
Fixed the Codex marketplace name mismatch (#46) - #47
Open
ahillspace wants to merge 1 commit into
Open
ahillspace wants to merge 1 commit into
ahillspace wants to merge 1 commit into
Conversation
|
Thanks for the contribution! Before we can merge this, we need @ahillspace to sign the Salesforce Inc. Contributor License Agreement. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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.