Skip to content

chore: remove unused deps, dead config, and OTel instrumentation - #321

Merged
fworks-tech merged 3 commits into
mainfrom
chore/cleanup-deps-config
Sep 27, 2026
Merged

fworks-tech merged 3 commits into
mainfrom
chore/cleanup-deps-config

Conversation

@fworks-tech

Copy link
Copy Markdown
Owner

What

Removes unused dependencies, dead config entries, and the OTel instrumentation file.

Why

Cleanup pass — these were unused or broken:

  • @opentelemetry/* packages removed from package.json but instrumentation.ts still imported them (build failure)
  • classnames and use-debounce not imported anywhere
  • sameAs.devto/stackoverflow/npm/hashnode removed from config but SocialStats.tsx still referenced them
  • mailchimp.effects never consumed (only action is used)
  • referral.default wrapper was unnecessary indirection

How to test

  1. npm run lint
  2. npm run typecheck
  3. npm test

Switch chat MODEL_ID from glm-5.3-flash to jev-1.13.

Closes #319
Replace glm-5.3-flash with gpt-6-luna (cheapest chat model on OpenCode
Zen at /usr/bin/bash.10/$0.50 per 1M tokens). Update cost constant and tests.

Closes #319
- Remove @opentelemetry/* packages and instrumentation.ts (unused)
- Remove classnames and use-debounce (no imports)
- Remove unused sameAs entries (devto, stackoverflow, npm, hashnode)
- Remove mailchimp.effects (only action is consumed)
- Flatten referral config (remove unnecessary .default wrapper)
- Clean up SocialStats to only fetch GitHub stats
@fworks-tech
fworks-tech merged commit 4f3e59d into main Sep 27, 2026
5 checks passed
@fworks-tech
fworks-tech deleted the chore/cleanup-deps-config branch September 27, 2026 14:22
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