Follow rls2fga main #192
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 232 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #192"
general
weight: 0.35
LucaCappelletti94
subql's lockfile still held rls2fga at
357b14e, and main had moved on with two changes subql has to follow. Condition names are now a clampedConditionNametype, and each membership source now states its own relation instead of every membership table pooling onto onemember, which rls2fga treats as a defect because a membership granted through one table silently carried privileges meant for another.The type change is mechanical. A condition read back from an OpenFGA store whose name is not a valid condition name is read as no context, the same as a context value that is not a string, since this policy could not have written it. Tests that spelled
membernow ask the translation for the relation a table's rows feed.The separate relations mean no translated schema gives subql two producers on one region any more, yet grouping is still what keeps a reconcile from deleting facts another producer states if a translation ever does.
testing::relation_pool::RelationPoolrestates one source's relation as another's across the shapes and the enumerating SQL, and the OpenFGA end-to-end tests rewrite the generated model the same way, so the grouping tests keep their shared region and still run against a real server.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
The locked
rls2fgarevision must follow changes in itsmainbranch because membership sources now use distinct relations, and invalid OpenFGA condition names must not become valid context. UsingConditionNamemakes condition handling match the updated API.Tests need to model multiple membership sources that share a relation. Relation pooling lets fixtures apply that mapping consistently across translated relations, enumerating SQL, and generated OpenFGA models.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->