Skip to content

[Backend] Replace the static Cargo dependency registry with a maintainable update sourceΒ #881

Description

@ayomideadeniran

πŸš€ Feature Overview

Improve the dependency-update service so its version recommendations are maintainable, typed, and clearly separated from live update execution.

πŸ› οΈ Implementation Requirements

  • Remove the ts-nocheck directive from the dependency-update service.
  • Extract the registry into a documented provider or configuration layer.
  • Add a refresh strategy or clearly label the registry as curated snapshot data.
  • Improve semantic-version edge-case handling and tests.
  • Ensure no external registry failure breaks the rest of the application.

πŸ”§ Technical Specifications

Node.js, TypeScript, Cargo.toml parsing, semantic versioning, Jest.

βœ… Acceptance Criteria

  • Dependency-update service builds without ts-nocheck.
  • Version comparison handles common prerelease and malformed input safely.
  • Registry data has a documented ownership and update strategy.
  • Unit tests cover simple dependencies, inline tables, unknown packages, and version edge cases.
  • Service failures return actionable errors.

πŸŽ“ Difficulty Level

Intermediate β€” requires TypeScript parsing and dependency-management knowledge.

⏱️ Timeline

ETA: 2 days

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions