Skip to content

feat(ci): trigger rustfava WASM update on release - #314

Merged
robcohen merged 2 commits into
mainfrom
feature/trigger-rustfava-update
Feb 8, 2026
Merged

robcohen merged 2 commits into
mainfrom
feature/trigger-rustfava-update

Conversation

@robcohen

@robcohen robcohen commented Feb 8, 2026

Copy link
Copy Markdown
Member

Summary

When a new rustledger version is released, dispatch an event to rustfava to update its WASM version automatically.

Problem

The rustfava WASM version was hardcoded and required manual updates. This led to rustfava lagging behind rustledger releases (e.g., v0.7.0 vs v0.8.5).

Solution

Add a new job update-rustfava to the release-publish workflow that:

  1. Generates a GitHub App token with access to rustfava
  2. Dispatches a rustledger-release event to rustfava with the new version

Rustfava will have a corresponding workflow that:

  1. Listens for rustledger-release events
  2. Updates RUSTLEDGER_VERSION in engine.py
  3. Creates a PR with the update

Related

🤖 Generated with Claude Code

When a new rustledger version is released, dispatch an event to
rustfava to update its WASM version automatically.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@robcohen
robcohen requested a review from a team as a code owner February 8, 2026 03:18
Copilot AI review requested due to automatic review settings February 8, 2026 03:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an automated cross-repo notification so that when rustledger publishes a release, rustfava can automatically update its pinned WASM/Rustledger version.

Changes:

  • Adds a new update-rustfava job to the release publishing workflow
  • Generates a GitHub App token scoped to rustledger/rustfava
  • Dispatches a repository_dispatch event (rustledger-release) with the new version payload

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release-publish.yml Resolved
Comment thread .github/workflows/release-publish.yml Resolved
@codecov

codecov Bot commented Feb 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Feb 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 99%
Total Files 762
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

@mergify

mergify Bot commented Feb 8, 2026 •

Copy link
Copy Markdown
Contributor

🧪 CI Insights

Here's what we observed from your CI run for c105b5b.

🟢 All jobs passed!

But CI Insights is watching 👀

- Add needs: [publish-npm-wasm] to ensure rustfava update only runs
  after the WASM package is published
- Pin create-github-app-token to SHA for supply-chain hardening

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@robcohen
robcohen added this pull request to the merge queue Feb 8, 2026
Merged via the queue into main with commit 7a0e1be Feb 8, 2026
26 checks passed
@robcohen
robcohen deleted the feature/trigger-rustfava-update branch February 8, 2026 04:06
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.

2 participants