Repository navigation
Conversation
3 tasks done
This branch has not been deployed
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.
What does this change?
Closes #11.
Add
daily-report-jalali.yaml: check a configurable website at 09:00 Asia/Tehran and send a Persian Telegram report with the Jalali date, Persian digits, HTTP status and elapsed time. HTTP error responses are reported; connection failures and timeouts fail the run. Escape the configured URL for Telegram HTML.Document configuration and manual execution, and add two mocked end-to-end cases (HTTP 200 and 503), including a fixed Nowruz date, Tehran timezone and HTML escaping. No runtime code or dependencies change.
Validation
Python 3.12.14:
pytest --cov=flowpilot -q: 152 passed, 96% coverage. Proxy environment variables were unset for mocked HTTP tests.mypy: passed (38 source files).flowpilot -p examples validate: all 8 workflows valid.git diff --checkpasses.Full-repository Ruff currently fails on pre-existing test docstrings from 89d7285 (7 E501 errors and 13 files needing a blank line). This example does not alter those files.
Checklist
pytest)ruff check .,ruff format --check .andmypypass (pre-existing Ruff failures noted above)Prepared with AI assistance; all HTTP and Telegram requests in tests are mocked.