Skip to content

[finding] cli checklist: dev-boot-contract clause 2 names retired resolveDefaultDevDbUrl / dev.db — refresh to unified objectstack.db #7650

Description

@huangyiirene

Symptom

cli.dev-boot-contract clause 2 (docs/qa/platform-checklist/areas/cli.json:45) names .objectstack/data/dev.db and the helper resolveDefaultDevDbUrl, both superseded by the unified objectstack.db default. On origin/main, packages/cli/src/commands/dev.ts now resolves the nothing-chosen default to <state dir>/data/objectstack.db (legacy dev.db handled only for back-compat) and no longer exports resolveDefaultDevDbUrlgit grep resolveDefaultDevDbUrl -- 'packages/cli/src/**' returns nothing. The load-bearing property the clause verifies — nothing-chosen defaults to a PERSISTENT project-anchored sqlite file, never the :memory: that wipes work on restart — still holds; only the item text is stale.

Root cause

Checklist text drift. The clause text was not updated when the DB default was unified to objectstack.db and the resolveDefaultDevDbUrl helper was removed/renamed. Refresh the clause and its related file/step references (cli.json:28, :80, :88, all of which still name resolveDefaultDevDbUrl and/or .objectstack/data/dev.db) to name objectstack.db and the current resolution path in dev.ts, keeping the persistent-file property assertion intact.

Reproduction

On origin/main: git grep -n resolveDefaultDevDbUrl -- 'packages/cli/src/**' returns nothing, while docs/qa/platform-checklist/areas/cli.json still names it and .objectstack/data/dev.db. packages/cli/src/commands/dev.ts comments and code use the unified objectstack.db default (e.g. lines 29, 239, 275).

Source

Extracted from the QA run #7628 (framework 92f26f7, console 6314e87f).

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions