Skip to content

Server: turn off Workers invocation logs, which kept article URLs in clear - #264

Merged
TheGlitching merged 1 commit into
mainfrom
fm/squiggle-logs-transparence
Nov 23, 2026
Merged

TheGlitching merged 1 commit into
mainfrom
fm/squiggle-logs-transparence

Conversation

@TheGlitching

Copy link
Copy Markdown
Owner

"observability": { "enabled": true } turned on Cloudflare's invocation logs as well as the lines server/src/lib/log.ts writes. An invocation log records each request's URL, which carries the article address, plus the reader's IP and city - what /transparence and PRIVACY.md say we never keep in clear.

  • server/wrangler.jsonc: observability.logs sets invocation_logs: false and keeps enabled: true, so the log.ts lines are still collected. Neither environment overrides observability, so both inherit this.
  • server/tests/deploy.test.ts: checks that invocation logs stay off and that no environment overrides the setting.

Checked: server tests (415 passing), tsc --noEmit, wrangler deploy --dry-run --env production.

@TheGlitching
TheGlitching merged commit a22a8b2 into main Nov 23, 2026
1 check passed
@TheGlitching
TheGlitching deleted the fm/squiggle-logs-transparence branch November 23, 2026 22:01
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