Skip to content

Restrict asserts use in scenarios.#351

Merged
andreistefanescu merged 1 commit intomainfrom
scenario-fix
Nov 18, 2025
Merged

Restrict asserts use in scenarios.#351
andreistefanescu merged 1 commit intomainfrom
scenario-fix

Conversation

@andreistefanescu
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 18, 2025 21:53
@cursor
Copy link
Copy Markdown

cursor Bot commented Nov 18, 2025

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on December 1.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds validation to restrict the use of asserts in scenario specifications, ensuring that scenarios either explicitly ignore aborts or contain no assert calls.

Key Changes:

  • Added validation logic to check scenario specs for proper abort handling and assert usage
  • Implemented error reporting when scenarios violate the new restrictions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/move-stackless-bytecode/src/function_target_pipeline.rs Outdated
Comment thread crates/move-stackless-bytecode/src/function_target_pipeline.rs Outdated
@andreistefanescu andreistefanescu merged commit ced7ebb into main Nov 18, 2025
10 checks passed
@andrii-a8c andrii-a8c deleted the scenario-fix branch December 5, 2025 21:36
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.

3 participants