fix(cli): bootstrap registry database automatically #7510

Merged
HAL9000 merged 4 commits from bugfix/6885-tool-cli-bootstrap into master 2026-04-19 23:04:04 +00:00

4 Commits

Author SHA1 Message Date
HAL9000 42b578e23a Merge branch 'master' into bugfix/6885-tool-cli-bootstrap
CI / helm (pull_request) Successful in 33s
CI / build (pull_request) Successful in 3m54s
CI / lint (pull_request) Successful in 4m4s
CI / quality (pull_request) Successful in 4m29s
CI / push-validation (pull_request) Successful in 23s
CI / typecheck (pull_request) Successful in 4m55s
CI / security (pull_request) Successful in 4m57s
CI / e2e_tests (pull_request) Successful in 7m10s
CI / integration_tests (pull_request) Successful in 7m59s
CI / unit_tests (pull_request) Successful in 9m29s
CI / docker (pull_request) Successful in 1m37s
CI / coverage (pull_request) Successful in 14m48s
CI / benchmark-regression (push) Failing after 0s
CI / benchmark-publish (push) Failing after 0s
CI / status-check (pull_request) Successful in 4s
CI / helm (push) Successful in 39s
CI / lint (push) Successful in 3m51s
CI / quality (push) Successful in 4m15s
CI / typecheck (push) Successful in 4m34s
CI / security (push) Successful in 4m45s
CI / build (push) Successful in 3m48s
CI / push-validation (push) Successful in 22s
CI / integration_tests (push) Successful in 7m40s
CI / e2e_tests (push) Successful in 6m53s
CI / unit_tests (push) Successful in 9m0s
CI / coverage (push) Successful in 14m55s
CI / docker (push) Successful in 1m47s
CI / status-check (push) Successful in 14s
2026-04-19 22:39:05 +00:00
HAL9000 02b64c3c71 Merge branch 'master' into bugfix/6885-tool-cli-bootstrap
CI / push-validation (pull_request) Successful in 31s
CI / helm (pull_request) Successful in 42s
CI / lint (pull_request) Successful in 4m0s
CI / typecheck (pull_request) Successful in 4m37s
CI / quality (pull_request) Successful in 4m31s
CI / build (pull_request) Successful in 3m49s
CI / security (pull_request) Successful in 5m0s
CI / e2e_tests (pull_request) Successful in 6m58s
CI / integration_tests (pull_request) Successful in 7m59s
CI / unit_tests (pull_request) Successful in 9m26s
CI / coverage (pull_request) Successful in 15m24s
CI / docker (pull_request) Successful in 1m53s
CI / status-check (pull_request) Successful in 3s
2026-04-19 22:11:19 +00:00
HAL9000 dfad3de0a4 fix(cli): fix import ordering and remove type: ignore suppressions
CI / helm (pull_request) Successful in 32s
CI / lint (pull_request) Successful in 38s
CI / build (pull_request) Successful in 42s
CI / quality (pull_request) Successful in 52s
CI / push-validation (pull_request) Successful in 19s
CI / typecheck (pull_request) Successful in 57s
CI / security (pull_request) Successful in 57s
CI / e2e_tests (pull_request) Successful in 3m34s
CI / integration_tests (pull_request) Successful in 7m20s
CI / unit_tests (pull_request) Successful in 8m24s
CI / coverage (pull_request) Successful in 14m45s
CI / docker (pull_request) Successful in 1m55s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 57m34s
Resolve lint CI failure caused by un-sorted import blocks in
tool.py and validation.py, and remove forbidden # type: ignore
comments from the bootstrap step definitions.

- Move first-party bootstrap import into the correct import group
  in cli/commands/tool.py and cli/commands/validation.py
- Add reset_bootstrap_state() public helper to bootstrap.py for
  test-only use, replacing direct private attribute mutation
- Replace Settings._instance = None # type: ignore with Settings.reset()
- Replace cli_bootstrap._database_bootstrapped = False # type: ignore
  with cli_bootstrap.reset_bootstrap_state()

ISSUES CLOSED: #6885
2026-04-13 18:49:11 +00:00
HAL9000 e2df239bd8 fix(cli): bootstrap registry database automatically
CI / lint (pull_request) Failing after 38s
CI / typecheck (pull_request) Successful in 47s
CI / quality (pull_request) Successful in 36s
CI / push-validation (pull_request) Successful in 27s
CI / helm (pull_request) Successful in 35s
CI / build (pull_request) Successful in 41s
CI / security (pull_request) Successful in 1m38s
CI / coverage (pull_request) Has been skipped
CI / e2e_tests (pull_request) Successful in 3m24s
CI / integration_tests (pull_request) Successful in 4m18s
CI / unit_tests (pull_request) Successful in 6m15s
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
Ensure tool and validation CLI commands initialize the SQLite persistence layer on first use and add regression coverage.\n\nISSUES CLOSED: #6885
2026-04-10 20:50:20 +00:00