Skip to content

make/publish-app: correct the 1010 quota gotcha + drop retry-storm - #3

Merged
itsryanarmani merged 1 commit into
mainfrom
make-script-quota-learnings
Aug 22, 2026
Merged

itsryanarmani merged 1 commit into
mainfrom
make-script-quota-learnings

Conversation

@itsryanarmani

Copy link
Copy Markdown
Owner

Field-tested the publisher on a real 42-component Make app. Two fixes from what I learned:

  1. The 1010 error is a windowed QUOTA, not a per-second rate limit. Isolated calls and short bursts (20 rapid POSTs) all return 200; big back-to-back runs (100s of calls) drain the bucket, which then needs a ~30-60 min cooldown of no calls. Lowering --pause or looping retries doesn't help.
  2. Dropped the 5×30s retry-storm — it kept hammering the drained bucket and held it empty. Now it does one 20s backoff+retry, then aborts with guidance to wait and re-run (the script is idempotent, so it resumes). README + docstring rewritten with the accurate gotcha so the next person doesn't lose an hour to it.

Field-tested the script publishing a real 42-component app. The 1010 error is
NOT a per-second rate limit (as the first version implied) — it's a WINDOWED
write quota. Isolated calls and 20-rapid bursts return 200; big back-to-back
runs drain it, and it then needs a ~30-60 min cooldown. The old 5x30s
retry-storm made it WORSE by hammering the empty bucket. Now: one short
backoff+retry, then abort with clear guidance to wait and re-run (idempotent,
resumes where it left off). README + docstring updated with the real lesson.
@itsryanarmani
itsryanarmani merged commit 5c68c3f into main Aug 22, 2026
@itsryanarmani
itsryanarmani deleted the make-script-quota-learnings branch August 22, 2026 23:28
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