Skip to content

feat(backfill): fix ship events stuck on pending after return#453

Merged
dhamariT merged 1 commit into
hackclub:mainfrom
ObayM:backfil-returned-ships
Jun 8, 2026
Merged

feat(backfill): fix ship events stuck on pending after return#453
dhamariT merged 1 commit into
hackclub:mainfrom
ObayM:backfil-returned-ships

Conversation

@ObayM

@ObayM ObayM commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Before recertification was merged, some projects got returned by shipwrights but their ship_event.certification_status never got updated from "pending" to "returned". so the ship card kept showing "Pending review" with no way to reship.

this adds a backfill rake task to fix those :)

You can run it using

bin/rails backfill:returned_ship_events          # dry run
bin/rails backfill:returned_ship_events DRY_RUN=false

Results from my local db.
image

@dhamariT dhamariT added this pull request to the he merge queue Jun 8, 2026
Merged via the queue into hackclub:main with commit t 4999519 Jun 8, 2026
9 checks passed
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.

None yet

2 participants