chore: follow up workflow fixes with docs, comments, and regression tests#139
Merged
adrunkhuman merged 4 commits intomasterfrom Mar 22, 2026
Merged
chore: follow up workflow fixes with docs, comments, and regression tests#139adrunkhuman merged 4 commits intomasterfrom
adrunkhuman merged 4 commits intomasterfrom
Conversation
Remove comment narration that was restating code so the touched files stay easier to scan. Keep the comments that still carry workflow or safety context.
Document the real deployment defaults, restore flow, and message-routing behavior so operators and contributors stop guessing from stale assumptions. Add docstrings where the recent workflow and database changes made public contracts harder to infer from code alone.
Add coverage for the concurrency, routing, restore, timezone, and admin command paths that changed across the recent fixes and refactors. This locks in the behavior the docs now describe and reduces the risk of regressions in the stateful workflows.
|
🚅 Deployed to the matchday-typer-pr-139 environment in patient-quietude
|
Update the repo-local agent instructions so they match the current data path defaults, timezone default, split database layout, backup timing, and restore safety behavior. This keeps future follow-up work from being driven by stale project context.
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
Why
Notes
Verification
uv run ruff check scripts/restore_db.py tests/test_admin_commands.py tests/test_bot.py tests/test_config.py tests/test_database.py tests/test_results_handler.py tests/test_restore_db.py tests/test_thread_prediction_handler.py tests/test_timezone.py typer_bot/bot.py typer_bot/commands/admin_panel/base.py typer_bot/commands/admin_panel/modals.py typer_bot/database/connection.py typer_bot/handlers/dm_prediction_handler.py typer_bot/handlers/thread_prediction_handler.py typer_bot/services/workflow_state.py typer_bot/utils/config.py typer_bot/utils/prediction_parser.pyuv run pytest