Depends on D2411.
Details
- Reviewers
olasd - Group Reviewers
Reviewers - Maniphest Tasks
- T1359: Add sentry support in every swh running service
- Commits
- rDCORE139e3d368cf8: Add gunicorn config script to initialize sentry-sdk based on envvars.
Diff Detail
- Repository
- rDCORE Foundations and core functionalities
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/375/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/375/console
I don't know how to fix the tests. It's failing in the non-http envs, because I only install sentry-sdk (with the flask extra) for http.
Build is green
See https://jenkins.softwareheritage.org/job/DCORE/job/tox/376/ for more details.
Looks like phabricator messed up the stacking here. See comments on the other diff.
Before merging, could you add a rationale for using the post_fork hook as a comment or docstring here? I guess the point is to do the sentry sdk init as early as possible in every worker, but making that explicit would surely help the next person understand that.
Build is green
See https://jenkins.softwareheritage.org/job/DCORE/job/tox/378/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DCORE/job/tox/379/ for more details.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/380/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/380/console