Skip to content

refactor: extract lastFmSeeder (phase 3.4) - #668

Merged
LucasSantana-Dev merged 5 commits into
mainfrom
refactor/lastfm-seeder
Apr 17, 2026
Merged

LucasSantana-Dev merged 5 commits into
mainfrom
refactor/lastfm-seeder

Merge branch 'main' into refactor/lastfm-seeder

788e256
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 17, 2026 in 1m 4s

Annotations

Check failure on line 35 in packages/bot/src/utils/music/autoplay/lastFmSeeder.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6AVQydYG71oe4Nw&open=AZ2Yp6AVQydYG71oe4Nw&pullRequest=668

Check warning on line 29 in packages/bot/src/utils/music/queueManipulation.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'consumeBlendedSeedSlice'.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6A4QydYG71oe4Nz&open=AZ2Yp6A4QydYG71oe4Nz&pullRequest=668

Check warning on line 1595 in packages/bot/src/utils/music/queueManipulation.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `export…from` to re-export `collectLastFmCandidates`.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6A4QydYG71oe4N1&open=AZ2Yp6A4QydYG71oe4N1&pullRequest=668

Check warning on line 51 in packages/bot/src/utils/music/queueManipulation.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'getSimilarTracks'.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6A4QydYG71oe4N0&open=AZ2Yp6A4QydYG71oe4N0&pullRequest=668

Check warning on line 15 in packages/bot/src/utils/music/queueManipulation.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'lastFmLinkService'.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6A4QydYG71oe4Nx&open=AZ2Yp6A4QydYG71oe4Nx&pullRequest=668

Check warning on line 23 in packages/bot/src/utils/music/autoplay/lastFmSeeder.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6AVQydYG71oe4Nu&open=AZ2Yp6AVQydYG71oe4Nu&pullRequest=668

Check warning on line 35 in packages/bot/src/utils/music/autoplay/lastFmSeeder.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Async function 'collectLastFmCandidates' has too many parameters (17). Maximum allowed is 7.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6AVQydYG71oe4Nv&open=AZ2Yp6AVQydYG71oe4Nv&pullRequest=668

Check warning on line 28 in packages/bot/src/utils/music/queueManipulation.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'consumeLastFmSeedSlice'.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ2Yp6A4QydYG71oe4Ny&open=AZ2Yp6A4QydYG71oe4Ny&pullRequest=668