Repository navigation
release: Fleet-Ops v0.6.68 - #329
Merged
Merged
Conversation
…eeps - A completed scheduled sweep updates the connection's status and last sync fields, replacing a stale failure. It never overrides a manual request still in flight, and a partial sweep leaves the last reported state unchanged. The update bypasses model events so minute sweeps do not add activity log entries. - "Sync Devices" no longer fails with "already queued or running" while a scheduled sweep holds the connection's poll lease. The request is recorded and the next sweep adopts and completes it. - Scheduled sweeps also adopt manual requests abandoned by a lost or interrupted job, so a request cannot stay queued, running or retrying indefinitely. - docs/TELEMATICS_QUEUES.md: telematics workers must match the queue worker's image and environment including APP_KEY, queue names must match exactly, and a troubleshooting table covers the failures seen in production.
- Add SascoFuelProvider: username/password login against the B2B admin endpoint, JWT cached until one minute before expiry, a single re-login when a request returns 401, and connection testing via the vehicles list. - Import driver transactions with Current_page pagination bounded by totalItems and the existing max_pages guard; normalize plate letters and digits into "NXD 1240", amounts into SAR minor units, and keep fuel type, driver and receipt image details in the normalized payload. - Register the sasco provider config with QC and production base URLs. - Make the connection form environment labels provider-specific and drop PetroApp-only wording from the sync run details; show SASCO spend in SAR and surface driver name and phone on transaction details.
Keep telematics sync status current and accept manual syncs during sweeps
Add SASCO B2B as a native fuel provider
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #329 +/- ##
=============================================
- Coverage 100.00% 99.99% -0.01%
- Complexity 11887 11936 +49
=============================================
Files 582 583 +1
Lines 44715 44892 +177
=============================================
+ Hits 44715 44891 +176
- Misses 0 1 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Planned release work
APP_KEY, image, queue names)Before merging
release/v0.6.68.drivers-transactionsendpoint with SASCO (see Add SASCO B2B as a native fuel provider #328).