Repository navigation
chore: download WPGraphQL from WordPress.org in wp-env configs - #836
Open
josephfusco wants to merge 1 commit into
Open
josephfusco wants to merge 1 commit into
josephfusco wants to merge 1 commit into
Conversation
WPGraphQL's GitHub repo is now a monorepo whose latest release is wpgraphql-ide, so releases/latest/download/wp-graphql.zip returns 404 and wp-env fails to start.
|
Contributor
📦 Plugin Artifacts Ready!Download from GitHub Actions run Available plugins:
See the "Artifacts" section at the bottom of the Actions run page |
Contributor
🔍 WordPress Plugin Check Report
📊 Report
❌ Errors (35)📁 examples/wpgraphql-logging-nextjs/wp-env/uploads.zip (1 error)
📁 examples/wpgraphql-logging-nextjs/wp-env/setup/.htaccess (1 error)
📁 examples/wpgraphql-logging-nextjs/.wp-env.json (1 error)
📁 .env.dist (2 errors)
📁 .docker/.env.ci (1 error)
📁 assets/.gitkeep (1 error)
📁 .editorconfig (1 error)
📁 wp-env/setup/.htaccess (1 error)
📁 .wp-env.json (1 error)
📁 src/Logger/.gitkeep (1 error)
📁 phpstan.neon.dist (1 error)
📁 bin/build-docker.sh (1 error)
📁 bin/_lib.sh (1 error)
📁 bin/sync-package-version.sh (1 error)
📁 bin/run-codeception.sh (1 error)
📁 bin/install-plugins.sh (1 error)
📁 bin/install-test-env.sh (1 error)
📁 bin/local/run-e2e-tests.sh (1 error)
📁 bin/local/setup-docker-env.sh (1 error)
📁 bin/local/run-qa.sh (1 error)
📁 bin/local/run-unit-tests.sh (1 error)
📁 .docker/init-docker.sh (1 error)
📁 examples/wpgraphql-logging-nextjs/example-app/src/pages/[slug].js (1 error)
📁 wpgraphql-logging.php (2 errors)
📁 src/Admin/View/Download/DownloadLogService.php (1 error)
📁 readme.txt (2 errors)
📁 activation.php (1 error)
📁 deactivation.php (1 error)
📁 src/Admin/View/Templates/WPGraphQLLoggerView.php (1 error)
📁 src/Admin/View/Templates/WPGraphQLLoggerNotice.php (1 error)
📁 src/Admin/View/List/ListTable.php (1 error)
📁 src/Admin/Settings/Templates/admin.php (1 error)
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
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.
wp-env startfails for every environment that installs WPGraphQL from its GitHub "latest release" URL:wp-graphql/wp-graphqlis now a monorepo, and its latest GitHub release iswp-graphql-ide/v5.7.0. That release has nowp-graphql.zip, soreleases/latest/download/wp-graphql.zipreturns 404. That's why the wpgraphql-logging e2e suite failed on #830, and every example's local setup is broken the same way.What changes
All 27 references now point to
https://downloads.wordpress.org/plugin/wp-graphql.zip, which always serves the latest stable WPGraphQL. That covers:plugins/wpgraphql-logging/.wp-env.json.wp-env.jsonfiles (Next, Nuxt, Astro, SvelteKit, Angular, and the plugin and toolbar examples)examples/README.mdThe other "latest release" URLs (smart cache, ACF, IDE) still resolve, so they're unchanged.
The title uses
chore:so release-please doesn't cut a wpgraphql-logging release for a dev-only file.Testing
wp-env startlocally. CI only runs e2e for the first changed plugin, which is hwp-previews here, and its config doesn't use this URL. Rerunning ci: run Plugin Check on the built plugin archive #830's checks after this merges will show the logging suite passing.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with tracing the wp-env 404 to the WPGraphQL release change and updating the download URLs.