Skip to content

ci: distribute WASM binary to all language packages on release#111

Merged
aepfli merged 3 commits intomainfrom
ci/wasm-packaging
Feb 22, 2026
Merged

ci: distribute WASM binary to all language packages on release#111
aepfli merged 3 commits intomainfrom
ci/wasm-packaging

Conversation

@aepfli
Copy link
Copy Markdown
Contributor

@aepfli aepfli commented Feb 21, 2026

Summary

  • Extends release workflow to copy WASM binary to all language package directories (go, dotnet, js, python) instead of just go/
  • Removes Rust toolchain from build-java job — uses the committed WASM binary instead of building its own, eliminating divergence risk
  • Extends WASM staleness check to verify language directory copies match the root binary

Closes #83

Test plan

  • Verify release workflow YAML is valid and paths are correct
  • Confirm build-java works with -Dexec.skip=true and pre-placed WASM
  • Check staleness workflow detects mismatched copies
  • Local dev workflow unaffected (each language's Makefile still works independently)

🤖 Generated with Claude Code

aepfli and others added 3 commits February 21, 2026 13:46
- Release workflow copies WASM to go/, dotnet/, js/, python/ dirs
- Java build uses committed WASM instead of building its own
- Staleness check verifies language dir copies match root binary

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… paths

- Take owned Value instead of &Value in all evaluate methods, avoiding
  deep clone of context on every evaluation (biggest win for large contexts)
- Merge evaluate_flag_internal + evaluate_flag_internal_pre_enriched into
  single evaluate_flag_core method (-151 lines of duplicated code)
- Merge evaluate_with_type_check + evaluate_with_type_check_pre_enriched
- Add merge_metadata_flag_set_only to avoid HashMap::new() allocation
  on flag-not-found path
- enrich_context now destructures owned Value instead of cloning

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aepfli aepfli merged commit cb7d304 into main Feb 22, 2026
18 checks passed
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.

refactor(go): determine WASM binary embedding strategy for Go package

1 participant