Skip to content

Conversation

@coolreader18
Copy link
Collaborator

@coolreader18 coolreader18 commented Apr 11, 2025

Description of Changes

This is something I've had a branch for for a while, and now that #2244 is merged I can open it. This makes the codeowners situation simpler, and also lets us put the codegen snapshot tests directly with the codegen crate instead of as integration tests using the Rust api of the CLI.

I moved the Lang::{format_files,clap_value} functions off of the trait because those aren't really related to codegen, and fit better in the spacetimedb_cli::tasks module and inlined into to_possible_value respectively.

API and ABI breaking changes

Expected complexity level and risk

1: if you review with git diff master --color-moved, you'll see that most of this is just very straightforward code movement.

Testing

n/a; no new behavior and the codegen snapshot tests still pass.

@jdetter
Copy link
Collaborator

jdetter commented Apr 11, 2025

I don't have any input here, feel free to move this one forward without me 👍

@bfops bfops added the release-any To be landed in any release window label Apr 14, 2025
@coolreader18 coolreader18 force-pushed the noa/split-generate-crate branch from 04044a1 to 7a75667 Compare April 16, 2025 19:17
Copy link
Collaborator

@bfops bfops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, the code LGTM! As you said, if the existing tests pass and the snapshots are unchanged, this seems like it should be good.

Also TIL about git diff --color-moved.

Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CODEOWNERS change LGTM

@coolreader18 coolreader18 force-pushed the noa/split-generate-crate branch from fbcac0e to f8193f5 Compare April 29, 2025 17:11
@coolreader18 coolreader18 enabled auto-merge April 29, 2025 17:13
@coolreader18 coolreader18 added this pull request to the merge queue Apr 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 29, 2025
@coolreader18 coolreader18 added this pull request to the merge queue Apr 29, 2025
Merged via the queue into master with commit 020d64c Apr 29, 2025
19 checks passed
@coolreader18 coolreader18 deleted the noa/split-generate-crate branch April 29, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants