channable / channable/opsqueue
Make submissions_failed.chunks_done a not nullable field
- Dominant language
- Rust
- Stars
- 96
- Forks
- 2
- Avg merge
- 1h 2m
- Merged PRs (30d)
- 2
Description
In #108 a `NULLABLE` field `chunks_done` was added. It is `NULLABLE` for backwards compatibility reasons only (existing rows in `submissions_failed` don't have a value for this column.
Because rows are flushed from this table after a configurable time we can remove the `NULLABLE` constraint after some time has passed, in a backwards-incompatible API change.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing issue #108 and the schema or migration that added chunks_done to submissions_failed. Check how the table's retention and flushing behavior affect existing rows, then make the column non-nullable once the compatibility period has passed and verify the migration and affected tests succeed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- database
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100