fix(backfill): an anonymous run says so at the END, where it is read - #31
Merged
Merged
Conversation
cubehouse
force-pushed
the
fix/anonymous-run-says-so
branch
from
September 28, 2026 18:21
cb5dd97 to
2e37e5e
Compare
Cube spotted that every documented example omits the API key. The docs are the smaller half of the problem: without a key the command SUCCEEDS. It reads the 7 days anonymous access allows, writes 433 rows of Magic Kingdom instead of about 94,000, and exits 0. The existing notice is printed before a run that takes minutes, so it scrolls away, and the last thing on screen is "done: 433 rows". For a customer who has just paid for 400 days that is indistinguishable from success -- there is a file, there is no error, and the number means nothing unless you already know what it should have been. A keyless example is worse than a broken one, because a broken one gets reported. So the notice is repeated at the end of the run, naming what the key would have bought. Both READMEs and the command's own epilog now export THEMEPARKS_API_KEY before the example that needs it, and keep saying that --list does not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
cubehouse
force-pushed
the
fix/anonymous-run-says-so
branch
from
September 28, 2026 18:22
2e37e5e to
b9f8362
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every documented example omitted the API key. The docs are the smaller half of the problem.
Without a key the command succeeds. It reads the 7 days anonymous access allows, writes 433 rows of Magic Kingdom instead of ~94,000, and exits 0:
The notice is printed before a run that takes minutes, so it scrolls away, and the last thing on screen is
done: 433 rows. For a customer who has just paid for 400 days that is indistinguishable from success — there is a file, there is no error, and the number means nothing unless you already know what it should have been.A keyless example is worse than a broken one, because a broken one gets reported.
Changed
that was ANONYMOUS ACCESS: the last 7 days only.--helpepilogexport THEMEPARKS_API_KEYbefore the example that needs it, and keep saying--listdoes not — finding a park before you have paid is the point of that flag.Two mutations pinned: dropping the closing notice, and firing it when a key was given. Both killed. 334 tests.
Companion: ThemeParks_JavaScript for the same change, and web for the two docs pages.
🤖 Generated with Claude Code