Repository navigation
feat(seer-billing): Check Seer credits before starting autofix steps #130283
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
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
cbdde3a
feat(seer): Gate agent chat messages on Seer credits
srest2021 c247328
feat(seer): Check Seer credits before Autofix steps and Open PR
srest2021 e2855ba
ref(seer): Keep the token-billed check inside can_run_seer_operation
srest2021 33f5287
Merge branch 'srest2021/CW-3061-agent-chat' into srest2021/CW-3061-au…
srest2021 d70d6cb
ref(seer): Split has_enough_seer_credits out of can_run_seer_operation
srest2021 58a1b63
ref(seer): Combine the credit check flag conditions
srest2021 8856cd4
Merge branch 'srest2021/CW-3061-agent-chat' into srest2021/CW-3061-au…
srest2021 c49f7ed
Merge remote-tracking branch 'origin/master' into srest2021/CW-3061-a…
srest2021 8e5ca8f
Merge branch 'srest2021/CW-3061-agent-chat' into srest2021/CW-3061-au…
srest2021 0ab3b10
feat(seer): Check Seer credits before replying to an Autofix single run
srest2021 69f5488
Merge remote-tracking branch 'origin/master' into srest2021/CW-3061-a…
srest2021 0f648e8
Merge branch 'srest2021/CW-3061-agent-chat' into srest2021/CW-3061-au…
srest2021 a3dae0d
ref(seer): Check the credit check flag first
srest2021 f738ddf
Merge branch 'srest2021/CW-3061-agent-chat' into srest2021/CW-3061-au…
srest2021 94b979c
test(seer): Align credit check tests with their files
srest2021 302de4f
Merge branch 'srest2021/CW-3061-agent-chat' into srest2021/CW-3061-au…
srest2021 0ec42da
Merge remote-tracking branch 'origin/master' into srest2021/CW-3061-a…
srest2021 6f7cb6f
ref(seer): Leave single run replies out of credit gating
srest2021 99eb2ac
fix(seer): Don't let API callers claim the agentic triage referrer
srest2021 e8f415e
ref(seer): Clarify why the endpoint ignores the agentic triage referrer
srest2021 396779d
feat(seer): Check Seer credits before replying to an Autofix single run
srest2021 90c5db5
cleaning up diff
srest2021 ff4faae
ref(seer): Restore the billing comment in trigger_autofix_agent
srest2021 b86335d
cleaning up
srest2021 245aca9
fix ordering
srest2021 80bba23
Restore comment
srest2021 914a60c
ref(seer): Keep all billing skip rules in check_autofix_billing
srest2021 28e5990
refactor billing helper
srest2021 766bc10
move logs out of helper
srest2021 6c0043d
small test fix:
srest2021 1c7c190
cleaning up tests
srest2021 4e289d3
Merge remote-tracking branch 'origin/master' into srest2021/CW-3061-a…
srest2021 451f3bd
ref(seer-billing): Pass organization to check_autofix_billing
sentry-junior[bot] ab0d0aa
ref(seer-billing): Check Autofix billing only in dispatch
srest2021 89bdfdc
ref(seer-billing): Drop the agentic triage referrer exemption
srest2021 5e7ccfc
ref(seer-billing): Pass the Seer feature to credit checks
srest2021 1a78b12
ref(seer-billing): Pick the credit check feature from the operation
srest2021 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.