Skip to content

Conversation

@sunt05
Copy link

@sunt05 sunt05 commented Jan 16, 2026

Consolidates duplicate validation utilities and removes untested standalone mode fallbacks.

Changes:

  • Re-export logger_supy at package level to simplify relative imports
  • Move DLSCheck, get_value_safe, HAS_TIMEZONE_FINDER to yaml_helpers for single source of truth
  • Remove unused standalone fallback code paths (~170 lines) that were never tested or exercised
  • Clean up unused imports (BaseModel, pytz) from phase_b

This improves maintainability by eliminating code duplication and dead code paths.

- Re-export logger_supy at validation package level to avoid deep relative imports
- Remove unused import os from yaml_helpers.py
- Remove ~170 lines of duplicate code from phase_b.py by importing from central locations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

Preview Deployed

Content Preview URL
Site https://suews.io/preview/pr-1085/
Docs https://suews.io/preview/pr-1085/docs/

Note

This preview is ephemeral. It will be lost when:

  • Another PR with site/ or docs/ changes is pushed
  • Changes are merged to master
  • A manual workflow dispatch runs

To restore, push any commit to this PR.

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