Skip to content

chore: apply add-on update checker fixes, test on ubuntu-26.04-arm - #43

Merged
stasadev merged 2 commits into
mainfrom
20261008_stasadev_update_checker
Oct 8, 2026
Merged

stasadev merged 2 commits into
mainfrom
20261008_stasadev_update_checker

Conversation

@stasadev

@stasadev stasadev commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Short Summary (TL;DR)

Brings the repo in line with the current ddev-addon-template, so ddev utility addon-update-checker passes, and runs tests on arm64 with ubuntu-26.04-arm. Also documents the MongoDB 8 incompatibility with Linux kernel 6.19 through 7.0.13 (#40).

The Issue

ddev utility addon-update-checker reported 4 outdated items: the workflow (tmate debug input, no os matrix) and the PR template (no TL;DR section, tarball URL instead of --pr).

On ubuntu-26.04-arm, the mongo container exits on startup: the runner uses Linux kernel 7.0.0, and MongoDB 8 doesn't start on kernel 6.19 through 7.0.13, see #40.

How This PR Solves The Issue

  • .github/workflows/tests.yml: synced with upstream (contents: read permission, renamed debug input for both workflow_dispatch and workflow_call), with an os matrix of ubuntu-latest and ubuntu-26.04-arm. workflow_call (used by release.yml), the cron time and the debug_enabled expression are kept. mongo:latest, mongo-express:1.0 and ddev/ddev-webserver publish arm64, and the MongoDB apt repo has arm64 builds of mongodb-mongosh and mongodb-database-tools.
  • .github/PULL_REQUEST_TEMPLATE.md: add the TL;DR section, use ddev add-on get ddev/ddev-mongo --pr
  • tests/test.bats: use mongo:7.0 on arm64 via ddev dotenv set .ddev/.env.mongo --mongo-docker-image=mongo:7.0
  • README.md: warn that MongoDB 8 doesn't start on Linux kernel 6.19 through 7.0.13, and show how to switch to mongo:7.0

Manual Testing Instructions

ddev add-on get ddev/ddev-mongo --pr 43
ddev restart

Automated Testing Overview

Tests on arm64 use mongo:7.0 instead of mongo:latest; amd64 tests are unchanged. ddev utility addon-update-checker passes. git archive contains only the add-on files, LICENSE and README.md.

Release/Deployment Notes

None.

🤖 Generated with Claude Code

stasadev and others added 2 commits October 8, 2026 10:29
## Short Summary (TL;DR)

Brings the repo in line with the current `ddev-addon-template`, so `ddev utility addon-update-checker` passes, and runs tests on arm64 with `ubuntu-26.04-arm`.

## The Issue

`ddev utility addon-update-checker` reported 4 outdated items: the workflow (tmate debug input, no `os` matrix) and the PR template (no TL;DR section, tarball URL instead of `--pr`).

## How This PR Solves The Issue

- `.github/workflows/tests.yml`: synced with upstream (`contents: read` permission, renamed debug input for both `workflow_dispatch` and `workflow_call`), with an `os` matrix of `ubuntu-latest` and `ubuntu-26.04-arm`. `workflow_call` (used by `release.yml`), the cron time and the `debug_enabled` expression are kept. `mongo:latest`, `mongo-express:1.0` and `ddev/ddev-webserver` publish arm64, and the MongoDB apt repo has arm64 builds of `mongodb-mongosh` and `mongodb-database-tools`.
- `.github/PULL_REQUEST_TEMPLATE.md`: add the TL;DR section, use `ddev add-on get ddev/ddev-mongo --pr`

## Manual Testing Instructions

```bash
ddev add-on get ddev/ddev-mongo --pr REPLACE_ME_WITH_THIS_PR_NUMBER
ddev restart
```

## Automated Testing Overview

No test logic changes. `ddev utility addon-update-checker` passes. `git archive` contains only the add-on files, `LICENSE` and `README.md`.

## Release/Deployment Notes

None.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MongoDB 8 doesn't start on Linux kernel 6.19 through 7.0.13, which the
ubuntu-26.04-arm runner uses. See #40

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stasadev
stasadev force-pushed the 20261008_stasadev_update_checker branch from 2c4fd2a to da31240 Compare October 8, 2026 08:38
@stasadev
stasadev merged commit d397d32 into main Oct 8, 2026
5 checks passed
@stasadev
stasadev deleted the 20261008_stasadev_update_checker branch October 8, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant