Skip to content

Conversation

@cielf
Copy link
Collaborator

@cielf cielf commented Dec 2, 2025

Description

The seed was intermittently failing, causing there to be no transactions/history added to the organizations

Investigation revealed that the extra items added to the Second City bank were based on a random base item, and that if the base item it was based on had a null reporting category, the item would not be created. Later code fails unless there are 4 of these items.

This problem would go away eventually when we finish decoupling the items from base items, but in the meantime I have changed the collection of base items that the Second City Bank items are based on to only include the ones with a reporting category. We could set this back to "all" once we decouple items and base items.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I ran the seed several times without it failing.

@cielf cielf requested a review from dorner December 2, 2025 18:52
@dorner dorner merged commit ba9c61f into rubyforgood:main Dec 2, 2025
11 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2025

@cielf: Your PR Fix issue where seed was intermittently failing part way through is part of today's Human Essentials production release: 2025.12.07.
Thank you very much for your contribution!

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.

2 participants