Skip to content

Clean up validate_fast.sh Phase 4 TODOs and remove project-specific references #4

Description

@stranske

Topic GUID: 06e94437-09a3-5519-af2f-ee625aada267

Why

scripts/validate_fast.sh contains 12 TODO Phase 4 markers referencing Trend_Model_Project-specific features (SRC_FILES detection, autofix tests, coverage requirements) that are not applicable to this workflow repository. These dead code paths and stale references cause confusion and add maintenance burden.
Scope

  • scripts/validate_fast.sh cleanup of TODO markers and project-specific detection logic.

Tasks

  • Remove all TODO Phase 4 markers and their associated dead/commented code blocks.
  • Remove SRC_FILES and AUTOFIX_FILES detection logic that references src/ directory patterns not present in this repo.
  • Update linting targets to use scripts/ and .github/ instead of src/ tests/.
  • Replace Python package-specific validation (coverage requirements, import tests) with workflow-specific checks (actionlint, YAML validation).
  • Ensure the script still runs successfully after cleanup.

Acceptance criteria

  • grep -c "TODO Phase" scripts/validate_fast.sh returns 0.
  • Script executes without errors: bash scripts/validate_fast.sh --help works.
  • No references to src/ directory or Trend_Model_Project-specific patterns remain.
  • Validation targets are appropriate for a workflow repository (scripts/, .github/).

Implementation notes

  • Keep the core validation framework intact; only remove dead code and update targets.
  • Test with bash scripts/validate_fast.sh --verbose to verify functionality after changes.
  • Preserve the intelligent change detection but update the file patterns it looks for.

Synced by workflow run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:codexAgent-created issues from CodexcleanupSynthesized from ChatGPT import for cleanupenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions