• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

joaoh82 / rust_sqlite / 26697051200
69%

Build:
DEFAULT BRANCH: main
Ran 30 May 2026 10:55PM UTC
Jobs 1
Files 62
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 May 2026 10:51PM UTC coverage: 68.739% (-0.1%) from 68.845%
26697051200

push

github

web-flow
SQLR-70 — Desktop playground: in-app Settings for Anthropic API key (#146)

The SQL playground (`sqlrite-desktop`) read its `ask` config exclusively
from `SQLRITE_LLM_API_KEY`. Launched from Finder/the Dock — which don't
inherit a shell's env — the Ask… button just errored. Port the in-app
settings pattern from the journal example (SQLR-41, #145) so the key can
be pasted in a ⚙ dialog and persists across restarts.

- settings.rs: AskSettings (JSON at $APP_DATA/com.sqlrite.desktop/
  settings.json), scrubbed AskSettingsDto (has_api_key bool — the raw
  key never crosses to the webview), three-valued AskSettingsUpdate,
  build_ask_config (saved key, env var fallback). 5 unit tests.
- main.rs: AppState gains settings_path; ask_sql builds config from
  saved settings instead of from_env; add get_ask_settings /
  update_ask_settings commands.
- SettingsPanel.svelte (plain-CSS, matches the playground) + ⚙ header
  button + lib/api.ts wrappers.
- README: Configuring `ask` + security note.

Deviation from the journal port: build_ask_config is unconditional (the
desktop crate has no `ask` feature gate) and tempdir() in tests uses an
atomic counter, not subsec-nanos, to avoid a parallel-run collision.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

0 of 25 new or added lines in 1 file covered. (0.0%)

11190 of 16279 relevant lines covered (68.74%)

1.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
0.0
desktop/src-tauri/src/settings.rs
Jobs
ID Job ID Ran Files Coverage
1 26697051200.1 30 May 2026 10:55PM UTC 62
68.74
GitHub Action Run
Source Files on build 26697051200
  • Tree
  • List 62
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ed834646 on github
  • Prev Build on main (#26695636157)
  • Next Build on main (#26697350399)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc