You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/deployment/cli.mdx
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -545,18 +545,31 @@ field instead.
545
545
546
546
The run then reconciles what records actually hold against what `sys_file`
547
547
records as each file's owner. Zero blocking discrepancies is what records the
548
-
flag — and that flag, not the version number, is what later enables features
549
-
that act irreversibly on migrated data (reclaiming the bytes of released files;
550
-
rejecting rather than warning about legacy media values). Never running it is
551
-
safe: files are simply retained forever.
548
+
flag — and that flag, not the version number, is what enables behaviour that
549
+
depends on the data actually being migrated. Never running it is safe: files
550
+
are simply retained forever, and media values keep warning instead of failing.
552
551
553
552
Exit status is `0` only when the self-check passes, so CI can gate on it.
554
553
554
+
#### What the flag turns on
555
+
556
+
| Once verified | Effect |
557
+
| :--- | :--- |
558
+
|**Media value shapes**| A malformed `file` / `image` / `avatar` / `video` / `audio` value is **rejected** (`400 invalid_type`) instead of warned about. Set `OS_ALLOW_LAX_MEDIA_VALUES=1` to re-open leniency while diagnosing. |
559
+
|**Released-file collection**| Not yet shipped — the flag is the gate it will read. |
560
+
561
+
Other value classes are unaffected: a `lookup` or `location` value keeps its own
562
+
warn-first rollout, because this migration is evidence about *file* values and
563
+
says nothing about theirs.
564
+
555
565
<Callouttype="warn">
556
566
A dry run writes **nothing** — not the conversions, and not the flag either,
557
567
even when the self-check would pass. `--apply` is the only writing mode. A
558
568
later run that *fails* its self-check clears the flag's verified state, so a
559
569
database that has drifted closes its own gate.
570
+
571
+
A running server reads the flag once; after migrating, **restart it** for
0 commit comments