Skip to content
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

Merge new requirements context with existing when running from REPL #965

Merged
merged 3 commits into from Jan 5, 2023

Conversation

byorgey
Copy link
Member

@byorgey byorgey commented Jan 5, 2023

Fixes #964. Unfortunately I don't know of any way to make a test for this. Part of the reason we went so long without noticing is that it only specifically affected the code path for running terms from the REPL, and tests can never run that code.

Fixes #964.  Unfortunately I don't know of any way to make a test for
this.  Part of the reason we went so long without noticing is that it
only specifically affected the code path for running terms from the
REPL, and tests can never run that code.
@byorgey byorgey requested a review from xsebek January 5, 2023 19:57
src/Swarm/TUI/Controller.hs Show resolved Hide resolved
@xsebek
Copy link
Member

xsebek commented Jan 5, 2023

@byorgey could you also change the line in integration tests?

Right now it works, but if we ever touch requirements while loading scenarios (e.g. adding starting definitions) then they will be silently overwritten.

@byorgey byorgey added the merge me Trigger the merge process of the Pull request. label Jan 5, 2023
@mergify mergify bot merged commit 3f5b7ff into main Jan 5, 2023
@mergify mergify bot deleted the fix/issue-964 branch January 5, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build doesn't install devices required by definitions
2 participants