Skip to content

[finding] os migrate resume, recorded-by and value-shapes exit 1 on a project whose database does not exist yet, with an opaque "The database refused to run this query" from their own first read of a deferred table #21529

Description

@objectstack-fleet

Filing gate: ① a defect with a named position, a finding of class (a).

What happens (measured, public door)

On a project whose database does not exist yet, os migrate resume --json, os migrate recorded-by --json and os migrate value-shapes --json each exit 1 with "The database refused to run this query for object …", naming sys_migration_journal, sys_metadata_history or the objects they read.

Related

This is the same class as #20821 (closed): os migrate plan on an absent database printed DATABASE_ERROR … no such table because the dry run deferred the DDL and then read anyway. That fix covered plan. These three data commands still hit the shape, with a non-zero exit.

Direction (⛔ not a ruling)

One answer for every data-migration command on an absent database: refuse loudly, name the missing database and the remedy, or report empty work, as the command's contract says. ⛔ Never a query fault on a table the command's own boot deferred. Pins: each of the three commands on a fresh project gives that answer, and its exit status is the documented one.

Dedupe

MCP search_issues, repo-scoped, open and closed: 「os migrate dry run database does not exist refused query deferred table exit 1」 gave 14 hits. All are closed except #21498, which is this finding's source and covers composition only. The nearest is #20821 (closed, os migrate plan only). None covers these three commands.

Dedupe words: migrate dry run absent database refused; resume list fresh project exit 1; deferred DDL read refusal data commands; value-shapes fresh database refused query.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:clipriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions