fix: enable semantic rectification rollout

This commit is contained in:
Jesse_Chen
2026-07-29 19:18:09 +08:00
parent 163d3fd1be
commit 6ed9f2dd0a
4 changed files with 36 additions and 6 deletions
+7 -4
View File
@@ -406,11 +406,14 @@ previous-revision smoke SHA must remain pending. If the create flag, migration
flag, deployment SHA, or strict UUID allowlist is invalid, creation audience
must be `paused`, including for the smoke account.
After the smoke sequence below passes, set
After the smoke sequence below passes, use the guarded rollout workflow to set
`RECTIFICATION_V3_SYNTHETIC_SMOKE_SHA` to the exact deployed 40-character
lowercase Git SHA, remove `RECTIFICATION_V3_SYNTHETIC_SMOKE_USER_IDS`, and
restart the web container. Then fetch health again and
verify all of the following against the revision that passed validation:
lowercase Git SHA, remove `RECTIFICATION_V3_SYNTHETIC_SMOKE_USER_IDS`, enable
`RECTIFICATION_AGENT_V5_ENABLED=true`, disable shadow mode, set the canary to
100 percent, and restart both the web and rectification worker containers. The
workflow writes these selectors together so public Case creation cannot silently
fall back to the fixed `v4_legacy` projector. Then fetch health again and verify
all of the following against the revision that passed validation:
- `deployment.gitCommit` exactly equals the tested 40-character Git SHA;
- `rollout.conversationalRectificationV3.protocol` is
@@ -102,12 +102,16 @@ awk \
-v create="$creation_enabled" \
-v migrations="true" \
-v smoke_sha="$smoke_sha" \
-v smoke_users="$smoke_user_ids" '
-v smoke_users="$smoke_user_ids" \
-v agent_enabled="$creation_enabled" '
BEGIN {
values["RECTIFICATION_V3_CREATE_ENABLED"] = create
values["RECTIFICATION_V3_MIGRATIONS_READY"] = migrations
values["RECTIFICATION_V3_SYNTHETIC_SMOKE_SHA"] = smoke_sha
values["RECTIFICATION_V3_SYNTHETIC_SMOKE_USER_IDS"] = smoke_users
values["RECTIFICATION_AGENT_V5_ENABLED"] = agent_enabled
values["RECTIFICATION_AGENT_V5_SHADOW"] = "false"
values["RECTIFICATION_AGENT_V5_CANARY_PERCENT"] = "100"
}
{
split($0, parts, "=")