Skip to content

chore(deps): remove dead legacy dependency manifests - #1085

Merged
abrichr merged 1 commit into
mainfrom
chore/remove-legacy-dependency-manifests
Aug 2, 2026
Merged

chore(deps): remove dead legacy dependency manifests#1085
abrichr merged 1 commit into
mainfrom
chore/remove-legacy-dependency-manifests

Conversation

@abrichr

@abrichr abrichr commented Aug 2, 2026

Copy link
Copy Markdown
Member

Summary

Dependabot reports 323 open alerts on the default branch. 260 of them — including all 7 criticals — are pinned in dependency manifests under legacy/, the pre-launcher codebase that no longer ships anywhere:

Manifest Alerts Criticals
legacy/poetry.lock 186 nltk, deepdiff, torch, h11, transformers
legacy/openadapt/app/dashboard/package-lock.json 74 shell-quote, next

The legacy tree is repository-only history:

  • the wheel only packages openadapt/ ([tool.hatch.build.targets.wheel] packages),
  • the sdist explicitly excludes /legacy,
  • nothing in .github/, scripts/, or mkdocs.yml references these manifests,
  • legacy/poetry.lock's pyproject.toml counterpart is already gone.

This PR deletes the two lockfiles plus the dashboard package.json (removed with its lock so the npm version ranges cannot re-surface as new range-based alerts). Removing a manifest from the default branch removes its entries from the dependency graph, and GitHub auto-dismisses the associated Dependabot alerts.

The remaining 63 alerts are locked versions in uv.lock (the live launcher lock) and are handled in a separate minimal-bump PR.

Test plan

  • run-ci matrix green
  • validate-platform-manifest green
  • After merge: confirm open alert count drops by ~260

🤖 Generated with Claude Code

The repository is now a thin launcher around openadapt-flow. The legacy
tree is repository-only history: it is excluded from the wheel
(packages = ["openadapt"]) and from the sdist (explicit /legacy
exclude), and nothing in CI or scripts references these manifests.

Dependabot still scans them and reports 260 of the repo's 323 open
alerts against them, including all 7 criticals (nltk, deepdiff, torch,
h11, transformers in legacy/poetry.lock; shell-quote, next in the
legacy dashboard package-lock.json). None of that code ships or runs.

Removing the manifests drops the dead dependency graph entries, which
auto-dismisses the associated alerts:

- legacy/poetry.lock (186 alerts; its pyproject.toml counterpart was
  already gone)
- legacy/openadapt/app/dashboard/package-lock.json (74 alerts)
- legacy/openadapt/app/dashboard/package.json (removed alongside the
  lock so the npm ranges cannot re-materialize as new alerts)

The remaining 63 alerts live in uv.lock and are addressed separately
by bumping the locked versions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@abrichr
abrichr merged commit d825b6f into main Aug 2, 2026
11 checks passed
@abrichr
abrichr deleted the chore/remove-legacy-dependency-manifests branch August 2, 2026 21:06
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