miguel-teixeira 56f1a555f4
Tests / writer-pipeline tests (push) Successful in 4m54s
Tests / bridge tests (push) Successful in 3m58s
Tests / frontend lib tests (push) Successful in 3m35s
Tests / writer-pipeline tests (pull_request) Successful in 2m31s
Tests / bridge tests (pull_request) Successful in 1m11s
Tests / frontend lib tests (pull_request) Successful in 1m10s
docs(perf): BIT-28144 root cause, fix, deploy + re-measurement addendum
Root cause: FpaAgendaSection (andebol.net-only, up to 48 FPA agenda cards)
Style & Layout main-thread cost, fixed via content-visibility on
.fpa-agenda__card (PR #42, merged as 6b95f4d).

Also documents a separate but directly blocking finding: the ct222-news
deploy cron had been failing silently for ~24h (broken SSH deploy key,
never registered with Gitea) so 15+ merged PRs including this fix never
reached production. Fixed by switching to the standard HTTPS PAT +
credential-helper pattern from CT_DEPLOY_CREDENTIAL_ROTATION_BIT28016;
cron auto-recovered and deployed ec22a04 without further intervention.

Re-measurement is inconclusive on numeric pass/fail: this measurement
host was under heavy unrelated contention (load avg 48-60/24 cores),
confirmed by newsproject.bitreport.pt (a previously-verified-passing
control) also failing in the same session. Fix is confirmed live and
the targeted metric (Style & Layout) improved ~2x in the calmest runs;
authoritative re-verification needs PSI (quota-exhausted today) or a
quiet host window.

Paperclip-Issue: BIT-28144
2026-08-05 00:18:10 +01:00

news-platform

Scalable multi-domain sports news platform — Astro 5 SSR frontend, Fastify bridge, headless WordPress.

Structure

news-platform/
  frontend/         # Astro 5 SSR frontend application
  bridge/           # Fastify bridge (WordPress REST API cache + normalizer)
  writer-pipeline/  # RSS aggregator store, metrics, optional WP drafts (andebol.net)
  wordpress/        # WordPress config, themes, plugins
  config/domains/   # Per-domain configuration files
  docs/             # Architecture and runbooks
  deploy/           # LXC provisioning and deploy scripts

Quick Start

# 1. Start WordPress + MySQL
cd wordpress && docker compose up -d

# 2. Start bridge
cd bridge && npm install && npm run dev

# 3. Start frontend
cd frontend && npm install && npm run dev

Open: http://localhost:4321

Documentation

Core

Aggregator & Writer Pipeline

Internationalisation

  • Paperclip project: News Platform
  • Parent issue: BIT-345
  • Gitea remote: https://git.bitreport.pt/BitReport.pt/news-platform.git
S
Description
Scalable multi-domain sports news platform (frontend + WP bridge + SEO + LXC deploy)
Readme
4.6 MiB
0 Stars 32 Watchers 0 Forks
Languages
TypeScript 51.2%
Astro 38.9%
Shell 6.4%
CSS 2.2%
JavaScript 1.3%