Skip to content

feat(credit): bake-image local CSS serve demo (#173) - #176

Merged
JLaborda merged 2 commits into
developfrom
cursor/bake-serve-demo-image
Oct 8, 2026
Merged

JLaborda merged 2 commits into
developfrom
cursor/bake-serve-demo-image

Conversation

@JLaborda

@JLaborda JLaborda commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Hermetic prepare_serve_demo_artifact + pytest seam (score/drivers, no Docker in CI)
  • credit/Dockerfile.serve.demo bakes pipeline.joblib; volume-mount Dockerfile.serve unchanged
  • platform/scripts/prepare-serve-demo-artifact.sh + bake section in serve-fastapi guide

Parent / tickets

Test plan

  • poetry run pytest tests/credit/test_serve_demo_bake.py
  • Manual: prepare → docker build -f credit/Dockerfile.serve.demo → docker run (no -v) → curl /health, /score, /drivers
  • CI green on this PR

Made with Cursor

Add hermetic prepare_serve_demo_artifact, Dockerfile.serve.demo that
embeds pipeline.joblib, and operator script so Fargate can ship without
volume mounts (#173).

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.71%. Comparing base (f92d064) to head (8049779).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #176   +/-   ##
========================================
  Coverage    98.70%   98.71%           
========================================
  Files           39       40    +1     
  Lines         2551     2566   +15     
  Branches       308      309    +1     
========================================
+ Hits          2518     2533   +15     
  Misses          25       25           
  Partials         8        8           

☔ 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.

Hit default fixture source and missing-joblib FileNotFoundError so
patch coverage clears the #176 Codecov gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JLaborda
JLaborda merged commit bf695a1 into develop Oct 8, 2026
3 checks passed
@JLaborda
JLaborda deleted the cursor/bake-serve-demo-image branch October 8, 2026 10:23
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.

1 participant