Skip to content

Fix get set var#256

Merged
PhilippPlank merged 47 commits intolava-nc:mainfrom
PhilippPlank:fix_get_set_var
Jun 14, 2022
Merged

Fix get set var#256
PhilippPlank merged 47 commits intolava-nc:mainfrom
PhilippPlank:fix_get_set_var

Conversation

@PhilippPlank
Copy link
Copy Markdown
Contributor

@PhilippPlank PhilippPlank commented Jun 13, 2022

Issue Number: #255

Objective of pull request: Get/Set Var works as expected when running in continuous mode

Pull request checklist

Your PR fulfills the following requirements:

  • Issue created that explains the change and why it's needed
  • Tests are part of the PR (for bug fixes / features)
  • Docs reviewed and added / updated if needed (for bug fixes / features)
  • PR conforms to Coding Conventions
  • PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
  • Lint (flakeheaven lint src/lava tests/) and (bandit -r src/lava/.) pass locally
  • Build tests (pytest) passes locally

Pull request type

Please check your PR type:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation changes
  • Other (please describe):

What is the current behavior?

  • Get/Set Var fails running in continuous mode

What is the new behavior?

  • Get/Set Var gives the values of respective Vars when running in continuous mode with paused execution

Does this introduce a breaking change?

  • Yes
  • No

PhilippPlank and others added 30 commits November 12, 2021 14:53
@PhilippPlank PhilippPlank added 1-bug Something isn't working area: magma/runtime Issues with something in lava/magma/runtime labels Jun 13, 2022
@PhilippPlank PhilippPlank self-assigned this Jun 13, 2022
Copy link
Copy Markdown
Contributor

@GaboFGuerra GaboFGuerra left a comment

Choose a reason for hiding this comment

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

Looks good!

Comment thread src/lava/magma/runtime/runtime_services/runtime_service.py Outdated
Copy link
Copy Markdown
Contributor

@phstratmann phstratmann left a comment

Choose a reason for hiding this comment

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

Looks good to me, except for the minor comment by GG.

Thanks for adding a unit test for this!

Copy link
Copy Markdown
Contributor

@mathisrichter mathisrichter left a comment

Choose a reason for hiding this comment

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

Great!

Comment thread src/lava/magma/runtime/runtime_services/runtime_service.py Outdated
Comment thread src/lava/magma/runtime/runtime_services/runtime_service.py Outdated
@PhilippPlank PhilippPlank merged commit 430f8ec into lava-nc:main Jun 14, 2022
@PhilippPlank PhilippPlank deleted the fix_get_set_var branch June 14, 2022 13:58
@PhilippPlank PhilippPlank restored the fix_get_set_var branch June 14, 2022 14:03
monkin77 pushed a commit to monkin77/thesis-lava that referenced this pull request Jul 12, 2024
* Fixing get/set Var when running a process continuously + Unit test

* Cleaned up pause/stop requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1-bug Something isn't working area: magma/runtime Issues with something in lava/magma/runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants