Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: a few improvements to the dry-run, allocations and snapshot update scripts #457

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

travis
Copy link
Member

@travis travis commented Jan 23, 2025

  • simplify configuration by hard coding table names - I thought about trying to extract this to a constant but decided it's at least a separate project if it's worth doing at all - happy to jump into that in a quick followup if anyone strongly prefers it
  • fix upsert snapshot script to work for more than 100 snapshots

For some reason some space snapshots have been missed in the past, despite seemingly being in the DB and showing up in dry run.
remove one log line since it's already covered by a different line, and improve that line

throw an error rather than just returning silently if we receive an insert event with no records - I think this is an error, since I'm not sure when it could happen
…ate scripts

* simplify configuration by hard coding table names - I thought about trying to extract this to a constant but decided it's at least a separate project if it's worth doing at all - happy to jump into that in a quick followup if anyone strongly prefers it
* fix upsert snapshot script to work for more than 100 snapshots
Copy link

seed-deploy bot commented Jan 23, 2025

View stack outputs

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