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

AO3-6638 Intermittent failure in cucumber tag_wrangling, orphan_pseud, and user_delete features #4658

Merged
merged 6 commits into from
Nov 15, 2023

Conversation

ceithir
Copy link
Contributor

@ceithir ceithir commented Nov 11, 2023

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-6638

Failing Scenarios:
cucumber features/tags_and_wrangling/tag_wrangling.feature:318 # Scenario: Can simultaneously add a grandparent metatag as a direct metatag and remove the parent metatag

Purpose

Fix a test that has been (for unclear reasons) failing a lot lately. Issue partially diagnosed and solution provided here at first.

Testing Instructions

The CI should stop being red so often.

@github-actions github-actions bot added Scope: Tests Only Only changes automated tests or test configuration Awaiting Review labels Nov 11, 2023
@ceithir
Copy link
Contributor Author

ceithir commented Nov 11, 2023

The failure currently happening is the one solved here.

@Bilka2
Copy link
Contributor

Bilka2 commented Nov 11, 2023

The failure currently happening is the one solved here.

Unfortunately not. The PR is for the orphan_work.feature file, this failure is in:

cucumber features/other_a/orphan_pseud.feature:8 # Scenario: Orphan all works belonging to one pseud

But I would still say it's a flaky test and it can likely be fixed in the same way.

@ceithir
Copy link
Contributor Author

ceithir commented Nov 11, 2023

Doh! Read too quickly. Thanks for the head up.

Might as well add fix for this one too while I'm at it.

More consistent with other formerly intermittent tests
Copy link
Contributor

@Bilka2 Bilka2 left a comment

Choose a reason for hiding this comment

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

Test run looks good.

@sarken sarken changed the title Intermittent failure in cucumber features/tags_and_wrangling/tag_wrangling.feature AO3-6638 Intermittent failure in cucumber tag_wrangling, orphan_pseud, and user_delete features Nov 15, 2023
@sarken sarken merged commit bba3552 into otwcode:master Nov 15, 2023
25 checks passed
ceithir added a commit to ceithir/otwarchive that referenced this pull request Dec 26, 2023
brianjaustin pushed a commit that referenced this pull request Jan 26, 2024
…4646)

* Move copy-pasted count to a single function

* Load unwrangled counts from ES

* Now count the right thing

* Hound

* Fix (some?) tests

* Load tags on Index from ES

* Restore ordering by name ASC second on uses

* Use _cache everywhere

* Hound

* Linter

* Update tests

* Hound

* Some sort of solution for seemingly noop

* Linter

* Now unused?

* Syntax/Typo

* Only store unwrangeable value

* Hound

* Fix Grandparent bug?

* More subtle cache bursting

* Review

* More explicit uncovered case

* Syntax confusion

* Hopefully helpful comment

* Review

* Obsolete

See #4658

* Review

* Linter

* Split into (almost) unitary tags

in_use still doing two things
As it contains a OR

* Cop

* Review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewed: Ready to Merge Scope: Tests Only Only changes automated tests or test configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants