[GH-ISSUE #6113] Professor Mari fails on capability package tables: Unknown file-backed table #3391

Closed
opened 2026-10-21 06:02:36 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Gunterlie on GitHub (Sep 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6113

Bug

With a package that registers its own tables (e.g. Slurp2 slurp2_*), every Professor Mari DB command on those tables fails:

Unknown file-backed table: slurp2_account_subscriptions
  at getMeta (mari-db.service.js)

Cause

mari-db.service.ts builds TABLE_METAS once at module load. Packages call db._fileStore.registerTables later, so Mari never sees them. The store itself registers them fine; the package works, only Mari is blind.

Impact

Existing users with Slurp2 installed: Mari cannot read/write Slurp2 data. Data on disk is intact; no migration needed once fixed.

Originally created by @Gunterlie on GitHub (Sep 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6113 ## Bug With a package that registers its own tables (e.g. Slurp2 `slurp2_*`), every Professor Mari DB command on those tables fails: ``` Unknown file-backed table: slurp2_account_subscriptions at getMeta (mari-db.service.js) ``` ## Cause `mari-db.service.ts` builds `TABLE_METAS` once at module load. Packages call `db._fileStore.registerTables` later, so Mari never sees them. The store itself registers them fine; the package works, only Mari is blind. ## Impact Existing users with Slurp2 installed: Mari cannot read/write Slurp2 data. Data on disk is intact; no migration needed once fixed.
bsakaguchi 2026-10-21 06:02:36 +07:00
Author
Owner

@Gunterlie commented on GitHub (Sep 13, 2026):

Fixed by #6114 (merged to staging, 5279956).

<!-- gh-comment-id:5649908620 --> @Gunterlie commented on GitHub (Sep 13, 2026): Fixed by #6114 (merged to staging, 5279956).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3391
No description provided.