Commit 49a032f
fix: correct cost_optimization_features bridge and test for account SAO enforcement
- Fix Update path: use plan.ForceNodeSelection.IsNull() instead of
job.ForceNodeSelection == nil for bridge condition, so clearing
cost_optimization_features correctly sends force_node_selection=false
- Fix test step 2: account has account-level SAO enforcement so
force_node_selection cannot be disabled; replace the clear step with
a name-update step that verifies cost_optimization_features is stable
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent bff2856 commit 49a032f
2 files changed
Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
831 | | - | |
832 | | - | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
833 | 834 | | |
834 | 835 | | |
835 | 836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
940 | | - | |
941 | | - | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
942 | 945 | | |
943 | 946 | | |
| 947 | + | |
944 | 948 | | |
945 | 949 | | |
946 | 950 | | |
| |||
963 | 967 | | |
964 | 968 | | |
965 | 969 | | |
966 | | - | |
| 970 | + | |
967 | 971 | | |
968 | 972 | | |
969 | | - | |
| 973 | + | |
970 | 974 | | |
971 | 975 | | |
972 | 976 | | |
973 | | - | |
| 977 | + | |
974 | 978 | | |
975 | | - | |
976 | | - | |
| 979 | + | |
| 980 | + | |
977 | 981 | | |
| 982 | + | |
978 | 983 | | |
979 | 984 | | |
980 | 985 | | |
| |||
0 commit comments