Skip to content

chore: Remove Dafny warnings #1742

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Mar 24, 2025
Merged

chore: Remove Dafny warnings #1742

merged 5 commits into from
Mar 24, 2025

Conversation

seebees
Copy link
Contributor

@seebees seebees commented Mar 20, 2025

Remove all Dafny warnings and set warnings to error. By removing all the errors,
--allow-warnings can be removed from verification. This means that any verification warning will now fail the build. This is especially relevant if {:only} is ever committed. See aws/aws-cryptographic-material-providers-library#517. This would now cause CI verification to fail.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Remove all Dafny warnings and set warnings to error.
By removing all the errors,
--allow-warnings can be removed from verification.
This means that any verification warning will now fail the build.
This is especially relevant if {:only} is ever committed.
See aws/aws-cryptographic-material-providers-library#517.
This would now cause CI verification to fail.
@seebees seebees requested a review from a team as a code owner March 20, 2025 20:32
@seebees seebees merged commit 4a9d617 into main Mar 24, 2025
40 checks passed
@seebees seebees deleted the seebees/fail-on-warning branch March 24, 2025 18:04
josecorella pushed a commit that referenced this pull request Apr 1, 2025
## [3.8.1](v3.8.0...v3.8.1) (2025-04-01)

### Fixes

* return plaintext items in UnprocessedItems in BatchWriteIttem ([#1642](#1642)) ([7c7c8a1](7c7c8a1))

### Maintenance

* add Rust generated test vectors ([#1638](#1638)) ([a285eac](a285eac))
* bump mpl and smithy-dafny ([#1762](#1762)) ([8179af4](8179af4))
* **dafny:** let FileIO deal in uint8 rather than bv8 ([#1746](#1746)) ([428a013](428a013))
* **deps:** bump actions/setup-java from 3 to 4 in /.github/workflows ([#1367](#1367)) ([f04bc40](f04bc40))
* **deps:** bump actions/setup-java from 3 to 4 in /.github/workflows ([#1654](#1654)) ([ddb69e1](ddb69e1))
* **deps:** bump org.junit.jupiter:junit-jupiter-api ([#1656](#1656)) ([d988c6e](d988c6e))
* **deps:** bump org.junit.jupiter:junit-jupiter-engine ([#1650](#1650)) ([4f18689](4f18689))
* **deps:** bump software.amazon.awssdk:bom ([#1643](#1643)) ([4c41746](4c41746))
* **deps:** bump software.amazon.awssdk:bom ([#1644](#1644)) ([84e2c56](84e2c56))
* **deps:** bump software.amazon.awssdk:core ([#1645](#1645)) ([dec98d6](dec98d6))
* **GHA:** Run Java CI testing for MPL Latest Release ([#1605](#1605)) ([2eb36b3](2eb36b3))
* **java:** allow local testing v3.8.0 ([#1628](#1628)) ([119a42b](119a42b))
* **java:** update versions of lombok and aws-sdk-ddb ([#1646](#1646)) ([099014e](099014e))
* re-enable Dafny for MacOS ([#1738](#1738)) ([6f729c3](6f729c3))
* Remove Dafny warnings ([#1742](#1742)) ([4a9d617](4a9d617))
* **rust:** enable wrapped client test vectors ([#1648](#1648)) ([20fee58](20fee58))
josecorella pushed a commit that referenced this pull request Apr 1, 2025
* return plaintext items in UnprocessedItems in BatchWriteIttem ([#1642](#1642)) ([7c7c8a1](7c7c8a1))

* add Rust generated test vectors ([#1638](#1638)) ([a285eac](a285eac))
* bump mpl and smithy-dafny ([#1762](#1762)) ([8179af4](8179af4))
* **dafny:** let FileIO deal in uint8 rather than bv8 ([#1746](#1746)) ([428a013](428a013))
* **deps:** bump actions/setup-java from 3 to 4 in /.github/workflows ([#1367](#1367)) ([f04bc40](f04bc40))
* **deps:** bump actions/setup-java from 3 to 4 in /.github/workflows ([#1654](#1654)) ([ddb69e1](ddb69e1))
* **deps:** bump org.junit.jupiter:junit-jupiter-api ([#1656](#1656)) ([d988c6e](d988c6e))
* **deps:** bump org.junit.jupiter:junit-jupiter-engine ([#1650](#1650)) ([4f18689](4f18689))
* **deps:** bump software.amazon.awssdk:bom ([#1643](#1643)) ([4c41746](4c41746))
* **deps:** bump software.amazon.awssdk:bom ([#1644](#1644)) ([84e2c56](84e2c56))
* **deps:** bump software.amazon.awssdk:core ([#1645](#1645)) ([dec98d6](dec98d6))
* **GHA:** Run Java CI testing for MPL Latest Release ([#1605](#1605)) ([2eb36b3](2eb36b3))
* **java:** allow local testing v3.8.0 ([#1628](#1628)) ([119a42b](119a42b))
* **java:** update versions of lombok and aws-sdk-ddb ([#1646](#1646)) ([099014e](099014e))
* re-enable Dafny for MacOS ([#1738](#1738)) ([6f729c3](6f729c3))
* Remove Dafny warnings ([#1742](#1742)) ([4a9d617](4a9d617))
* **rust:** enable wrapped client test vectors ([#1648](#1648)) ([20fee58](20fee58))
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants