Skip to content

refactor(cli): Rename approximations to models - #382

Merged
Gr-i-niy merged 4 commits into
misonijnik/go-models-modelfrom
misonijnik/go-models-cli
Nov 2, 2026
Merged

Gr-i-niy merged 4 commits into
misonijnik/go-models-modelfrom
misonijnik/go-models-cli

Conversation

@misonijnik

Copy link
Copy Markdown
Member

No description provided.

@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from b79c10c to be0a69d Compare August 29, 2026 15:53
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from be0a69d to 8d2bd18 Compare September 2, 2026 09:31
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from 8d2bd18 to bdf7868 Compare September 2, 2026 09:32
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from bdf7868 to 4a9bea4 Compare September 2, 2026 15:35
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from 4a9bea4 to 045221a Compare September 2, 2026 16:10
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from 045221a to 494af06 Compare September 5, 2026 11:40
@misonijnik misonijnik changed the title fix(cli): Accept Go model modules fix(cli, ci): Accept Go model modules Sep 5, 2026
@misonijnik misonijnik changed the title fix(cli, ci): Accept Go model modules fix(cli, docs, ci): Accept Go model modules Sep 5, 2026
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from 494af06 to 6b539fb Compare October 13, 2026 10:31
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from 6b539fb to 8709418 Compare October 13, 2026 12:33
@misonijnik
misonijnik removed this pull request from stack #383 October 27, 2026 10:37
@misonijnik
misonijnik added this pull request to stack #420 October 27, 2026 10:38
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch 2 times, most recently from 517feb7 to b663f88 Compare October 27, 2026 11:25
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from b663f88 to be28ef9 Compare October 27, 2026 12:18
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from be28ef9 to 3bf09dd Compare October 27, 2026 21:10
@misonijnik
misonijnik force-pushed the misonijnik/go-models-cli branch from 3bf09dd to df0c52b Compare October 28, 2026 09:23
@misonijnik
misonijnik requested a review from Gr-i-niy October 28, 2026 14:28
The commands are now model init, compile models, and test model init and
run, and the flags are --dataflow-models and --passthrough-models. The
old names stay as hidden aliases that print a deprecation notice and run
the new command or set the new flag.
The packages are now internal/models and internal/testmodel, and the
command files follow the command names. The harness rule of model tests
is model-rule.yaml#model-rule, the test project is model-test-project,
and the Gradle project of a model project is dependency-models. Messages
say model instead of approximation. The approximation.yaml descriptor
and the approximations API jar keep their names.
A model test can now apply pass-through models next to the dataflow
models under test, as test rule run already does.
@Gr-i-niy
Gr-i-niy force-pushed the misonijnik/go-models-cli branch from c99ece9 to c3be33d Compare November 2, 2026 12:19
An unhandled analyzer exception (exit code 252) is only described in
the analyzer log, which lives in a temporary directory. test rule run
and test model run now print its path. scan already points at its own
log file, which holds the analyzer output, so it prints the analyzer
log only when it has no log file.
@Gr-i-niy
Gr-i-niy force-pushed the misonijnik/go-models-cli branch from c3be33d to 5bfff95 Compare November 2, 2026 12:39
@Gr-i-niy Gr-i-niy changed the title fix(cli, docs, ci): Accept Go model modules refactor(cli): Rename approximations to models Nov 2, 2026
@Gr-i-niy
Gr-i-niy merged commit b6a3a7e into main Nov 2, 2026
15 of 16 checks passed
@Gr-i-niy
Gr-i-niy deleted the misonijnik/go-models-cli branch November 2, 2026 13:11
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.

3 participants