Skip to content

refactor: decoupling ci workflows#1706

Closed
idan-starkware wants to merge 2 commits intomainfrom
idan/main/breaking-ci-to-workflows
Closed

refactor: decoupling ci workflows#1706
idan-starkware wants to merge 2 commits intomainfrom
idan/main/breaking-ci-to-workflows

Conversation

@idan-starkware
Copy link
Copy Markdown
Contributor

@idan-starkware idan-starkware commented Mar 22, 2026

This change is Reviewable

Copy link
Copy Markdown
Contributor Author

idan-starkware commented Mar 22, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@idan-starkware idan-starkware force-pushed the idan/main/breaking-ci-to-workflows branch from 4a9f8db to 8ea00d2 Compare March 24, 2026 07:18
@idan-starkware idan-starkware force-pushed the idan/main/namespace-cache branch from d18383e to ad8693f Compare March 26, 2026 11:00
@idan-starkware idan-starkware force-pushed the idan/main/breaking-ci-to-workflows branch 2 times, most recently from 7de8098 to b9d684c Compare March 26, 2026 11:10
@idan-starkware idan-starkware changed the title refactor: breaking ci to separate workflows refactor: decoupling ci workflows Mar 26, 2026
@idan-starkware idan-starkware changed the base branch from idan/main/namespace-cache to graphite-base/1706 March 26, 2026 11:41
@idan-starkware idan-starkware force-pushed the idan/main/breaking-ci-to-workflows branch from e8a10a9 to ab58d30 Compare March 26, 2026 11:52
@idan-starkware idan-starkware changed the base branch from graphite-base/1706 to main March 26, 2026 11:52
@idan-starkware idan-starkware marked this pull request as ready for review March 26, 2026 11:52
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

types:
- opened
- reopened
- edited
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

PR edited type cancels in-progress heavy CI runs

Medium Severity

Adding edited to pull_request.types across all workflows, combined with cancel-in-progress: true, means editing a PR title or description will cancel and restart all currently running CI jobs for that PR. The old workflow defaulted to opened, synchronize, reopened (no edited). For long-running test jobs on xlarge runners like cairo-prover-tests and scarb-test, a simple typo fix in the PR description could cancel nearly-complete test runs, wasting significant CI resources and developer time.

Additional Locations (1)
Fix in Cursor Fix in Web

- run: scarb test --features=${{ matrix.feature }} --package ${{ matrix.package }}
- if: matrix.package == 'stwo_cairo_verifier'
run: scarb --profile proving execute --package stwo_cairo_verifier --features ${{ matrix.feature }} --print-resource-usage --output none --arguments-file ${{ matrix.proof_file }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Inconsistent Scarb setup action usage in scarb-test.yaml

Low Severity

The scarb-test job uses software-mansion/setup-scarb@v1 directly with a hardcoded version "2.15.0", while all other workflows (cairo-prover-tests, code-quality, nightly) use the new setup-repo-scarb composite action that centralizes the default version. This duplicates the version string and means a future version bump needs to be applied in two places — the wrapper action and this file — risking drift.

Fix in Cursor Fix in Web

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.

1 participant