Skip to content

Conversation

@httpdss
Copy link
Owner

@httpdss httpdss commented Aug 11, 2025

Closes #94

  • Defaults from environment variables via env or default_from_env in variable schema.
  • Type coercion: boolean, integer, float/number; string by default.
  • Validation: enum, regex/pattern, min/max numeric bounds.
  • Required handling: in non-interactive mode, missing required variables raise a clear error.
  • Tests added for env defaults and coercion/validation.

All tests pass (95).

…loat); enum/regex/min/max validation; required handling in non-interactive (closes #94)
@codecov
Copy link

codecov bot commented Aug 11, 2025

Codecov Report

❌ Patch coverage is 61.11111% with 28 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@4796e57). Learn more about missing BASE report.
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
struct_module/template_renderer.py 61.11% 18 Missing and 10 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #104   +/-   ##
=======================================
  Coverage        ?   65.06%           
=======================================
  Files           ?       18           
  Lines           ?     1251           
  Branches        ?      223           
=======================================
  Hits            ?      814           
  Misses          ?      372           
  Partials        ?       65           

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@httpdss httpdss merged commit 9b67a92 into main Aug 12, 2025
5 checks passed
@httpdss httpdss deleted the feature/issue-94-variables-validation branch August 12, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variable discovery and validation improvements

2 participants