Skip to content

fix!: Change id from int64 to string in ActivityService.MarkThreadDone#4056

Merged
gmlewis merged 1 commit intogoogle:masterfrom
alexandear-org:feat/mark-thread-done-id-string
Mar 2, 2026
Merged

fix!: Change id from int64 to string in ActivityService.MarkThreadDone#4056
gmlewis merged 1 commit intogoogle:masterfrom
alexandear-org:feat/mark-thread-done-id-string

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

@alexandear alexandear commented Mar 2, 2026

BREAKING CHANGE: ActivityService.MarkThreadDone accepts string id instead of int64.


This is for consistency with GetThread, MarkThreadRead, GetThreadSubscription, which all accept an id as string and not int64. ListNotifications and ListRepositoryNotifications return Notification with ID as string.

Fixes #3269

@munlicode
Copy link
Copy Markdown
Contributor

LGTM

@gmlewis gmlewis changed the title feat: ActivityService.MarkThreadDone accepts string id fix!: ActivityService.MarkThreadDone accepts string id Mar 2, 2026
@gmlewis gmlewis changed the title fix!: ActivityService.MarkThreadDone accepts string id fix!: Change id from int64 to string in ActivityService.MarkThreadDone Mar 2, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.09%. Comparing base (a3c81cd) to head (7ec1bf8).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4056   +/-   ##
=======================================
  Coverage   94.09%   94.09%           
=======================================
  Files         208      208           
  Lines       19248    19248           
=======================================
  Hits        18112    18112           
  Misses        938      938           
  Partials      198      198           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis gmlewis added the Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). label Mar 2, 2026
Copy link
Copy Markdown
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @alexandear and @munlicode!
LGTM.
Merging.

@gmlewis gmlewis merged commit bfa9c8f into google:master Mar 2, 2026
8 checks passed
@alexandear alexandear deleted the feat/mark-thread-done-id-string branch March 2, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some API calls that are defined as taking ints in the GitHub spec are strings in this library

3 participants