Commit 2c5dd93
committed
fix(workspace): drop dead hydrateFailed field + duplicate RefreshResult doc
Two cleanups on packages/opencode/src/altimate/workspace/memory-sync.ts:
1. Remove the `hydrateFailed` field on `SessionMemory` and its three write
sites. The `refresh` restructure replaced the read with a direct
`outcome.status === "error"` check, so the field is written but never
read. (kilo-code-bot #1123 comment 3840696504.)
2. Remove the doc comment above `export type RefreshResult` — it
duplicated the doc on `refresh` (line 867) and had drifted stale
(still claimed "Returns how many blocks the session now holds", but
`refresh` returns a `RefreshResult`). The doc was also attached to
the wrong element (the type, not the function).
(kilo-code-bot #1123 comment 3840696513.)1 parent 8e9e506 commit 2c5dd93
1 file changed
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 76 | | |
80 | 77 | | |
81 | 78 | | |
| |||
848 | 845 | | |
849 | 846 | | |
850 | 847 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
| 848 | + | |
856 | 849 | | |
857 | 850 | | |
858 | 851 | | |
| |||
865 | 858 | | |
866 | 859 | | |
867 | 860 | | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | 861 | | |
876 | 862 | | |
877 | 863 | | |
| |||
898 | 884 | | |
899 | 885 | | |
900 | 886 | | |
901 | | - | |
902 | 887 | | |
903 | 888 | | |
904 | 889 | | |
| |||
0 commit comments