Skip to content

1002-units-06 - CI check - #11

Open
jamillambert wants to merge 5 commits into
masterfrom
1002-units-06
Open

jamillambert wants to merge 5 commits into
masterfrom
1002-units-06

Conversation

@jamillambert

Copy link
Copy Markdown
Owner

CI check only

`Target` and `Work` were moved into `units` but the API tests were not
updated to cover them. `CommonTraits` is also missing `Sequence`.

Add the missing types to the struct lists and the export checks.

Assisted-by: Claude Opus 5.5
Several public error types are not in the `Errors` struct, so the API
tests do not check their derives, `Send`, `Sync` or `Display`. The
`CompactTargetDecoderError` is in `Errors` even though decoder errors
are meant to be in `DecoderErrors`.

Add the missing error types and move the decoder error.

Assisted-by: Claude Opus 5.5
`c_serde` only checks some of the types that implement the serde
traits.

Add the remaining locktime, time and pow types.

Assisted-by: Claude Opus 5.5
@jamillambert jamillambert changed the title 1002 units 06 1002-units-06 - CI check Oct 2, 2026
Decoder errors are listed in `DecoderErrors`, but `c_send_sync` only
checks the general error aggregate, `Decoders` is not checked at all
and `c_good_err_display` only covers one decoder error.

Check `Send` and `Sync` for all decoders and decoder errors, and
`Display` for all decoder errors, when encoding is enabled.

Assisted-by: Claude Opus 5.5
No API test checks that the public error types implement
`std::error::Error`, so a missing impl would go unnoticed.

Add a test that checks every public error type when std is enabled.

Assisted-by: Claude Opus 5.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant