Plan: fix import.sh bugs found during manual run - #179
Open
mustyoshi wants to merge 2 commits into
Open
Conversation
Manual run of import.sh on the parser host surfaced a dead CONGRESS_API_KEY (sponsors import fully failing), a container-name collision that silently skips the releases step, and broken cron failure notifications. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HW6S5VWQfLtrN7995xfh6y
Every docker run --name congress-bill-parser step now uses --rm so it
always cleans itself up, instead of relying on manual `docker rm` calls
that were missing between prompts->bioguide and sponsors->releases and
caused those steps to be silently skipped on name conflicts. Also fixed
the bills step to reference ${CONGRESS_API_KEY}/${DISCORD_WEBHOOK} like
every other step instead of hardcoding the key literally.
Also corrects the plan doc: the sponsors-step 403s observed during the
manual test run are most likely explained by that run being started
without the CONGRESS_API_KEY env var cron normally supplies, not proof
the key itself is dead.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HW6S5VWQfLtrN7995xfh6y
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.
Summary
import.shon theparserhost: a dead/rejectedCONGRESS_API_KEY(sponsors import fully failing with 403s), missingdocker rmcalls between steps causing container-name collisions that silently skip thereleasesstep, a batch of action-parser errors during theactionsstep, and broken cron-failure email notifications.Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_01HW6S5VWQfLtrN7995xfh6y