Skip to content
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

fix(CMCD): Only report ltc if playing; round to int #8011

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

costela
Copy link
Contributor

@costela costela commented Feb 4, 2025

Fixes #8010

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround component: CMCD The issue involves CMCD specifically labels Feb 4, 2025
@avelad avelad added this to the v4.14 milestone Feb 4, 2025
@avelad avelad requested a review from littlespex February 4, 2025 11:28
@avelad avelad changed the title fix(cmcd): only report ltc if playing; round to int fix(CMCD): Only report ltc if playing; round to int Feb 4, 2025
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

@costela costela force-pushed the leo.antunes/fix-cmcd-ltc branch from 5a793c3 to 2ea26e5 Compare February 4, 2025 11:54
@costela
Copy link
Contributor Author

costela commented Feb 4, 2025

ℹ️ just added a couple of unit tests to cover the spotted two edge-cases 🤞

@costela costela marked this pull request as draft February 4, 2025 11:56
@costela costela marked this pull request as ready for review February 4, 2025 11:56
@costela costela force-pushed the leo.antunes/fix-cmcd-ltc branch from 2ea26e5 to ed82707 Compare February 4, 2025 12:02
@costela costela force-pushed the leo.antunes/fix-cmcd-ltc branch from ed82707 to 1e2f7a2 Compare February 4, 2025 12:31
@costela
Copy link
Contributor Author

costela commented Feb 4, 2025

🤔 local test run somehow didn't catch the errors.
Third time is a charm 🤞

Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I tried to Google "cmcd ltc" to double-check that the format indeed wants an integer, but the first result for me was #8010. 🙃

@joeyparrish joeyparrish merged commit 6ce3c73 into shaka-project:main Feb 4, 2025
17 checks passed
@costela costela deleted the leo.antunes/fix-cmcd-ltc branch February 5, 2025 08:21
avelad pushed a commit that referenced this pull request Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: CMCD The issue involves CMCD specifically priority: P2 Smaller impact or easy workaround type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CMCDv2: ltc is reported in the wrong format
4 participants