bcgov / bcgov/wps

Dev: Audit use of write sessions

Open
#4,597 0 comments 0 reactions 0 assignees View on GitHub
4Refinement Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Describe the task**
Make sure we only use write sessions when necessary.

**Acceptance Criteria**
- [ ] All calls to `get_write_session_scope` and `get_async_write_session_scope` have been reviewed to determine if they are necessary
- [ ] A listing of instances where a read session should be used in place of a write session

**Additional context**
- No code changes required for this ticket. We can create follow on tasks if necessary.

Contributor guide

Open the contributing guide

Research direction

Search the repository for calls to `get_write_session_scope` and `get_async_write_session_scope`. Review each call to determine whether it performs writes or could use a read session, then produce the requested listing of candidates; no code changes are required for this ticket.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.