You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally the nightly stubtest run fails. About 6 weeks ago, I wrote the following script, which checks whether the last run failed, and if it did, it adds a reminder for me to fix it:
#!/bin/bash
date
url="https://api.github.com/repos/python/typeshed/actions/workflows/stubtest.yml/runs?per_page=1"
if curl "$url" -H "Accept: application/vnd.github.v3+json" | grep failure; then
echo $(date +'%Y-%m-%d') ONCE "typeshed: checking all stubs with stubtest is failing" >> ~/.tasklist
fi
I set this to run whenever I log in. When I see the reminder in my task list, I usually find the failure on github and create an issue such as #6683, #6501, #6855 or #6971.
This works, but relying on a script running on one maintainer's personal computer doesn't feel right. We could automate creating the issue, but the catch is that we will get a spam of several issues if stubtest is broken for several days: https://github.community/t/create-an-issue-case-the-workflow-fails/17247
The text was updated successfully, but these errors were encountered:
Occasionally the nightly stubtest run fails. About 6 weeks ago, I wrote the following script, which checks whether the last run failed, and if it did, it adds a reminder for me to fix it:
I set this to run whenever I log in. When I see the reminder in my task list, I usually find the failure on github and create an issue such as #6683, #6501, #6855 or #6971.
This works, but relying on a script running on one maintainer's personal computer doesn't feel right. We could automate creating the issue, but the catch is that we will get a spam of several issues if stubtest is broken for several days: https://github.community/t/create-an-issue-case-the-workflow-fails/17247
The text was updated successfully, but these errors were encountered: