session-format-v0-to-v1 converter refuses loadable v0 sessions over cosmetic fields (history load breaks after upgrade to 0.1.5-rc.1) #6194
Replies: 3 comments
|
Covered as well ( Verified against the released 0.1.5-rc.1 |
|
+1, hit the same after upgrading to 0.1.5-rc.1. Traced it to rejects any v0 plugin source whose form isn't "notice" but still carries a |
|
@michaelSun07 你定位到的 summary requires notice form 正是同一处。修复已改成对齐 form 而不是删成员:只有 summary 时把 form 补/改成 notice(summary 保留),只有 sections 时对齐 snapshot;两者并存才丢弃冲突的那个。正文不动,--apply 先写 .bak.。装最新 #main 即可,详见 #6151 里 09-10 的说明。 |
Uh oh!
There was an error while loading. Please reload this page.
Environment
@deepseek-ai/dsh0.1.2-rc.1 → 0.1.5-rc.1 (web profile)Symptom
After upgrading, opening any pre-upgrade session fails to load history:
The raw v0 artifact is untouched — the user simply loses all in-UI access to weeks of work after upgrading.
Two distinct refusal triggers found (real sessions, both reproduced)
user/messagenotice source carriessummarybutform != "notice"→ throws
summary requires notice form.The
summaryis display metadata only; the session content does not depend on it.permission/presetdata carries an extraoriginkey→ throws
has unexpected member "origin"(the released-v0-keys table forpermission/presetadmits onlypreset).Why this hurts
A read-path converter failing closed on cosmetic/display fields means every 0.1.2-era session becomes inaccessible after a routine upgrade. In our case two main working sessions (430K+ tokens, 40+ subagents of history) were blocked.
Suggestion
Tolerate-and-coerce on the read path instead of refusing:
summaryon a non-notice form → drop the field (metadata only)permission/presetdata → admitoriginas an optional keyLocal workaround confirmed
Coercing both cases (delete stray summary / admit optional origin) restores full history load on 0.1.5-rc.1 — verified against real affected sessions.
All reactions