Skip to content

task/003: Delete no-op modules and dead exports - #4

Merged
Igloczek merged 1 commit into
masterfrom
task/003-delete-noop-modules
Jun 30, 2026
Merged

Igloczek merged 1 commit into
masterfrom
task/003-delete-noop-modules

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/003-delete-noop-modules.md from the ponytail audit backlog.

Goal

Remove files and exports that exist only for upstream parity and do nothing at runtime.

Scope

  • Delete src/server/env.ts; remove loadEnv() call from src/server/server.ts.
  • Delete src/server/apicache.ts; update ~6 call sites to import clearResponseCache from @/server/bun-response directly.
  • Delete unused polyfill() from src/util.ts.
  • Remove empty REMOVED_MONITOR_TYPES and REMOVED_NOTIFICATION_PROVIDERS exports (and any imports of them).

Acceptance criteria

  • src/server/env.ts and src/server/apicache.ts are deleted.
  • polyfill() has zero references.
  • REMOVED_MONITOR_TYPES / REMOVED_NOTIFICATION_PROVIDERS have zero references.
  • bun run lint passes.
  • bun run test:backend passes.
  • bun run build succeeds.

Depends on

Nothing.

Verification

bun run lint
bun run test:backend
bun run build
rg "loadEnv|apicache|polyfill\\(|REMOVED_MONITOR_TYPES|REMOVED_NOTIFICATION" src

Audit reference

Findings #29, #30, #31, #32.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

Pure deletions and direct imports — no extra abstraction.

Lean already. Ship.

11 files changed, 20 insertions(+), 69 deletions(-)

@Igloczek
Igloczek force-pushed the task/003-delete-noop-modules branch from 554f16a to 7e0b752 Compare June 30, 2026 11:42
@Igloczek
Igloczek merged commit a6d3416 into master Jun 30, 2026
1 check passed
@Igloczek
Igloczek deleted the task/003-delete-noop-modules branch June 30, 2026 12:58
Igloczek added a commit that referenced this pull request Aug 8, 2026
task/003: Delete no-op modules and dead exports
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