-
Notifications
You must be signed in to change notification settings - Fork 4
feat(medium): fix: Repair Spotify Service Bus PR by removing CI changes and fixing types #7672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: revert-7629-revert-6044-feature/unified-spotify-service-bus-4213671119605971049
Are you sure you want to change the base?
Conversation
…types - Reverted unrelated changes in .github/ to match origin/leader. - Refactored services/spotifyPolling.ts to use type assertions instead of @ts-expect-error. - Updated components/SpotifyDisplay.tsx to reset sliding state on disconnect. - Added comment to app/api/spotify/control/route.ts regarding hardcoded token_type. Co-authored-by: arii <342438+arii@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR addresses several CI workflow improvements and a client-side Spotify display bug. While some changes are positive, there are critical issues regarding type safety and CI robustness that require attention. Strengths
Issues
Test CoverageThe changes primarily affect CI workflows and a client-side UI component. The client-side fix for VerdictRequest Changes due to the critical type safety violation and the potential for CI jobs to hang indefinitely. The other issues, while less severe, should also be addressed to maintain code quality and CI efficiency.
|
Thank you for the detailed review. I have addressed the feedback as follows:
|
Description
This PR aims to repair the Spotify Service Bus functionality by addressing several issues. It includes reverting previous, unrelated CI changes, correcting TypeScript type assertions, updating a UI component's state management, and adding a clarification comment to an API route.
Specifically:
.github/to matchorigin/leader.services/spotifyPolling.tsto use type assertions instead of@ts-expect-errorto ensure correct typing.components/SpotifyDisplay.tsxto reset the sliding state upon disconnect, improving UI consistency.app/api/spotify/control/route.tsregarding a hardcodedtoken_typefor clarity and future maintenance.Fixes #
Change Type: 🐛 Bug fix (non-breaking change fixing an issue)
PR Scope Checklist
This checklist is mandatory for all PRs.
Impact Assessment
Original PR Body
Reverted unrelated changes in .github/ to match origin/leader. Refactored services/spotifyPolling.ts to use type assertions instead of @ts-expect-error. Updated components/SpotifyDisplay.tsx to reset sliding state on disconnect. Added comment to app/api/spotify/control/route.ts regarding hardcoded token_type.
PR created automatically by Jules for task 2131814547936214872 started by @arii