Skip to content

Remove exports that nothing in the repository reads - #277

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/drop-unreferenced-exports-8f83
Nov 20, 2026
Merged

cursor[bot] merged 1 commit into
masterfrom
cursor/drop-unreferenced-exports-8f83

Conversation

@jonbeckman

Copy link
Copy Markdown
Collaborator

Summary

Dead exports only. No route, worker, or package entry was deleted.

Search proof, from the repository excluding node_modules, .agents, and .claude:

  • AppResource occurred only as export type AppResource in packages/app/infra/index.ts. createApp stays. Callers use the function's return type.
  • SOLSTATUS_PACKAGE_ID occurred only as its declaration in scripts/releases/solstatus-release.ts. The release id is still release:solstatus through the plugin's manager and name. solStatusRelease() is imported by scripts/tegami.mts.
  • VERSION_FILE occurred only in scripts/releases/solstatus-release.ts. The const stays. The export keyword is removed.

release:none: no deployment behavior changes and no package publish.

Validation

  • nub run typecheck
  • nub run lint
  • nub run format
  • nub exec e2e run --strict-cache (9 passed, 6 skipped on the other target)

Checklist

  • I added or updated tests for behavior changes, or explained why tests are not needed.
  • I updated documentation and config examples when behavior or configuration changed.
  • I added a .tegami/ release entry, or explained why this pull request uses release:none.
  • I ran nub run typecheck, nub run lint, nub run format, and nub run test.
  • I did not include credentials, private data, internal URLs, or organization-specific defaults.
  • I did not change production deploys, registry publish, or paid spend.
Open in Web Open in Cursor 

AppResource was only the alias at the bottom of createApp. SOLSTATUS_PACKAGE_ID was never read, and VERSION_FILE is only used in the release plugin that defines it.

Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
@jonbeckman jonbeckman added the release:none No version bump / Tegami changelog for this PR label Nov 20, 2026 — with Cursor
@jonbeckman
jonbeckman marked this pull request as ready for review November 20, 2026 09:27
@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e solstatus-core: 6 skipped, 9 left out by filters

Change 2 files changed since eaf6058
Filter decision left out all 9 tests (1 call, 3.5k tokens)

9 tests left out by filters
Test Filter Reason
tests/api.e2e.ts (chromium) › app API › anonymous monitor and infra requests are rejected decision 4% likely affected
tests/api.e2e.ts (chromium) › app API › better-auth routes respond without a session decision 7% likely affected
tests/api.e2e.ts (chromium) › app API › a signed-in caller can read infra metadata and reject a duplicate quoted URL decision 17% likely affected
tests/cli.e2e.ts (cli) › prints Effect 4 CLI help without an Effect 3 @effect/cli peer decision 14% likely affected
tests/dashboard.e2e.ts (chromium) › dashboard › dashboard shows endpoint monitors heading and create action decision 5% likely affected
tests/dashboard.e2e.ts (chromium) › dashboard › sidebar exposes Monitors navigation decision 5% likely affected
tests/library.e2e.ts (cli) › createId prefixes endpoint monitor ids and keeps them distinct decision 5% likely affected
tests/library.e2e.ts (cli) › UpdateEndpointMonitor validates url and drops id decision 7% likely affected
tests/monitors.e2e.ts (chromium) › endpoint monitors › create an endpoint monitor through the dashboard form decision 8% likely affected
All 6 tests in 3 files
Test Time
⏭️ tests/api.e2e.ts · 3 skipped 0ms
⏭️ app API › anonymous monitor and infra requests are rejected (skipped: engine lacks required capabilities: browser)
⏭️ app API › better-auth routes respond without a session (skipped: engine lacks required capabilities: browser)
⏭️ app API › a signed-in caller can read infra metadata and reject a duplicate quoted URL (skipped: engine lacks required capabilities: browser)
⏭️ tests/dashboard.e2e.ts · 2 skipped 0ms
⏭️ dashboard › dashboard shows endpoint monitors heading and create action (skipped: engine lacks required capabilities: browser)
⏭️ dashboard › sidebar exposes Monitors navigation (skipped: engine lacks required capabilities: browser)
⏭️ tests/monitors.e2e.ts · 1 skipped 0ms
⏭️ endpoint monitors › create an endpoint monitor through the dashboard form (skipped: engine lacks required capabilities: browser)

Tested by e2e 0.23.0 · 8ms · cli · run artifacts

@cursor
cursor Bot merged commit ed2a138 into master Nov 20, 2026
12 checks passed
@cursor
cursor Bot deleted the cursor/drop-unreferenced-exports-8f83 branch November 20, 2026 09:30
@github-actions

Copy link
Copy Markdown
Contributor

Tegami

This repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under .tegami/ before merging.

Create a changelog → · Changelog format

No changelogs yet

This PR has no pending changelog files. If your changes require a release, add a changelog before merging.

Run nub run tegami locally to create a changelog interactively.

Managed by Tegami.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:none No version bump / Tegami changelog for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants