-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into chore-fix-documentation-arrow-types
- Loading branch information
Showing
6,261 changed files
with
259,677 additions
and
136,659 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,13 +1,10 @@ | ||
Fixes # | ||
<!-- Please remove these Markdown comments before publishing this PR, since the PR message is often used as the commit description. | ||
We only allow squash merging and GH suggests the PR details as a default commit message. --> | ||
|
||
### What was changed? | ||
<!-- Is this a user-visible change? Remember to update RELEASE_NOTES.md --> | ||
|
||
<!-- Is this a bug fix? Remember to include a test in Test/git-issues/ --> | ||
|
||
<!-- Is this a bug fix for an issue introduced in the latest release? Mention this in the PR details and ensure a patch release is considered --> | ||
|
||
<!-- Does this PR need tests? Add them to `Test/` or to `Source/*.Test/…` and run them with `dotnet test` --> | ||
|
||
<!-- Are you moving a large amount of code? Read CONTRIBUTING.md to learn how to do that while maintaining git history --> | ||
### How has this been tested? | ||
<!-- Tests can be added to `Source/IntegrationTests/TestFiles/LitTests/LitTest/` or to `Source/*.Test/…` and run with `dotnet test` --> | ||
|
||
<small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small> |
This file contains 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 |
---|---|---|
@@ -1,28 +1,26 @@ | ||
name: Check Deep Tests (Reusable Workflow) | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
inputs: | ||
sha: | ||
type: string | ||
branch: | ||
type: string | ||
|
||
jobs: | ||
check-deep-tests: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Dafny | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: dafny | ||
submodules: recursive | ||
- uses: actions/github-script@v6 | ||
- uses: actions/github-script@v7 | ||
if: github.repository_owner == 'dafny-lang' | ||
with: | ||
# Since nightly-build.yml always targets fixed branches now, rather than being parameterized by | ||
# branch, we can't effectively check "for a specific branch". | ||
# That means we have to be less precise for now and block all branches if any branch fails the deep nightly tests. | ||
script: | | ||
const script = require('${{ github.workspace }}/dafny/.github/workflows/check-for-workflow-run.js') | ||
console.log(script({github, context, core, | ||
workflow_id: 'deep-tests.yml', | ||
...('${{ inputs.sha }}' ? {sha: '${{ inputs.sha }}'} : {}), | ||
...('${{ inputs.branch }}' ? {branch: '${{ inputs.branch }}'} : {})})) | ||
workflow_id: 'nightly-build.yml', | ||
branch: 'master'})) |
This file contains 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 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,29 @@ | ||
# This workflow is triggered on PR being closed. | ||
# It dispatches workflow on CompFuzzCI repository, where the bugs found in the PR head is discarded from the database. | ||
|
||
name: Updating CompFuzzCI on PR Closed | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
types: [closed] | ||
|
||
jobs: | ||
UpdatePRClosed: | ||
if: github.event.pull_request.base.ref == 'master' && github.event.pull_request.head.repo.owner.login == 'dafny-lang' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger CompFuzzCI | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.COMPFUZZCI_PAT }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: 'CompFuzzCI', | ||
repo: 'DafnyCompilerFuzzer', | ||
workflow_id: 'update_pr_close.yaml', | ||
ref: 'main', | ||
inputs: { | ||
pr_head_ref: '${{github.event.pull_request.head.ref}}' | ||
} | ||
}) |
This file contains 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,37 @@ | ||
# This workflow is triggered on PR being opened, synced, reopened, closed. | ||
# It dispatches workflow on CompFuzzCI repository, where fuzzing of the PR is handled. | ||
# For problems or suggestions, contact [email protected] | ||
|
||
name: Fuzzing on PR | ||
on: | ||
pull_request_target: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
FuzzOnPR: | ||
if: github.event.pull_request.base.ref == 'master' && | ||
(github.event.pull_request.author_association == 'COLLABORATOR' || | ||
github.event.pull_request.author_association == 'MEMBER' || | ||
github.event.pull_request.author_association == 'OWNER') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger CompFuzzCI | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.COMPFUZZCI_PAT }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: 'CompFuzzCI', | ||
repo: 'DafnyCompilerFuzzer', | ||
workflow_id: 'fuzz.yaml', | ||
ref: 'main', | ||
inputs: { | ||
pr: '${{github.event.pull_request.number}}', | ||
author: '${{github.event.pull_request.user.login}}', | ||
branch: '${{github.event.pull_request.head.ref}}', | ||
head_sha: '${{github.event.pull_request.head.sha}}', | ||
duration: '3600', | ||
instance: '2' | ||
} | ||
}) |
This file contains 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,51 @@ | ||
# This workflow is triggered on issue being opened, closed, reopened. | ||
# The CompFuzzCI fuzzer needs to keep track of active issues in the repository to ensure that the fuzzer does not report the same issue multiple times. | ||
# For open and reopen events: It dispatches workflow on CompFuzzCI repository, where the issue is added to the database. | ||
# For close event: It dispatches workflow on CompFuzzCI repository, where the issue is removed from the database. | ||
|
||
name: Issue Update for Fuzzer | ||
on: | ||
issues: | ||
branches: | ||
- master | ||
types: [opened, closed, reopened] | ||
|
||
jobs: | ||
UpdateIssueOpened: | ||
if: github.event.action == 'opened' || github.event.action == 'reopened' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger CompFuzzCI | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.COMPFUZZCI_PAT }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: 'CompFuzzCI', | ||
repo: 'DafnyCompilerFuzzer', | ||
workflow_id: 'update_issue_open.yaml', | ||
ref: 'main', | ||
inputs: { | ||
issue_number: '${{github.event.issue.number}}', | ||
issuer: '${{github.event.issue.user.login}}', | ||
commit: '${{ github.sha }}' | ||
} | ||
}) | ||
UpdateIssueClosed: | ||
if: github.event.action == 'closed' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger CompFuzzCI | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.COMPFUZZCI_PAT }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: 'CompFuzzCI', | ||
repo: 'DafnyCompilerFuzzer', | ||
workflow_id: 'update_issue_close.yaml', | ||
ref: 'main', | ||
inputs: { | ||
issue_number: '${{github.event.issue.number}}' | ||
} | ||
}) |
This file contains 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,23 @@ | ||
|
||
# Scheduled daily build | ||
# | ||
# The purpose of this build is to run tests that may have non-deterministic failures | ||
# many times over, in the hopes of more aggressively revealing | ||
# flaky tests that occasionally slow down unrelated development. | ||
|
||
name: Daily soak test workflow | ||
|
||
on: | ||
schedule: | ||
# Chosen to be hopefully outside of business hours for most contributors' | ||
# time zones, and not on the hour to avoid heavy scheduled-job times: | ||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule | ||
- cron: "30 3 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
daily-soak-build-for-master: | ||
if: github.repository_owner == 'dafny-lang' || github.event_name == 'workflow_dispatch' | ||
uses: ./.github/workflows/xunit-tests-reusable.yml | ||
with: | ||
soak_test: true |
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.