Skip to content

Conversation

gerhard
Copy link
Member

@gerhard gerhard commented Apr 19, 2025

  • handles path mappings at the edge, including practical.ai redirects
  • includes VTC tests for the above (plus a few more)
    • 💡 just test-vtc
  • adds origin to cache-status header (origin=app,app.tld || origin=feeds,feeds.tld)
  • includes acceptance tests which now run against local by default
    • 💡 just test-acceptance-local
  • acceptance tests are run daily (or on demand) against both CDNs so that we ensure behaviour is consistent
    • 💡 just test-acceptance-cdn test-acceptance-cdn2

Uploads acceptance test reports as GHA artefacts.

Also added the latest production VCL as changelog.com.vcl so that we
have the current "source of truth".

Upgrades:

  • Varnish to 7.7.0 (from 7.4.3)
  • Dagger to 0.18.3 (from 0.16.1)

Follow-ups:

  • Test if stale content is served when backends go unhealthy

Questions for thechangelog/changelog.com#544

  • Where should we handle practical.ai redirects: at the edge or in the app?
  • Should /plusplus/xx/feed be public?
  • Do we want to handle /rss internally, meaning HTTP 200 instead of HTTP 302?
  • No table lookup means that we need to if { } else if { } which I think is OK, but WDYT?

@gerhard gerhard force-pushed the add-feeds-backend branch 14 times, most recently from 1de6b19 to 95c308e Compare April 21, 2025 17:22
- handles path mappings at the edge, including practical.ai redirects
- includes VTC tests for the above (plus a few more)
  - 💡 `just test-vtc`
- adds origin to `cache-status` header (`origin=app,app.tld` ||
  `origin=feeds,feeds.tld`)
- includes acceptance tests which now run against local by default
  - 💡 `just test-acceptance-local`
- acceptance tests are run daily (or on demand) against both CDNs so that
  we ensure behaviour is consistent
  - 💡 `just test-acceptance-cdn test-acceptance-cdn2`

Uploads acceptance test reports as GHA artefacts.

Also added the latest production VCL as `changelog.com.vcl` so that we
have the current "source of truth".

Upgrades:
- Varnish to 7.7.0 (from 7.4.3)
- Dagger to 0.18.3 (from 0.16.1)

Follow-ups:
- Test if stale content is served when backends go unhealthy

Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard gerhard force-pushed the add-feeds-backend branch from 95c308e to 36b3f1c Compare April 21, 2025 17:26
@gerhard gerhard marked this pull request as ready for review April 21, 2025 17:29
@gerhard gerhard merged commit 45882f6 into main Apr 21, 2025
5 checks passed
@gerhard gerhard deleted the add-feeds-backend branch April 21, 2025 17:31
@gerhard gerhard added this to the 1.0 milestone Jun 12, 2025
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