Expose localizable notice metadata#277
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
The server change introduces optional notice localization metadata while preserving legacy text. This updates the shared lobby contract first so downstream clients can adopt the fields without raw JSON handling. Constraint: FAF server PR 1083 adds optional notice localization fields while keeping legacy text for existing clients. Rejected: Client-only parsing workaround | shared lobby API should model the server contract first. Confidence: high Scope-risk: narrow Directive: Keep the two-argument NoticeInfo constructor available for Java callers until client consumers migrate. Tested: JAVA_HOME=/Users/yoseph/Codexperiment/.deps/jdk21/Contents/Home ./gradlew :lobby:test --tests com.faforever.commons.lobby.ServerMessageTest Tested: git diff --check Not-tested: Full Gradle suite. Co-authored-by: OmX <omx@oh-my-codex.dev>
377be9c to
4c7c19b
Compare
Summary
i18n_key,i18n_args, andexpires_atfields toNoticeInfoVerification
JAVA_HOME=/Users/yoseph/Codexperiment/.deps/jdk21/Contents/Home ./gradlew test— 75 tests passedJAVA_HOME=/Users/yoseph/Codexperiment/.deps/jdk21/Contents/Home ./gradlew :lobby:test --tests com.faforever.commons.lobby.ServerMessageTest— 22 tests passedgit diff --checkRelated: FAForever/server#1083