Add a mechanism to completely reset the session.
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
An investigation into some failing tests suggests that the database session is not completely cleared.
We should look into possibly adding a ConnectionPreparer or something to the database pool
https://github.com/USACE/cwms-data-api/pull/1596#issuecomment-3961074039
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the investigation described in this issue and the linked pull-request comment, then trace how the database pool prepares and clears sessions. Evaluate the proposed ConnectionPreparer approach against the failing tests. Done means the session is completely reset and the affected tests no longer observe leftover database state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100