Adds recipe-maintainers/loomio to the !testme bridge POLL_REPOS (nix/modules/bridge.nix).
Orchestrator repo (already on main): data/cc-ci/used-recipes.md gets a loomio weekly row and data/cc-ci/upstream/loomio.md records the release-note sources.
Test design (tests/loomio/)
Loomio is a Rails app (app + sidekiq worker + pgautoupgrade + redis + a separate loomio_channel_server). It has no unauthenticated write API (account creation is email/login-token
based; the REST API is session-authenticated), so per STYLE §1 the tests create state through the
app's own console (bundle exec rails runner, the same User/Group/DiscussionService path the
controllers use) and read it back over public HTTP — a different path:
test_api_health.py — GET /api/v1/boot/version → 200 JSON with a release version (proves Rails
booted through DB setup/migrations).
test_group_roundtrip.py — create an open/public group in the console; read it anonymously at GET /api/v1/groups/<key>; assert name + handle round-trip.
test_discussion_roundtrip.py — create a public discussion via DiscussionService; read it
anonymously at GET /api/v1/discussions/<key>; assert title + unique body marker round-trip.
Identifiers are ccci--prefixed with .example.com emails and run-scoped; fixtures look objects up
before creating, so re-runs and warm/restored states are safe.
Verification plan
Cold full-suite green on cc-ci against recipe main (install/upgrade/backup/restore/custom).
Then deploy the POLL_REPOS change (build → nixos-rebuild test → health checks → switch) and
confirm the bridge polls recipe-maintainers/loomio.
No recipe change is included here; this PR is the test/enrollment gate only.
cc-ci PR; NOT merged until verified green.
Enrolls **loomio** as a maintained cc-ci recipe so the weekly `/upgrade-all` surveys and upgrades it.
## What this PR does
- Adds `tests/loomio/` (recipe_meta + 3 custom tests + PARITY).
- Adds `recipe-maintainers/loomio` to the `!testme` bridge `POLL_REPOS` (`nix/modules/bridge.nix`).
- Orchestrator repo (already on `main`): `data/cc-ci/used-recipes.md` gets a `loomio weekly` row and
`data/cc-ci/upstream/loomio.md` records the release-note sources.
## Test design (`tests/loomio/`)
Loomio is a Rails app (app + sidekiq worker + pgautoupgrade + redis + a separate
`loomio_channel_server`). It has no unauthenticated write API (account creation is email/login-token
based; the REST API is session-authenticated), so per STYLE §1 the tests create state through the
app's own console (`bundle exec rails runner`, the same `User`/`Group`/`DiscussionService` path the
controllers use) and read it back over **public HTTP** — a different path:
- `test_api_health.py` — `GET /api/v1/boot/version` → 200 JSON with a release version (proves Rails
booted through DB setup/migrations).
- `test_group_roundtrip.py` — create an open/public group in the console; read it anonymously at
`GET /api/v1/groups/<key>`; assert name + handle round-trip.
- `test_discussion_roundtrip.py` — create a public discussion via `DiscussionService`; read it
anonymously at `GET /api/v1/discussions/<key>`; assert title + unique body marker round-trip.
Identifiers are `ccci-`-prefixed with `.example.com` emails and run-scoped; fixtures look objects up
before creating, so re-runs and warm/restored states are safe.
## Verification plan
- Cold full-suite green on cc-ci against recipe `main` (install/upgrade/backup/restore/custom).
- Then deploy the `POLL_REPOS` change (build → `nixos-rebuild test` → health checks → `switch`) and
confirm the bridge polls `recipe-maintainers/loomio`.
No recipe change is included here; this PR is the test/enrollment gate only.
cc-ci PR; NOT merged until verified green.
Verification (cold full suite on cc-ci, RECIPE=loomio SRC=recipe-maintainers/loomio, recipe main):
install: pass
upgrade: DECLARED skip — UPGRADE_BASE_FLOOR=5.2.1+v3.0.20. The only available predecessor is 5.2.0; 5.2.1 adds a pg_backup config + backupbot labels to the db service, so swarm recreates db during the 5.2.0→5.2.1 stack update and the concurrently-restarting app dies with PG::ConnectionBad: could not translate host name "db" before db is back (swarm pauses the app update). Later releases (≥5.2.1 base) are app-only and will exercise the upgrade tier.
backup: pass
restore: pass
custom: pass (3/3 — API health, public-group round-trip, public-discussion round-trip)
lint: pass
Runner exit 0 (coverage warning only: upgrade rung unverified at this head because no ≥floor predecessor exists). Log: cc-ci:/root/cc-ci-review-logs/loomio-full2.log
Next: deploy the POLL_REPOS bridge change (build → nixos-rebuild test → health checks → switch) and confirm the bridge polls recipe-maintainers/loomio.
Verification (cold full suite on cc-ci, RECIPE=loomio SRC=recipe-maintainers/loomio, recipe main):
- install: pass
- upgrade: DECLARED skip — `UPGRADE_BASE_FLOOR=5.2.1+v3.0.20`. The only available predecessor is 5.2.0; 5.2.1 adds a `pg_backup` config + backupbot labels to the `db` service, so swarm recreates db during the 5.2.0→5.2.1 stack update and the concurrently-restarting app dies with `PG::ConnectionBad: could not translate host name "db"` before db is back (swarm pauses the app update). Later releases (≥5.2.1 base) are app-only and will exercise the upgrade tier.
- backup: pass
- restore: pass
- custom: pass (3/3 — API health, public-group round-trip, public-discussion round-trip)
- lint: pass
Runner exit 0 (coverage warning only: upgrade rung unverified at this head because no ≥floor predecessor exists). Log: cc-ci:/root/cc-ci-review-logs/loomio-full2.log
Next: deploy the POLL_REPOS bridge change (build → nixos-rebuild test → health checks → switch) and confirm the bridge polls recipe-maintainers/loomio.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Enrolls loomio as a maintained cc-ci recipe so the weekly
/upgrade-allsurveys and upgrades it.What this PR does
tests/loomio/(recipe_meta + 3 custom tests + PARITY).recipe-maintainers/loomioto the!testmebridgePOLL_REPOS(nix/modules/bridge.nix).main):data/cc-ci/used-recipes.mdgets aloomio weeklyrow anddata/cc-ci/upstream/loomio.mdrecords the release-note sources.Test design (
tests/loomio/)Loomio is a Rails app (app + sidekiq worker + pgautoupgrade + redis + a separate
loomio_channel_server). It has no unauthenticated write API (account creation is email/login-tokenbased; the REST API is session-authenticated), so per STYLE §1 the tests create state through the
app's own console (
bundle exec rails runner, the sameUser/Group/DiscussionServicepath thecontrollers use) and read it back over public HTTP — a different path:
test_api_health.py—GET /api/v1/boot/version→ 200 JSON with a release version (proves Railsbooted through DB setup/migrations).
test_group_roundtrip.py— create an open/public group in the console; read it anonymously atGET /api/v1/groups/<key>; assert name + handle round-trip.test_discussion_roundtrip.py— create a public discussion viaDiscussionService; read itanonymously at
GET /api/v1/discussions/<key>; assert title + unique body marker round-trip.Identifiers are
ccci--prefixed with.example.comemails and run-scoped; fixtures look objects upbefore creating, so re-runs and warm/restored states are safe.
Verification plan
main(install/upgrade/backup/restore/custom).POLL_REPOSchange (build →nixos-rebuild test→ health checks →switch) andconfirm the bridge polls
recipe-maintainers/loomio.No recipe change is included here; this PR is the test/enrollment gate only.
cc-ci PR; NOT merged until verified green.
Verification (cold full suite on cc-ci, RECIPE=loomio SRC=recipe-maintainers/loomio, recipe main):
UPGRADE_BASE_FLOOR=5.2.1+v3.0.20. The only available predecessor is 5.2.0; 5.2.1 adds apg_backupconfig + backupbot labels to thedbservice, so swarm recreates db during the 5.2.0→5.2.1 stack update and the concurrently-restarting app dies withPG::ConnectionBad: could not translate host name "db"before db is back (swarm pauses the app update). Later releases (≥5.2.1 base) are app-only and will exercise the upgrade tier.Runner exit 0 (coverage warning only: upgrade rung unverified at this head because no ≥floor predecessor exists). Log: cc-ci:/root/cc-ci-review-logs/loomio-full2.log
Next: deploy the POLL_REPOS bridge change (build → nixos-rebuild test → health checks → switch) and confirm the bridge polls recipe-maintainers/loomio.