Skip to content

fix(molnix): sync alert status when event mapping fails (#2454)#2791

Open
Tarekchehahde wants to merge 1 commit into
IFRCGo:developfrom
Tarekchehahde:fix/issue-2454-molnix-alert-status-on-error
Open

fix(molnix): sync alert status when event mapping fails (#2454)#2791
Tarekchehahde wants to merge 1 commit into
IFRCGo:developfrom
Tarekchehahde:fix/issue-2454-molnix-alert-status-on-error

Conversation

@Tarekchehahde

Copy link
Copy Markdown

Summary

  • Extract apply_molnix_position_to_surge_alert() for Molnix → GO field mapping
  • When a new position lacks a valid Emergency tag, still update molnix_status and dates from Molnix before skipping further processing

Test plan

  • Staging: position with invalid Emergency tag gets GO status matching Molnix (e.g. stood down)
  • Existing happy-path positions unchanged

Fixes #2454

Made with Cursor

Apply Molnix position status to SurgeAlert even for new positions
without a valid Emergency tag, avoiding stood-down Molnix / open GO mismatch.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

[PROD] Molnix statuses

1 participant