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
I am getting an error when I run the ci build, which means our data isn't updating. I tried to look at the data locally but i can't figure out where it's erroring. My guess is it's a pydantic / model-related error, but it actually errors in the final steps of the sprint scripts save.
if you look at Ci it looks like a validation error where a none type value is received but not supported in the model 🤷♀
File "metrics/scripts/get-sprint-data.py", line 326, in <module>
project_id = get_project_id(project_pk, ACCESS_TOKEN)
File "metrics/scripts/get-sprint-data.py", line 79, in get_project_id
project_id = data["data"]["organization"]["projectV2"]["id"]
TypeError: 'NoneType' object is not subscriptable
One of the elements (except the last one called "id") is unexpectedly a None instead of a dictionary: data["data"]["organization"]["projectV2"]["id"]
Debugging this and improving the CI workflow in #86
The CI job is failing when running get-sprint-data.py. If we look at the history of this CI job, it's been failing since we merged my PR #73 adding this script. We didn't catch this because I didn't realize this was running on CI, was only testing/validating locally, and we didn't have this script running in a CI check for that PR.
My impression is that the GITHUB_TOKEN automatically provided lacks the necessary permissions to access project boards.
I am getting an error when I run the ci build, which means our data isn't updating. I tried to look at the data locally but i can't figure out where it's erroring. My guess is it's a pydantic / model-related error, but it actually errors in the final steps of the sprint scripts save.
if you look at Ci it looks like a validation error where a none type value is received but not supported in the model 🤷♀
look at this build for specifics of the failure.
The text was updated successfully, but these errors were encountered: