Skip to content

fix(frontend): address leaky firefox tests - #12904

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
matmair:try-frontend-context-cleanup
Sep 21, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
matmair:try-frontend-context-cleanup

Conversation

@matmair

@matmair matmair commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

There seems to be an issue where background polling contexts are not stopped properly between tests, leading to resource exhaustion. Found with data from flakiness.io and Anthropic Claude (Fable and Opus) used to parse the logs and prototype a minimal fix.

@netlify

netlify Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 72a8585
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6ab0c61668a29400079e6a66
😎 Deploy Preview https://deploy-preview-12904--inventree-web-pui-preview.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: 94 (🟢 up 2 from production)
Accessibility: 82 (no change from production)
Best Practices: 92 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

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

@matmair matmair self-assigned this Sep 21, 2026
@matmair matmair added bug Identifies a bug which needs to be addressed CI CI / unit testing ecosystem labels Sep 21, 2026
@matmair matmair added this to the 1.6.0 milestone Sep 21, 2026
@matmair
matmair marked this pull request as ready for review September 21, 2026 06:31
@matmair matmair changed the title try fixing leaky firefox tests fix(frontend): adress leaky firefox tests Sep 21, 2026
@matmair matmair changed the title fix(frontend): adress leaky firefox tests fix(frontend): address leaky firefox tests Sep 21, 2026
@SchrodingersGat

Copy link
Copy Markdown
Member

Hopefully this can reduce some CI noise! Thanks for looking into this.

@SchrodingersGat
SchrodingersGat merged commit c86df83 into inventree:master Sep 21, 2026
44 checks passed
@SchrodingersGat
SchrodingersGat deleted the try-frontend-context-cleanup branch September 21, 2026 06:56
@matmair

matmair commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

these unreliable ci tests on firefox are a mayor time-consumer for me; I hope we have gotten all issues now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed CI CI / unit testing ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants