Improve Workflows

Open
#2,541 1 comment 2 reactions 1 assignee View on GitHub

@Madoshakalaka is already working on this.

Since Apr 5, 2026.

Assessment

This issue has not been assessed yet.

Description

A-ci A-tools meta

This issue aims to improve GitHub Action Workflows.

Testing Workflow

Currently, some tests are not executed in the Workflow & cargo make pr-flow (and they are actually broken / does not work if you try to run them).

Related: #2403.

test dom_bundle::btag::tests_without_browser::html_if_bool ... FAILED
test dom_bundle::btag::tests_without_browser::html_if_option ... FAILED
  • Properly gate all wasm and non-wasm tests so that cargo test can work & update workflow so that cargo test is run as well.
  • Unify how tests are run on both local and CI (by adapting cargo-make?), or remove local-based flow (as pointed out here).
Website and API docs Workflow

If the Website and API docs workflow both meets the condition to be run on a pull request, the latter one will override the comment of the one completed first.

image
  • Give the action a way to differentiate comments of each other (maybe a title?)
Benchmark Workflow

Currently, benchmark result in a comment posted on every commit while a pull request is open and a comment on every merge commit.

  1. Only run if the pull request modifies the actual code (packages/* or tools/*)
  2. Edit existing comments if one is present
  3. Omit the comment on master branch after merging
Size Comparison Workflow
  1. Make the comment collapsable
  2. Show build system information (version of rust, wasm-bindgen, etc.) and commit ref
  3. Show difference in percentage as well
  4. Show a summary and warns if any example has received a substantial increase.
Dominant language
Rust
Stars
32.8k
Forks
1.5k
Avg merge
5h 34m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yewstack/yew

All issues in yewstack/yew

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.