chore: replace print() with proper logging; add jitter to automation #25
Reference in New Issue
Block a user
No description provided.
Delete Branch "aitbc/23-remove-print-statements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR addresses issue #23 (Remove print statements from library code) and partially addresses #20 (Replace bare except).
Changes
print()withclick.echo()for proper stdout/stderr handling.loggingimport andloggerinstance; replacedprint()withlogger.info()(or appropriate level).scripts/claim-task.py,scripts/monitor-prs.py,scripts/qa-cycle.py): rewrote to use theloggingmodule instead of customlog(); added random jitter at startup to avoid thundering herd.cli/aitbc_cli/commands/regulatory.py(aliased service imports) which was pending from earlier.Testing
Autonomous coordination continues with updated scripts now in the repository.
Closes #23.
Pull request closed