Repository navigation
The package's wire format; default_framing moves to config.idp - #101
Merged
Merged
Conversation
added 2 commits
October 25, 2026 06:24
- Each generated version gets its own `wire.format`: the working tree's
config, or the config a built version was stored with.
- `default_framing` in comline.toml is an error that hands back the
`wire = { framing = ... }` line for config.idp.
- `comline build` checks the declared `wire.format` against each
declared target, as it does the schemas' features.
- The async-unused warning names the cases left: lockstep framings.
- `comline new` writes a commented `wire` line with the defaults.
- The end-to-end drivers serve through the package's `serve`/`connect`.
- Pins core 2ba38df, generation dfd3bdb, comline-rust 5927244,
comline-typescript 52c004f.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #100. The cli half of Stage 3 of the package wire defaults (proposal).
GenRequest.wire_format: each generated version gets its ownwire.format. That's the working tree's config, or, for a built version, the config the CAS stored it with (history::load_config).default_framing, in[generate]or in a target, is now an error with a ready-to-paste hint:comline buildchecks the declaredwire.formatagainst each declared target, the same way it checks the schemas' features. A TypeScript target withmsgpack@1is refused there.async = truewarning now names the only remaining cases. Every protocol is on a connection by default, so it fires only when every protocol is lockstep.comline newwrites// wire = { format = "packed@1" framing = "datagram@2" }into config.idp and drops thedefault_framingline from comline.toml. Heads-up: the localcli/checkout has uncommitted changes tosrc/commands/new.rs, which will need a rebase over this.serve(transport, Services { .. })andconnect, overpacked@1.