[#371] 🤖 - Keep automated reports out of Bugbot human context - #371
Merged
Merged
Conversation
|
To preview the documentation for this pull request, visit the following URL:
|
vypbot
self-requested a review
September 14, 2026 17:08
efraespada
force-pushed
the
codex/bugbot-human-context
branch
from
September 14, 2026 17:13
dc20226 to
c2a19e8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #371 +/- ##
===========================================
+ Coverage 90.94% 92.12% +1.18%
===========================================
Files 135 642 +507
Lines 6251 16465 +10214
Branches 1338 4242 +2904
===========================================
+ Hits 5685 15169 +9484
- Misses 172 523 +351
- Partials 394 773 +379
🚀 New features to boost your workflow:
|
Contributor
Bugbot: review complete
|
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.
📌 Summary
Preserves provider-authenticated bot classification for issue and inline review comments so automated reports are excluded from Bugbot human-discussion prompt budgets without filtering human authors based on login names.
🎯 Related Issues / Tickets
🧩 Scope of Changes
isAutomatedAuthormetadata to issue and pull-request review comment ports.🛠️ Technical Details
author { login __typename }and classify__typename === 'Bot'as automated.user.type === 'Bot'as automated.build/bundles and declarations are synchronized with the source changes.🔍 How to Test
Botauthors and RESTuser.type === 'Bot'authors receiveisAutomatedAuthor: true.🧪 Test Coverage
Validation covered classification mappings, prompt filtering, truncation behavior, fallback metadata, and the changed Bugbot repository surfaces. The reported validation result is 428 suites and 3,796 tests passed, with 97.48% statement, 95.48% branch, 95% function, and 97.94% line coverage on the focused changed surface.
📸 Screenshots / Recordings (UI changes only)
Not applicable; this PR does not change the UI.
🚀 Deployment Notes
Details: No database migrations, environment-variable changes, or feature-flag changes are required. Generated bundles are synchronized for packaging and deployment.
🔒 Security Considerations
Provider-authenticated author classification defines the boundary for excluding automated discussion from prompt budgets. Human authors are not filtered by login-name heuristics, and discussion remains untrusted context for analysis.
📈 Performance Impact
Automated reports no longer consume the bounded human-discussion item and character budgets, leaving more budget for human-authored context.
📝 Notes for Reviewers
Verify the metadata flow across GraphQL issue comments, REST inline review comments, prompt filtering, truncation behavior, and fallback paths. Confirm that classification is provider-authenticated and is never inferred solely from a login name.
✅ Checklist
📚 Additional Context
Typecheck, lint, build, npm package, documentation, agent docs, docs-page, workflow, and specification validation passed. Generated bundles are synchronized, and graphify was updated.