Repository navigation
ci: test add-ons from their main branch, not the latest release - #72
Merged
Merged
Conversation
## Short Summary (TL;DR) The add-ons test now checks out each add-on's `main` branch, so a test-only fix in an add-on reaches this workflow without an add-on release. ## The Issue The scheduled add-ons test failed for all three `ddev/ddev-adminer` jobs on 2026-11-04: https://github.com/ddev/github-action-add-on-test/actions/runs/41799787471 Adminer 6.3.0 answers the login redirect with `HTTP/2 303`, and the ddev-adminer v1.4.1 test expects `HTTP/2 302`. The test fix is on ddev-adminer `main` (ddev/ddev-adminer#59). This workflow checked out the latest release tag, so the failure stayed until somebody released ddev-adminer. Add-on users don't need that release, because only the test changed. ## How This PR Solves The Issue The workflow passes `addon_ref: main` to the action. The step that read the latest release tag from `releases/latest` is removed. This workflow tests the action, and the add-ons are only fixtures. The add-on's own CI already tests its `main`, so a failure here points to the action. The `release`-tagged test still installs the latest release with `ddev add-on get ddev/ddev-adminer`, and runs the test file from `main` against it. ## Manual Testing Instructions Push and pull request runs skip the `release`-tagged tests, so start a manual run for the full set: ```bash gh workflow run add-ons-test.yml --repo ddev/github-action-add-on-test --ref 20261104_stasadev_test_addon_main gh run watch --repo ddev/github-action-add-on-test ``` Expect all six "Add-on test" jobs to pass. In a ddev-adminer job, the "Run add-on test" step shows `ref: main` for `repository: ddev/ddev-adminer`. ## Automated Testing Overview No tests were added. Nobody has run the changed workflow yet. The CI run on this PR and the manual run above confirm it. ## Release/Deployment Notes Don't create releases manually. Follow the [release process documentation](https://github.com/ddev/github-action-add-on-test/blob/main/docs/DEVELOPER.md#release-process) when making a new release. 🤖 Developed with assistance from [Claude Code](https://claude.ai/code) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Short Summary (TL;DR)
The add-ons test now checks out each add-on's
mainbranch, so a test-only fix in an add-on reaches this workflow without an add-on release.The Issue
The scheduled add-ons test failed for all three
ddev/ddev-adminerjobs on 2026-11-04: https://github.com/ddev/github-action-add-on-test/actions/runs/41799787471Adminer 6.3.0 answers the login redirect with
HTTP/2 303, and the ddev-adminer v1.4.1 test expectsHTTP/2 302. The test fix is on ddev-adminermain(ddev/ddev-adminer#59). This workflow checked out the latest release tag, so the failure stayed until somebody released ddev-adminer. Add-on users don't need that release, because only the test changed.How This PR Solves The Issue
The workflow passes
addon_ref: mainto the action. The step that read the latest release tag fromreleases/latestis removed. This workflow tests the action, and the add-ons are only fixtures. The add-on's own CI already tests itsmain, so a failure here points to the action.The
release-tagged test still installs the latest release withddev add-on get ddev/ddev-adminer, and runs the test file frommainagainst it.Manual Testing Instructions
Push and pull request runs skip the
release-tagged tests, so start a manual run for the full set:Expect all six "Add-on test" jobs to pass. In a ddev-adminer job, the "Run add-on test" step shows
ref: mainforrepository: ddev/ddev-adminer.Automated Testing Overview
No tests were added. Nobody has run the changed workflow yet. The CI run on this PR and the manual run above confirm it.
Release/Deployment Notes
Don't create releases manually. Follow the release process documentation when making a new release.
🤖 Developed with assistance from Claude Code