Skip to content

perf: remove SQLite CLI from container image - #13

Merged
iefiru merged 1 commit into
mainfrom
perf/docker-image-cleanup
Aug 15, 2026
Merged

perf: remove SQLite CLI from container image#13
iefiru merged 1 commit into
mainfrom
perf/docker-image-cleanup

Conversation

@chestercheng

Copy link
Copy Markdown
Contributor

Summary

  • Remove the unused sqlite3 command-line package from the runtime image.
  • Remove the apt installation layer.
  • Update deployment documentation.

Validation

  • docker build --no-cache --tag argus:stack-check .
  • uv run ruff check .
  • uv run ruff format --check .

Depends on #12.

@chestercheng
chestercheng requested a review from iefiru August 12, 2026 22:59
@chestercheng
chestercheng force-pushed the perf/docker-image-cleanup branch 2 times, most recently from 95bd05d to fabb9c2 Compare August 14, 2026 22:13
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.41%. Comparing base (a751514) to head (c220f55).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   75.41%   75.41%           
=======================================
  Files          16       16           
  Lines         720      720           
=======================================
  Hits          543      543           
  Misses        177      177           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chestercheng
chestercheng force-pushed the perf/docker-image-cleanup branch from fabb9c2 to 47345ab Compare August 14, 2026 22:20

@iefiru iefiru left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iefiru
iefiru force-pushed the perf/docker-image-cleanup branch from 47345ab to 9fd151d Compare August 15, 2026 03:25
Base automatically changed from feat/postgresql-support to main August 15, 2026 03:26
Use Python's built-in sqlite3 module without installing the unused command-line tool. This removes an apt layer and reduces runtime image contents.

Signed-off-by: chestercheng <hi@chester.ch>
@iefiru
iefiru force-pushed the perf/docker-image-cleanup branch from 9fd151d to c220f55 Compare August 15, 2026 03:26
@iefiru
iefiru merged commit 2530b1e into main Aug 15, 2026
5 checks passed
@iefiru
iefiru deleted the perf/docker-image-cleanup branch August 15, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants