Skip to content

Commit b96a386

Browse files
ajslaterclaude
andauthored
fix(librarian): register JanitorCleanupFavoritesTask in scribe priority (#768)
JanitorCleanupFavoritesTask was wired into janitor dispatch, nightly queueing, and the admin task map, but missing from _SCRIBE_TASK_PRIORITY. When the task hit the scribe queue, tuple.index() raised ValueError, the put silently failed, and "Cleanup Orphans Favorites" stayed pending forever. Add it to the priority tuple and align Bookmarks/Settings ordering with _NIGHTLY_TASK_CLASSES so the two tuples stay in sync. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cc26dd1 commit b96a386

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

codex/librarian/scribe/priority.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
JanitorCleanCoversTask,
1212
JanitorCleanFKsTask,
1313
JanitorCleanupBookmarksTask,
14+
JanitorCleanupFavoritesTask,
1415
JanitorCleanupSessionsTask,
1516
JanitorCleanupSettingsTask,
1617
JanitorCodexUpdateTask,
@@ -55,8 +56,9 @@
5556
JanitorCleanFKsTask,
5657
JanitorCleanCoversTask,
5758
JanitorCleanupSessionsTask,
58-
JanitorCleanupSettingsTask,
5959
JanitorCleanupBookmarksTask,
60+
JanitorCleanupSettingsTask,
61+
JanitorCleanupFavoritesTask,
6062
SearchIndexClearTask,
6163
SearchIndexCleanStaleTask,
6264
SearchIndexSyncTask,

0 commit comments

Comments
 (0)