Skip to content

Fix intermittent station job payout drops#1556

Open
Kronyxxx wants to merge 2 commits intoHardLightSector:masterfrom
Kronyxxx:fix/station-pay-missed-payout
Open

Fix intermittent station job payout drops#1556
Kronyxxx wants to merge 2 commits intoHardLightSector:masterfrom
Kronyxxx:fix/station-pay-missed-payout

Conversation

@Kronyxxx
Copy link
Copy Markdown
Collaborator

@Kronyxxx Kronyxxx commented May 1, 2026

Summary\n- keep station pay scheduling synchronized when minds move between entities (MindAdded/MindRemoved on tracked jobs)\n- make payout attempts return success/failure and only advance the schedule when the payout actually succeeds\n- avoid silently dropping a pay interval when an eligible job is temporarily unattached\n\n## Root cause\n- station pay scheduling only listened to role add/remove, which does not fire on mind transfer between bodies\n- payout schedule entries could stay on the old entity after transfer and then fail deposits\n- update loop always advanced schedule even when deposit failed, permanently dropping that tick\n\n## Validation\n- dotnet build Content.Server/Content.Server.csproj (succeeds; warnings only)

@Kronyxxx Kronyxxx marked this pull request as draft May 1, 2026 05:12
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@fenndragon fenndragon marked this pull request as ready for review May 7, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant