Support `NOT DEFERRABLE` and `DEFERRABLE INITIALLY DEFERRED` Foreign Key constraints #9
All Vouch review confidence checks passed
Residual risk 0.11 = Change Risk (0.54) × (1 − Review Confidence (0.79)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 384 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.69 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · 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
Diff Size
diff_size
0.356
Real PR Conversation Timeline
3 items
Sorry for writing here randomly. ORM part really interest me these days.
Do you think we should add any positive test here for when deffered is not immediate.
for example something like
with transaction:
create_book instance
create_author instance
this suppose to pass.
Do you think we should add any positive test here for when deffered is not immediate.
Yes, good point! I'm happy to review a PR.
p-r-a-v-i-n
LilyFirefly
Rename
ImmediateDeferrableFKConstrainttoForeignKeyConstraintto represent the expanded scope.Refactor migration tests to use the correct historical models, instead of relying on the fully migrated models being backward compatible.
Add test for
ForeignKeyConstraint.deconstruct.Add tests for setting constraints to
DEFERREDorIMMEDIATEat run-time on postgresql.Fixes #7.