Skip to content

build, diff: report every change kind, config changes and the bump - #115

Merged
Kinflou merged 1 commit into
mainfrom
cli/compat-rules-reporting
Nov 1, 2026
Merged

Kinflou merged 1 commit into
mainfrom
cli/compat-rules-reporting

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 1, 2026

Copy link
Copy Markdown
Member

The cli step of the core#154 cascade (ComlineProject/core#119 step 1: the compatibility rules), with the reporting from #80.

  • Re-pin: comline-core to core#154's branch tip; comline-codegen and the doc renderers to generation#99's 9b8336e (the commit comline-rust#88 and comline-typescript#106 pin); the generators to those PRs. tests/fixtures/generators follows.
  • Printing: src/changes.rs renders the new kinds: added optional field (where the format can't skip it), moved fields / variants / functions (where they travel by position or index), renamed protocol / namespace, same type respelled, a constant only defaults use.
  • comline diff runs core's cas::build::compare, the comparison build uses: the package's own changes, each dependency's within reach (no longer mixed into the package's own), config changes, and the bump.
  • comline build prints config changes, and a build whose only change is in the config no longer says "no changes".

Not here (#80's rest): --json output, --deny / versioning.allow.

Generated code is byte-identical: comline generate with this branch and with main on simple_project, chat_project and validated_project, Rust code, Rust lib and TypeScript code (24 files), diff -r clean.

Local checks: cargo fmt --check (all three manifests), both cargo clippy runs, cargo test (121 cli tests).

Part of #80.

Re-pins core to the compatibility rules (core#154) with generation,
comline-rust and comline-typescript in step. The renderer prints the new
kinds; `diff` runs core's comparison (own schemas, dependencies by
reach, config, bump) like `build`; `build` prints config changes.
@Kinflou
Kinflou merged commit fa9f417 into main Nov 1, 2026
2 checks passed
@Kinflou
Kinflou deleted the cli/compat-rules-reporting branch November 1, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant