Skip to content

Vb/fix diagnostic vanserialno - #365

Merged
SauravBizbRolly merged 2 commits into
release-3.9.2from
vb/fix-diagnostic-vanserialno
Oct 6, 2026
Merged

SauravBizbRolly merged 2 commits into
release-3.9.2from
vb/fix-diagnostic-vanserialno

Conversation

@vishwab1

@vishwab1 vishwab1 commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

📋 Description

JIRA ID: stop-575

Please provide a summary of the change and the motivation behind it. Include relevant context and details.


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

vishwab1 and others added 2 commits October 6, 2026 10:00
pollOnce saved a stale copy of the order loaded before createAndPushOrder's
updateVanSerialNo() ran, writing vanSerialNo back to NULL. MMU sync keys
tb_diagnostic_order by vanSerialNo, so those rows could never sync and the
Stop TB sync group stayed partial.

- refill vanSerialNo after the scheduler's save in pollOnce
- mark vanSerialNo updatable=false on the diagnostic entities so entity
  saves can no longer overwrite it (updateVanSerialNo still sets it)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fill vanSerialNo before the (possibly slow) EMR Lite push instead of only
after it, so a crash or restart mid-push can't leave the order without
its sync key. Same value (= id); no change to status, push or response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 70cfb7a8-252d-4a59-9dcb-628d1b08ff4d
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@SauravBizbRolly
SauravBizbRolly merged commit ff278e5 into release-3.9.2 Oct 6, 2026
2 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.

2 participants