| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@alprojectservices-create is attempting to deploy a commit to the Nuver Labs Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: Repository: textbee/textbee/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: d9381eee-e9db-4c6d-9976-24f7b1dbd260 📥 CommitsReviewing files that changed from the base of the PR and between 36b8d30 and 13cd258. 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 Walkthrough WalkthroughHeartbeatResponseDTO.lastHeartbeat now uses a nullable String. A unit test verifies deserialization of an ISO 8601 timestamp with milliseconds and a Z suffix. ChangesHeartbeat timestamp handling
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: vernu 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
The gateway heartbeat endpoint returns lastHeartbeat as an ISO-8601 JSON string because the API response field is a JavaScript Date. The Android response DTO currently declares the field as Long, causing Gson 2.9.0 to throw NumberFormatException while deserializing an otherwise successful heartbeat response.
This change aligns the Android DTO with the API contract by changing lastHeartbeat to nullable String.
Reproduction
A response containing:
2026-09-20T19:53:31.278Z
fails before this change with JsonSyntaxException caused by NumberFormatException.
Verification
Scope
No heartbeat interval, retry policy, API endpoint, or server-side behavior is changed.
Summary by CodeRabbit