Skip to content

Cut dead build tooling (ponytail cleanup) - #9

Merged
exactmike merged 1 commit into
masterfrom
chore/ponytail-cleanup
Aug 30, 2026
Merged

Cut dead build tooling (ponytail cleanup)#9
exactmike merged 1 commit into
masterfrom
chore/ponytail-cleanup

Conversation

@exactmike

Copy link
Copy Markdown
Collaborator

Summary

Executes the remaining items from plans/ponytail-cleanup.md (item 7, the spec/ folder, was already merged separately in #8):

  • Delete Move-Statement (~115 lines) from BuildTasks/BuildModule.Task.ps1 — hand-tokenizes files to reorder #Requires/using statements, but nothing under PSGraph/ uses either
  • Delete the class importer + Resolve-DependencyOrder call in BuildModule.Task.ps1, and its duplicate in PSGraph/PSGraph.psm1 — both scan a Classes/ folder that doesn't exist anywhere in the repo
  • Drop the Classes entry from $Script:Folders (BuildTasks/InvokeBuildInit.ps1) now that nothing special-cases it
  • Drop the DependsOn module dependency from build.ps1 and both CI jobs — its only call sites were the two dead class-importers above
  • Delete deploy.PSDeploy.ps1 — PSDeploy DSL never installed by the build pipeline; the publish task calls Publish-Module directly
  • Delete requirements.psd1 — a DependsOn-format installer for GraphViz 2.38 (2018), unreferenced and superseded by Install-GraphViz.ps1 and CI's own choco/apt/brew steps
  • Delete PSGraph/Data/Aliases.json — unreferenced by any source file
  • Remove the Pester build task's code-coverage gate — wired up but inert ($Script:CodeCoveragePercent was pinned to 0.0, so the failure branch could never trigger). Went with delete rather than setting a real threshold, since picking a coverage % is a policy call — happy to add a real gate back in a follow-up if wanted.

Net: -280 lines, -1 module dependency (DependsOn), no behavior change.

Test plan

  • Invoke-Build -Task Build succeeds and produces a correct Output/PSGraph/PSGraph.psm1
  • Full Pester suite: 401/401 passing against the rebuilt module

🤖 Generated with Claude Code

https://claude.ai/code/session_014u9G91TefcQ42MAGvWrrqK

- Move-Statement: hand-tokenizes files to reorder #Requires/using
  statements, but nothing under PSGraph/ uses either; a leftover
  copy-paste from an unrelated project (BuildTasks/BuildModule.Task.ps1)
- Class importer (BuildModule.Task.ps1 and PSGraph.psm1): scans a
  Classes/ folder that doesn't exist anywhere in the repo
- DependsOn module: only used by the two dead class-importers above;
  dropped from build.ps1 and both CI jobs
- deploy.PSDeploy.ps1: PSDeploy DSL never installed by the build
  pipeline; the actual publish task calls Publish-Module directly
- requirements.psd1: DependsOn-format installer for GraphViz 2.38
  (2018), unreferenced and superseded by Install-GraphViz.ps1 and
  ci.yml's own choco/apt/brew steps
- PSGraph/Data/Aliases.json: unreferenced by any source file
- Pester build task's code-coverage gate: wired up but inert since
  $Script:CodeCoveragePercent was pinned to 0.0, so the failure
  branch could never trigger

Verified with `Invoke-Build -Task Build` and the full Pester suite
(401/401 passing) after the change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014u9G91TefcQ42MAGvWrrqK
@exactmike
exactmike merged commit 6dc42b6 into master Aug 30, 2026
6 checks passed
@exactmike
exactmike deleted the chore/ponytail-cleanup branch August 30, 2026 11:56
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