Fix ObsessionDB plugin for serviceId → serviceSlug contract change#134
Open
KeKs0r wants to merge 1 commit into
Open
Fix ObsessionDB plugin for serviceId → serviceSlug contract change#134KeKs0r wants to merge 1 commit into
KeKs0r wants to merge 1 commit into
Conversation
The ObsessionDB platform moved every service-scoped RPC input from serviceId to serviceSlug, which broke migrate/generate/status/drift/ check/query and remote backfill against ObsessionDB targets. Refresh the bundled oRPC contract copies to match the current platform schemas and route serviceSlug through all layers: service selection and storage now key on the slug, the remote executor sends serviceSlug to workbench.query.execute, and the backfill flag is renamed to --service-slug. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
|
||
| const RESERVED_SLUGS = ['new', 'settings', 'select', 'members', 'profile'] as const | ||
|
|
||
| export const serviceSlugSchema = z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
serviceIdtoserviceSlug, which brokemigrate/generate/status/drift/check/queryand remote backfill against ObsessionDB targets; this PR repairs that by threading the service slug through all layers (selection, on-disk storage,--serviceoverride, remote executor, backfill).contract/{services,jobs,workbench}.ts) to match the current platform schemas:serviceSchemanow exposesslug, query results are array-of-arrays, and job details carry per-taskruns[].obsessiondb.json) now storesservice_sluginstead ofservice_id, so existing selections must be re-run viachkit obsessiondb service select(and aliases re-set), and the remote backfill flag--service-idis renamed to--service-slug.Test plan
bun verify(typecheck, lint, test, build) passes🤖 Generated with Claude Code