Skip to content

feat(bedrock): Set gen_ai.system_instructions attribute - #8239

Merged
alexander-alderman-webb merged 2 commits into
masterfrom
webb/bedrock/system-instructions
Nov 11, 2026
Merged

alexander-alderman-webb merged 2 commits into
masterfrom
webb/bedrock/system-instructions

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Collaborator

Set the system instructions attribute based on the system parameter to the Bedrock API.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 139110 passed | ⏭️ 7765 skipped | Total: 146875 | Pass Rate: 94.71% | Execution Time: 463m 48s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +208
Passed Tests 📈 +112
Failed Tests —
Skipped Tests 📈 +96

All tests are passing successfully.

✅ Patch coverage is 90.91% (10 of 11 changed executable lines covered; target 80%).
Project statement coverage is 90.24% (down 0.03 percentage points from base (843958d) to head (76112fe)).

Changed files with executable lines (1)
File Patch coverage Changed executable lines
sentry_sdk/integrations/boto3/_services/bedrock.py 90.91% 10/11 covered; missed: 156; partial branches: 155
Coverage diff
@@            Coverage Diff             @@
##        master     #8239       +/-##
==========================================
- Coverage    90.27%    90.24%    -0.03%
==========================================
  Files          203       203         —
  Tracked lines     27114     27125       +11
  Branches     10136     10142        +6
==========================================
+ Hits         24475     24478        +3
- Misses        2639      2647        +8
- Partials      1540      1542        +2

Generated by Coverage Action

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review November 11, 2026 10:49
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner November 11, 2026 10:49

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7dec8c9. Configure here.

@alexander-alderman-webb
alexander-alderman-webb merged commit 72a02b1 into master Nov 11, 2026
172 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/bedrock/system-instructions branch November 11, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants