feat: extract portal packages (portal-backend and portal-app) - #707
Conversation
Move the backend composition into the published @openchoreo/backstage-portal-backend (feature bundle + IDP root-router factory) and the app shell into the private @openchoreo/backstage-portal-app (createPortalApp); app and backend are now thin consumers. Behavior unchanged. Part of openchoreo/openchoreo#4330 Signed-off-by: Kavith Lokuhewage <kaviththiranga@gmail.com>
|
Important Review skippedToo many files! This PR contains 220 files, which is 120 over the limit of 100. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (220)
You can disable this status message by setting the ✨ 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 |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Express the backend composition as data (service factories + lazy import thunks) so tests can assert it without booting plugins; behavior unchanged. Part of openchoreo/openchoreo#4330 Signed-off-by: Kavith Lokuhewage <kaviththiranga@gmail.com>
With gcTime 0 the unobserved entry is evicted on a setTimeout(0), so the second fetchQuery raced the GC timer under CI load. Fake timers keep the timer pending so the test asserts the staleTime contract deterministically. Signed-off-by: Kavith Lokuhewage <kaviththiranga@gmail.com>
Move the backend composition into the published
@openchoreo/backstage-portal-backend (feature bundle + IDP root-router factory) and the app shell into the private
@openchoreo/backstage-portal-app (createPortalApp); app and backend are now thin consumers. Behavior unchanged.
Part of openchoreo/openchoreo#4330