Conversation
|
Warning Rate limit exceeded
⌛ 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. WalkthroughThe Label_MA plugin's tail handling logic is modified to sanitize dots from tail values before formatting. Additionally, the merge order of raw decode results is reversed to change property precedence. Tests are updated to reflect the new tail formatting behavior and a new decode scenario is validated. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
adding another spec
d05a12b to
12604cb
Compare
| test('decodes twice', () => { | ||
| const text = "T20!<<,B/k&,Z:/=Hs!'iLt0/1h8|*KJNa__;Kes\"hV'&4]J&&&;\"X/O6%0d7TMg5=d7'gcZ:j\"2EiA7k`-`$]f/<L\\63L-&,<Pi[2<O9p^t+Khl*&\\e^,*%4:H<-9Lm>r>q-b^jGP>WX4Dk3IrQ:U4%?]H$4HCd0Z(^Yq+lXXR!=niT!#;:5UAQ`JU@Bfn/*)TSu?G=LuOlLaFSmkGi]eE[!o&j@iX^g0r)T9!Ye)k6aOmSf`8G)8,hS5Fq_trW*!!"; | ||
| // decodes to label 80 | ||
| // 3D01 RMPSRV 2501/02 LEMD/MMUN .EC-NOI\n/LAV Y/CAB Y/MEDA N/SEC N/WAS N/WAT N/FUEL N/WCHRR 01/WCHRS --/WCHRC --/UMNR --/MAAS N\nBUENAS NOCHES, ETA 0055Z Y NOS HAN PEDIDO UNA WCHR QUE AL PARECER NO TENIAMOS CONSTANCIA DE ELLA, POR SI PODEIS PEDIRLO A OPS CUN. MUCHAS GRACIAS |
There was a problem hiding this comment.
do we want this message stored somewhere?
There was a problem hiding this comment.
put the remaining parts in remaining
| expect(decodeResult.raw.departure_icao).toBe('LEMD'); | ||
| expect(decodeResult.raw.arrival_icao).toBe('MMUN'); | ||
| expect(decodeResult.raw.day).toBe(2); | ||
| expect(decodeResult.formatted.items.length).toBe(7); // Tail twice |
There was a problem hiding this comment.
I should probably have an if tail exists, don't add again - but i don't want to
don't show text if not fully decoded
adding another spec
Summary by CodeRabbit
Bug Fixes
Tests