Skip to content

Fix schema_app forcing the creation of a schemas/ dir#254

Merged
OCopping merged 1 commit into
mainfrom
fix-force-mkdir-schema
Jul 15, 2026
Merged

Fix schema_app forcing the creation of a schemas/ dir#254
OCopping merged 1 commit into
mainfrom
fix-force-mkdir-schema

Conversation

@OCopping

Copy link
Copy Markdown
Collaborator

When running any part of the app, schema_app is imported into the top level typer app, which caused SCHEMAS_DIR.mkdir() to be called. This causes the jsonmap generation command to fail as the command is run in a read-only mounted directory.

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.83%. Comparing base (7974e79) to head (7aa27b6).

Files with missing lines Patch % Lines
src/techui_builder/schema_generator.py 62.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #254      +/-   ##
==========================================
- Coverage   96.11%   95.83%   -0.28%     
==========================================
  Files          13       13              
  Lines         978      985       +7     
==========================================
+ Hits          940      944       +4     
- Misses         38       41       +3     

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

@OCopping
OCopping merged commit 99a0969 into main Jul 15, 2026
7 of 9 checks passed
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