fix(#2294): make EnsureProvider idempotent via delete-and-recreate#15
fix(#2294): make EnsureProvider idempotent via delete-and-recreate#15guyoron1 wants to merge 7 commits into
Conversation
|
/fs quality |
|
🤖 Finished Review · ✅ Success · Started 8:48 AM UTC · Completed 8:57 AM UTC |
ReviewReason: stale-head The review agent reviewed commit Previous runReviewReason: stale-head The review agent reviewed commit Previous run (2)ReviewReason: stale-head The review agent reviewed commit |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 8:59 AM UTC · Completed 9:10 AM UTC |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 9:11 AM UTC · Completed 9:21 AM UTC |
|
/fs-review |
Generated 10 tests from STD YAML (7 scenarios): - Go/Ginkgo v2: 6 functional tests (problem document verification) - Python/pytest: 4 tests (content validation with parametrized topics)
QualityFlow Pipeline Summary
Test Output
Issue: GH-15 Generated by QualityFlow |
EnsureProvider called
openshell provider createand treated any error as a hard failure. When a provider already existed from a prior run, the AlreadyExists error blocked subsequent runs, requiring manual cleanup between iterations.Now when the create command fails with AlreadyExists, the function deletes the existing provider and recreates it with current credentials.
Also extracted a redactSecrets helper to reduce duplication in error formatting paths.
Mirrored from upstream PR #2296