Site
Service verification checklist
When deploys fail, features rot, or secrets feel suspicious, verify which external services are still in active use by the site before deleting variables or dependencies.
Verify in code
Search for direct environment variable usage:
rg -n "ASTRO_STUDIO_APP_TOKEN|WORKOS_API_KEY|WORKOS_CLIENT_ID|WORKOS_COOKIE_PASSWORD|WORKOS_REDIRECT_URI|YOUTUBE_API_KEY|NODE_VERSION|import\.meta\.env|process\.env" . -g '!node_modules' -g '!dist'Current known usage
YOUTUBE_API_KEY→ localnpm run refresh:talksworkflow viascripts/refresh-talks.mjs, not app runtimeWORKOS_API_KEY→src/lib/authkit.tsWORKOS_CLIENT_ID→src/lib/authkit.tsWORKOS_REDIRECT_URI→src/lib/authkit.tsWORKOS_COOKIE_PASSWORD→src/lib/authkit.tsNODE_VERSION→ build environment setting, not app codeASTRO_STUDIO_APP_TOKEN→ no current app code references after Astro DB removal
Deletion rule
- If a variable has no code references and no build-pipeline role, remove it.
- If a variable is only needed by the build command, document that before deleting it.
- Rotate any secret that has been exposed in logs, screenshots, or dashboards.
URL Debugging
| url option | result |
|---|---|
#share | Shows package for social sharing. |
#body | Enables visual debugging on entire body. |