Skip to content

refactor(cli): redo... everything, should be backwards compatible.#1

Open
crankynetmaam wants to merge 17 commits into
mainfrom
topic/chris/debugger
Open

refactor(cli): redo... everything, should be backwards compatible.#1
crankynetmaam wants to merge 17 commits into
mainfrom
topic/chris/debugger

Conversation

@crankynetmaam
Copy link
Copy Markdown

@crankynetmaam crankynetmaam commented Jul 17, 2025

  • Rewrite CLI to use Click
  • Type hint all the things
  • Make it so we actually delete things from the queue when we're done with them.
  • Cleanup logging and standardize on the same approach everywhere
  • Added new commands for clearing and monitoring the queue.
  • Removed prometheus cruft that wasn't used
  • added vscode debugger settings (needs to be edited to point to the right scram instance)

TODO: Doc updates

crankynetmaam and others added 17 commits July 17, 2025 10:35
…es, retry failed ones

modularize the code a bit as it was growing to be confusing with the layout we had. this helps us handle the different ways to handle messages as well. we dont want to delete from PEL as thats the messages redis hasnt seen yet. we should process those. we can delete them entirely from the stream if they are successful. we ack the ones that dont get a 201 from SCRAM. this lets us then go back and loop the acked messages and retry, without impacting the new PEL messages
…confusing as root and clean up error_message vars
…don't have to pass the same one around all the time. Hopefully this works how I think it does.
… us avoid repeating this code in multiple places.
…en't successfully blocked. Also set up logic for retries from this stream. Note: A couple other stragglers I forgot..
…d_messages

fix(memory_leak): By not removing any messages we were seeing memory leaks
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.

3 participants