Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and tests for backgound Jobs #358

Merged
merged 4 commits into from
Feb 20, 2024
Merged

Fixes and tests for backgound Jobs #358

merged 4 commits into from
Feb 20, 2024

Conversation

mihow
Copy link
Collaborator

@mihow mihow commented Feb 20, 2024

Jobs continue to fail randomly when they are first started because the task gets a DoesNotExist error when looking up the job ID (which certainly does exist). This fixes a couple potential causes, as well as adds some tests, which uncovered more issues like allowed unauthenticated requests. Which it fixes as well.

Here is the primary DoesNotExist / IntegrityError I hope this PR fixes in production:
https://amii.sentry.io/share/issue/512c752a224641a8b046a82c1d0fd9c5/

Copy link

netlify bot commented Feb 20, 2024

Deploy Preview for ami-web ready!

Name Link
🔨 Latest commit 49d8862
🔍 Latest deploy log https://app.netlify.com/sites/ami-web/deploys/65d433091172bb00083b023f
😎 Deploy Preview https://deploy-preview-358--ami-web.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 74
Accessibility: 95
Best Practices: 92
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 20, 2024

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit 49d8862
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/65d43309db35820008de9953
😎 Deploy Preview https://deploy-preview-358--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mihow mihow merged commit e72e4ec into main Feb 20, 2024
6 checks passed
@mihow mihow deleted the fix/jobs-initial-create branch February 20, 2024 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant