Skip to content

fix(build): parse TOML+proto once, add EndpointError impls, rename tick schema#230

Merged
userFRM merged 3 commits into
mainfrom
fix/build-triple-parse
Apr 10, 2026
Merged

fix(build): parse TOML+proto once, add EndpointError impls, rename tick schema#230
userFRM merged 3 commits into
mainfrom
fix/build-triple-parse

Conversation

@userFRM

@userFRM userFRM commented Apr 10, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes #211, fixes #219, fixes #220

Test plan

  • cargo fmt --all -- --check clean
  • cargo clippy --workspace --all-targets -- -D warnings clean
  • cargo test --workspace passes (242 tests)
  • Build compiles successfully (tick_schema.toml path updated everywhere)

🤖 Generated with Claude Code

userFRM and others added 3 commits April 10, 2026 10:06
…ck schema

Three fixes in the core crate:

1. Call load_endpoint_specs() once in generate_all() and pass the result
   to all three generators instead of re-parsing TOML+proto 3 times per
   build. (#211)

2. Add Display and std::error::Error impls to EndpointError so consumers
   can log/format it without pattern matching. (#219)

3. Rename endpoint_schema.toml → tick_schema.toml to disambiguate from
   endpoint_surface.toml. Updated all code and doc references. (#220)

Fixes #211, fixes #219, fixes #220

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e-hiding (#221)

The doc, copy, and align fields in tick_schema.toml exist for
documentation and FFI layout hints but aren't consumed by the parser
generator. Replace the _rename trick with #[allow(dead_code)] and a
doc comment explaining why they exist.

Fixes #221

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tion (#223, #224)

- float64 accessors: note that Int values are widened to f64
- invoke_endpoint: explain the delegation exists as a hook point for
  auth retry, metrics, and rate limiting

Fixes #223, fixes #224

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@userFRM userFRM merged commit 5f39948 into main Apr 10, 2026
20 checks passed
@userFRM userFRM deleted the fix/build-triple-parse branch April 10, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant