fix: account for Slack media in preview resource count #354
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.45) × (1 − Review Confidence (0.36)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 294 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 70% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.340
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #354"
general
weight: 0.35
devin-ai-integration[bot]
Summary
Update the offline Alchemy preview assertion to expect 18 declarations. #319 added the intentional
SlackMediaWorkflowfor delivering generated media to Slack; the failed preview run checked out currentmainand passed the resource guard before failing the stale count assertion. No infrastructure or guard behavior changes.Verification
git diff --checkandnode --check scripts/deploy.test.mjspassed. The offline suite was not rerun because no Devin Free mode is available to this session. Do not usepreview:deployjust to verify this change; it also authorizes a deployment.<!-- devin-bot-banner-begin -->
---
<p><picture><source srcset="https://app.devin.ai/api/presigned_proxy?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjpudWxsLCJidWNrZXRfbmFtZSI6ImRldmluYXR0YWNobWVudHMiLCJidWNrZXRfa2V5IjoiYXR0YWNobWVudHNfcHJpdmF0ZS9vcmctZDA0NzE3OWMxYjBhNDE2ZDlhYTBiMzE3MjUxMjljOTUvYzZkNjk5NjItZmM5OS00NGIyLThlYTgtZjYzNjczYzU2MTNmIiwiaWF0IjoxNzk1NjYzMzM1LCJvcmdfaWQiOiJvcmctZDA0NzE3OWMxYjBhNDE2ZDlhYTBiMzE3MjUxMjljOTUiLCJmaWxlbmFtZSI6ImJvdC1iYW5uZXIucG5nIn0.gosIOE5AjR802Fp49cFdk934sySTA11TtoLbIL77Lic"><img height="63" alt="" align="left"></picture><strong><a href="https://app.devin.ai/bots/6a223d3e3bc9444197de5d7364ad565a">Chief of Staff</a> opened this PR for Prince</strong><br>
Implemented in session <a href="https://app.devin.ai/sessions/b7850bd25938485da301261ff64834f5">Fix Shiba preview check resource count on main</a><br>
<a href="https://app.devin.ai/review/opentoolsorg/shiba/pull/354">Review with Devin</a> · <a href="https://app.devin.ai/desktop/session/b7850bd25938485da301261ff64834f5?variant=devin">Open in Devin Desktop</a></p>
<br clear="left">
<!-- devin-bot-banner-end -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Tests
Updated the deployment validation test to expect 18 resource declarations instead of 17, keeping the test aligned with the current expected count. This change affects test expectations only; no end-user functionality or behavior is changed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->