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

Make sure the first page load is complete before updating database #13200

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

mkllnk
Copy link
Member

@mkllnk mkllnk commented Mar 7, 2025

What? Why?

The issue describes two specs in the same file which are still flaky. For one of them I found the root cause and addressed it in this pull request. The fail rate was only 1% and I tested with hundreds of executions on CI to test this.

In hindsight, I wish we would just get rid of our current AngularJS and render simple HTML. Then we wouldn't have this kind of flakiness that came from AJAX requests.

What should we test?

  • Specs only.

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

Dependencies

Documentation updates

@mkllnk mkllnk self-assigned this Mar 7, 2025
@mkllnk mkllnk added the technical changes only These pull requests do not contain user facing changes and are grouped in release notes label Mar 7, 2025
@mkllnk mkllnk marked this pull request as ready for review March 7, 2025 02:40
Copy link
Collaborator

@rioug rioug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, thanks for fixing this longrunning issue!

@dacook dacook merged commit 19ae49a into openfoodfoundation:master Mar 11, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical changes only These pull requests do not contain user facing changes and are grouped in release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants