Skip to content

Fix deps check, settings dump and changelog copy with components - #121

Merged
ericof merged 3 commits into
mainfrom
issues-117-118-119
Dec 3, 2026
Merged

ericof merged 3 commits into
mainfrom
issues-117-118-119

Conversation

@ericof

@ericof ericof commented Dec 3, 2026

Copy link
Copy Markdown
Member

These are follow-up fixes to the [[component]] feature (#113) and to changelog check (#116). They came up while sc-videos moved to explicit components, and sc-videos tested this branch on its own repository.

deps check with a python component not managed by uv (#117)

check_backend_base_package raised RuntimeError, and deps check did not catch it. The traceback hid the rows of every other component. Such a component now gets its own row:

  • Current Version: the version in use, such as 6.2.3 from version.txt.
  • Latest Version: not managed by uv. The registry is not queried for that row.

The command carries on and exits 0. deps upgrade handles that error as before.

settings dump with components (#118)

When a file declares components, each package in the dump changes:

  • It lists its components, as settings github-outputs already did.
  • It drops the derived primary and base_package, which have no effect once components exist. They are removed, not blanked.

The top-level backend and frontend entries keep their keys. The dumps of every fixture project without component tables are unchanged.

Missing component changelog (#119)

When a component's changelog_package has no <component path>/CHANGELOG.md to copy to, the release logs a warning that names the package and the missing file. changelog preview gives the same warning, so it shows up before a release. No file is created.

changelog check output

  • The table folds long area names, such as scoped npm packages, instead of cutting them with ….
  • Paths stay on one line, and the list of missing areas names the news folder to add each fragment to.
  • --github no longer puts each area's changes and fragments file lists into areas. On sc-videos that output was a 50 KB line, and GitHub step outputs have size limits. --json keeps the lists.

Each fix comes with a test that fails without it.

Closes #117
Closes #118
Closes #119

Follow-up fixes to the [[component]] feature:

- deps check reports a python component that uv does not manage in its
  row (#117), instead of crashing and hiding the other components.
- settings dump drops the primary and base_package keys from packages in
  a file with components, and lists each package's components (#118).
  Implicit-mode dumps are unchanged.
- Copying a package changelog to a component without a CHANGELOG.md logs a
  warning naming the package and the file, and still creates no file (#119).
- deps check shows a non-uv python component's version in use, and says
  "not managed by uv" in the latest version column (#117).
- changelog preview warns about a component changelog a release would not
  copy because the file is missing (#119).
- changelog check folds long area names instead of cutting them, and its
  --github areas output no longer lists every changed file; --json still
  does.
The table keeps each path on one line, and the missing list says where to add each fragment.
@ericof
ericof requested a review from a team as a code owner December 3, 2026 15:49
@ericof ericof self-assigned this Dec 3, 2026
@ericof
ericof merged commit 47f89df into main Dec 3, 2026
9 checks passed
@ericof
ericof deleted the issues-117-118-119 branch December 3, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant