Mark
2acb194d40
Add E2E_MODE=1 to CI E2E containers for admin user seeding
...
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / ci (pull_request) Successful in 1m19s
CI / pr-e2e (pull_request) Successful in 1m33s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-03 20:42:33 +00:00
Mark
e8b835e6fc
Make Playwright cache runner-agnostic
...
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m17s
CI / ci (pull_request) Successful in 1m22s
Replace hardcoded /opt/playwright-tools mount with a persistent Docker volume cache and install Chromium into that cache before E2E jobs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-03 12:56:37 +00:00
codex_a
0cbac68ec1
feat: add production deploy pipeline and fix dev CSS
...
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
CI / ci (pull_request) Successful in 1m23s
Dev:
- Add tailwind install + build to docker-compose startup so CSS is built
inside the container — not dependent on local filesystem
Production (docker-compose.prod.yml):
- Gunicorn on 127.0.0.1:8001, bind-mounted static/media to host paths
so Caddy can serve them directly
- Runs migrate, tailwind build, collectstatic on startup
Settings (production.py):
- Disable SECURE_SSL_REDIRECT (Caddy handles redirects; Django would loop)
- Add CSRF_TRUSTED_ORIGINS for nohypeai.net
CI (.gitea/workflows/ci.yml):
- Add push-to-main trigger
- Add deploy job: SSHes to lintel-prod-01 as deploy, runs deploy/deploy.sh
Server config (deploy/):
- deploy/caddy/nohype.caddy — Caddy site config for nohypeai.net
- deploy/sum-nohype.service — systemd unit for the compose stack
- deploy/deploy.sh — deploy script (pull, build, restart)
One-time manual steps required on lintel-prod-01 (need root):
sudo cp deploy/sum-nohype.service /etc/systemd/system/
sudo cp deploy/caddy/nohype.caddy /etc/caddy/sites-enabled/
sudo systemctl daemon-reload && sudo systemctl enable sum-nohype
sudo systemctl reload caddy
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 21:34:13 +00:00
codex_a
f6edcadd46
fix: run E2E tests properly with mounted browsers and real postgres
...
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m33s
CI / ci (pull_request) Successful in 2m18s
- Mount /opt/playwright-tools/browsers into web container (docker-compose.yml
and CI docker run) — never download browsers, use the ones on this host
- Set PLAYWRIGHT_BROWSERS_PATH in all container envs (compose + CI)
- Drop 'playwright install chromium' steps from pr-e2e and nightly-e2e jobs
- Bump playwright requirement to ~1.57.0 to match the installed browser builds
- Fix seed_e2e_content: de-duplicate default Site entries left by unit test
fixtures so Wagtail always routes to the seeded home page
- Fix test_comments_section_absent_when_disabled: use exact=True on heading
locator to avoid matching 'No Comments Article' h1 as 'Comments' heading
- Fix test_copy_link_button_updates_text: use [data-copy-link] data-attr
locator (stable across text change) and force-override clipboard.writeText
via page.evaluate() rather than relying on init_script polyfill
E2E suite verified locally: 34 passed via docker compose exec
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 20:20:18 +00:00
codex_a
9d323d2040
feat: add comprehensive Playwright E2E test suite
...
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Successful in 1m22s
CI / pr-e2e (pull_request) Failing after 3m28s
- Create e2e/ directory with 7 test modules covering:
- Home page: title, nav links, theme toggle, newsletter form
- Cookie consent: accept all, reject all, granular prefs, persistence
- Article index: loads, tag filter, click-through navigation
- Article detail: title/read-time, share section, comments, newsletter aside, related
- Comments: valid submit → redirect, empty body → error display, disabled check
- Newsletter: JS confirmation message, invalid email error, aside form, duplicate
- Feeds: RSS/sitemap/robots.txt validity, tag feed, seeded content present
- Extend seed_e2e_content management command with tagged article, about page,
no-comments article, and legal pages for richer test coverage
- Add seed command tests (create + idempotency) to keep coverage ≥ 90%
- Add pr-e2e CI job (runs on pull_request): builds image, starts postgres + app,
installs playwright, runs pytest e2e/
- Update nightly-e2e to run full e2e/ suite alongside legacy journey test
- Add --ignore=e2e to unit-test pytest step (coverage must not include browser tests)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 19:30:43 +00:00
Mark
ebddb6c904
fix(ci): validate tailwind output without host bind mount
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Successful in 1m21s
2026-02-28 16:47:58 +00:00
Mark
29e3589b1a
fix(ci): avoid docker subnet exhaustion and harden nightly feed check
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Failing after 3m40s
2026-02-28 16:43:20 +00:00
Mark
14db1bb57e
fix(ci): address PR blockers and move CI/nightly off sqlite
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Failing after 35s
2026-02-28 16:38:37 +00:00
Codex_B
36ac487cbd
Resolve PR review gaps across comments, security, feeds, and UX
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Successful in 48s
2026-02-28 13:47:21 +00:00
Codex_B
2cb1e622e2
Run PR CI via docker build/run without compose networks
CI / ci (pull_request) Successful in 43s
2026-02-28 13:05:28 +00:00
Codex_B
11b89e9e1c
Stabilize PR CI and harden compose startup
CI / ci (pull_request) Failing after 6s
2026-02-28 13:01:27 +00:00
Codex_B
06be5d6752
CI: isolate compose projects and remove runner container conflicts
CI / lint (pull_request) Failing after 6s
CI / typecheck (pull_request) Failing after 6s
CI / tests (pull_request) Failing after 8s
2026-02-28 12:56:44 +00:00
Codex_B
ebdf20e708
CI: remove buildx action dependency for runner compatibility
CI / typecheck (pull_request) Failing after 31s
CI / lint (pull_request) Successful in 2m8s
CI / tests (pull_request) Failing after 2m8s
2026-02-28 12:51:24 +00:00
Codex_B
47e8afea18
CI: use Docker Compose checks for runner compatibility
CI / typecheck (pull_request) Failing after 2m11s
CI / lint (pull_request) Failing after 2m51s
CI / tests (pull_request) Failing after 2m56s
2026-02-28 12:47:54 +00:00
Codex_B
630c86221f
CI: mirror workflow under .gitea/workflows for Gitea Actions
CI / lint (pull_request) Failing after 6s
CI / tests (pull_request) Failing after 6s
CI / typecheck (pull_request) Failing after 7s
2026-02-28 12:46:43 +00:00