-
Notifications
You must be signed in to change notification settings - Fork 36
Tracking PR for v0.5.0 release #412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
bobbinth
wants to merge
56
commits into
main
Choose a base branch
from
next
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
d96f4f1
chore: increment crate versions to v0.5.0
bobbinth 1f2dba2
chore: standardize formatting
bobbinth 0627987
chore: fix lints
bobbinth 4373b2a
chore: remove unused deps check
bobbinth 0b0ab79
chore: remove rust-cache from CI
bobbinth 2896bfc
chore: run stable clippy in CI
bobbinth c6af6a1
chore: set read permission for lint jobs
bobbinth 08ecd1e
refactor(bus boundaries): Add `PublicInputTable` node type to IR to h…
adr1anh 5fcf7f6
feature(ACE): Handle variable length public inputs and generate power…
adr1anh 51ff2df
chore: fix typos
bobbinth eaa2220
Fixes some bugs and clean up (#420)
Al-Kindi-0 0b79d8c
feat: Allow bus operations in libraries and evaluators (#410)
Leo-Besancon b117894
refactor: Remove the deprecated --without-mir pipeline (#424)
Leo-Besancon 2e0119a
feat: combine constraints generated by selector expressions (#413)
Leo-Besancon ad0b823
refactor: define TraceSegment enum for Main and Aux traces (#438)
Leo-Besancon d3a5b5a
feat: add default compilation pipeline (#437)
Leo-Besancon e3168a1
chore: upgrade rust-toolchain installs in CI (#443)
huitseeker 2b4d19e
chore: minor CI changes
bobbinth b238d8b
chore: increment MSRV to 1.89
bobbinth 509e860
chore: split CI workflow into build and test
bobbinth 78d0811
chore: fix build.yml extension
bobbinth 4841d74
feat: add Constant Propagation pass after MIR passes (#439)
Leo-Besancon c229fd7
feat: Add a pass for common subexpression elimination in the constrai…
Leo-Besancon 04c0ac1
refactor: split MIR unrolling pass into multiple modules (#434)
Leo-Besancon 032e637
fix: regressions on MIR and list_comprehensions (#449)
Leo-Besancon 90bc486
Update ACE README.md (#457)
adr1anh 918803d
fix: remove_integrity_constraints_root to target integrity list (#453)
radik878 22f243b
compile examples & check links in CI
huitseeker 7f2e40e
run examples used in doc through air script compilation
huitseeker 73eaeb9
fix: mdbook syntax
huitseeker 44c8b9e
add test-docs target and run in CI
huitseeker 6360b3d
chore: Changelog
huitseeker 5535023
review comments
huitseeker ca3c0dd
chore: add missing newlines
huitseeker 4ee80e8
ci: run lychee on schedule, open issue if failure
huitseeker a6d893d
Merge pull request #451 from huitseeker/doc_update
huitseeker a20aac2
Merge pull request #459 from huitseeker/fix-docbuild
huitseeker d9595cd
fix: Make docs_sync() test work on windows (#462)
Leo-Besancon b251ed2
refactor: reorder match optimizer (#440)
Leo-Besancon 14fdb13
chore: fix lints
bobbinth 8f8924c
chore: propagate code generation errors instead of panicking (#469)
sashass1315 1aab47c
chore: fix typos
bobbinth ce653df
chore: add rust-toolchain.toml + script to check MSRV (#478)
huitseeker e7f8af5
chore: remove codgen trait from mir (#479)
bobbinth 8bbdefe
test: remove boilerplate in tests with test macro (#480)
huitseeker 067b9f6
refactor: improve trace segment handling by introducing `TraceShape<T…
surajk-m 23fe0e9
refactor: remove binary operation unrolling from MIR (#460)
Leo-Besancon 9d69e2d
Allow support for computed indices (#444)
Leo-Besancon 0b61534
fix: vector unrolling issue in nested match evaluation (#491)
Leo-Besancon 047d363
Fix evaluator argument vector slice expansion (#495)
Soulthym fba3d1c
feat: Support importing hierarchical modules (#507)
Leo-Besancon 15539d6
fix: pin mdbook version to 0.4.48 (#520)
Leo-Besancon dddafdf
docs: Add comprehensive documentation for AlgebraicGraph::node_detail…
DeVikingMark 054af78
fix(mir): constant propagation folds 0^0 to 1 (#509)
Galoretka 0eb72bb
fix: Import::Partial equality to be symmetric (#517)
MozirDmitriy ab89962
fix inlining loop on cross imports (#524)
Soulthym File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: "Bug Report" | ||
| description: "File a bug report" | ||
| type: "Bug" | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thank you for taking the time to fill out this bug report! | ||
| - type: textarea | ||
| id: version | ||
| attributes: | ||
| label: "Packages versions" | ||
| description: "Let us know the versions of any other packages used. For example, which version of AirScript are you using?" | ||
| placeholder: "air-script: 0.1.0" | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: bug-description | ||
| attributes: | ||
| label: "Bug description" | ||
| description: "Describe the behavior you are experiencing." | ||
| placeholder: "Tell us what happened and what should have happened." | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: reproduce-steps | ||
| attributes: | ||
| label: "How can this be reproduced?" | ||
| description: "If possible, describe how to replicate the unexpected behavior that you see." | ||
| placeholder: "Steps!" | ||
| validations: | ||
| required: false | ||
| - type: textarea | ||
| id: logs | ||
| attributes: | ||
| label: Relevant log output | ||
| description: Please copy and paste any relevant log output. This is automatically formatted as code, no need for backticks. | ||
| render: shell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| name: "Feature request" | ||
| description: "Request new goodies" | ||
| type: "Feature" | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thank you for taking the time to fill a feature request! | ||
| - type: textarea | ||
| id: scenario-why | ||
| attributes: | ||
| label: "Feature description" | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: scenario-how | ||
| attributes: | ||
| label: "Why is this feature needed?" | ||
| validations: | ||
| required: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: "Task" | ||
| description: "Work item" | ||
| type: "Task" | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| A task should be less than a week worth of work! | ||
| - type: textarea | ||
| id: task-what | ||
| attributes: | ||
| label: "What should be done?" | ||
| placeholder: "Add support for new constraint type" | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: task-how | ||
| attributes: | ||
| label: "How should it be done?" | ||
| placeholder: "Implement the new constraint type in the parser and codegen" | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: task-done | ||
| attributes: | ||
| label: "When is this task done?" | ||
| placeholder: "The task is done when the new constraint type is fully implemented and tested" | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: task-related | ||
| attributes: | ||
| label: "Additional context" | ||
| description: "Add context to the tasks. E.g. other related tasks or relevant discussions on PRs/chats." | ||
| validations: | ||
| required: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| blank_issues_enabled: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| ## Describe your changes | ||
|
|
||
|
|
||
| ## Checklist before requesting a review | ||
| - Repo forked and branch created from `next` according to naming convention. | ||
| - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). | ||
| - Commits are [signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits). | ||
| - Relevant issues are linked in the PR description. | ||
| - Tests added for new functionality. | ||
| - Documentation/comments updated according to changes. | ||
| - Updated `CHANGELOG.md` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Runs build related jobs. | ||
|
|
||
| name: build | ||
|
|
||
| # Limits workflow concurrency to only the latest commit in the PR. | ||
| concurrency: | ||
| group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | ||
| cancel-in-progress: true | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main, next] | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| check: | ||
| name: check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@main | ||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| # Only update the cache on push onto the next branch. This strikes a nice balance between | ||
| # cache hits and cache evictions (github has a 10GB cache limit). | ||
| save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | ||
| - name: Install rust | ||
| run: rustup update --no-self-update | ||
| - name: Run check | ||
| run: make check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Runs changelog related jobs. | ||
| # CI job heavily inspired by: https://github.com/tarides/changelog-check-action | ||
|
|
||
| name: changelog | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize, labeled, unlabeled] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| changelog: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@main | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Check for changes in changelog | ||
| env: | ||
| BASE_REF: ${{ github.event.pull_request.base.ref }} | ||
| NO_CHANGELOG_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'no changelog') }} | ||
| run: ./scripts/check-changelog.sh | ||
| shell: bash |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| name: Check documentation links | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| fail-fast: | ||
| required: false | ||
| default: true | ||
| type: boolean | ||
| schedule: | ||
| # runs once a day at 01:00 UTC | ||
| - cron: "0 1 * * *" | ||
|
|
||
| permissions: | ||
| contents: read | ||
| issues: write | ||
|
|
||
| jobs: | ||
| linkChecker: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set fail-fast flag depending on trigger | ||
| id: flags | ||
| run: | | ||
| if [ "${{ github.event_name }}" = "schedule" ]; then | ||
| echo "fail_fast=false" >> $GITHUB_OUTPUT | ||
| else | ||
| echo "fail_fast=${{ inputs.fail-fast }}" >> $GITHUB_OUTPUT | ||
| fi | ||
|
|
||
| - name: Link Checker | ||
| id: lychee | ||
| uses: lycheeverse/[email protected] | ||
| with: | ||
| fail: ${{ steps.flags.outputs.fail_fast }} | ||
| args: | | ||
| --verbose | ||
| --exclude-mail | ||
| --exclude "localhost" | ||
| --exclude "127.0.0.1" | ||
| --exclude "^file://" | ||
| --exclude "github.com/0xMiden/.*" | ||
| docs/src/**/*.md | ||
| **/*.md | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Open issue on failure (only if fail-fast is false) | ||
| if: steps.lychee.outcome == 'failure' && steps.flags.outputs.fail_fast != 'true' | ||
| uses: peter-evans/create-issue-from-file@v5 | ||
| with: | ||
| title: Link Checker Report | ||
| content-filepath: ./lychee/out.md | ||
| labels: report, automated issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| # Runs linting related jobs. | ||
|
|
||
| name: lint | ||
|
|
||
| # Limits workflow concurrency to only the latest commit in the PR. | ||
| concurrency: | ||
| group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | ||
| cancel-in-progress: true | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main, next] | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| clippy: | ||
| name: clippy | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@main | ||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| # Only update the cache on push onto the next branch. This strikes a nice balance between | ||
| # cache hits and cache evictions (github has a 10GB cache limit). | ||
| save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | ||
| - name: Clippy | ||
| run: | | ||
| rustup update --no-self-update | ||
| rustup component add --toolchain stable clippy | ||
| make clippy | ||
|
|
||
| rustfmt: | ||
| name: rustfmt | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@main | ||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| # Only update the cache on push onto the next branch. This strikes a nice balance between | ||
| # cache hits and cache evictions (github has a 10GB cache limit). | ||
| save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | ||
| - name: Rustfmt | ||
| run: | | ||
| rustup update --no-self-update nightly | ||
| rustup +nightly component add rustfmt | ||
| make format-check | ||
|
|
||
| doc: | ||
| name: doc | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@main | ||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| # Only update the cache on push onto the next branch. This strikes a nice balance between | ||
| # cache hits and cache evictions (github has a 10GB cache limit). | ||
| save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | ||
| - name: Build docs | ||
| run: | | ||
| rustup update --no-self-update | ||
| make doc | ||
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.