feat: track ai seat usage#22682
Merged
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
db248e9 to
4f9dbb1
Compare
23f2238 to
3768574
Compare
4f9dbb1 to
bff6613
Compare
d1f4942 to
a6a7453
Compare
bff6613 to
c629b83
Compare
019545a to
a5a74c3
Compare
d504c51 to
b6d579b
Compare
a5a74c3 to
e563220
Compare
e563220 to
f93a06f
Compare
65b1e88 to
abd1bd0
Compare
4b4cd29 to
dd4605d
Compare
419fa3b to
3ccda0c
Compare
0e275ba to
844f670
Compare
2e965f9 to
653b59d
Compare
ab7b461 to
8e2958f
Compare
844f670 to
fe47143
Compare
13433fd to
dbf8b7f
Compare
dbf8b7f to
3e0460b
Compare
fe47143 to
9e07704
Compare
3e0460b to
9be210b
Compare
9e07704 to
c3ce378
Compare
9be210b to
4aeae52
Compare
4aeae52 to
c0bcb37
Compare
c3ce378 to
cabb611
Compare
c0bcb37 to
80fb8ef
Compare
deansheather
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

When a user uses an AI feature, we record them in the
ai_seat_stateas consuming a seat.Added in debouching to prevent excessive writes to the db for this feature. There is not need for frequent updates.