Skip to content

Optionally commit sandboxes#20

Merged
angelhof merged 4 commits intomainfrom
selective-sandbox-committing
Mar 24, 2023
Merged

Optionally commit sandboxes#20
angelhof merged 4 commits intomainfrom
selective-sandbox-committing

Conversation

@gliargovas
Copy link
Copy Markdown
Collaborator

This WIP will solve the backward dependency rollback issue.

Comment thread test/test_orch.sh
## Check if the two exit codes are both success or both error
{ [ $test_bash_ec -eq 0 ] && [ $test_pash_ec -eq 0 ]; } || { [ $test_bash_ec -ne 0 ] && [ $test_pash_ec -ne 0 ]; }
test_ec=$?
# ## Check if the two exit codes are both success or both error
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add a TODO that we comment this out until we actually fix exit code handling in the system

Comment thread test/test_orch.sh Outdated
# run_test test4
run_test test4
cleanup
# TODO: Fails at the moment, uncomment when fixed
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does test 4 or 5 fail?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Test 5 used to fail, now it passes 😃

@gliargovas
Copy link
Copy Markdown
Collaborator Author

@angelhof ready for review, unless we want to also implement W-W dependency optimization here.

Copy link
Copy Markdown
Member

@angelhof angelhof 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, we can actually deal wtih the WW optimization here (since you are already commiting sandboxes in order I guess that we just need to not consider W - W conflict a dependency.

Copy link
Copy Markdown
Member

@angelhof angelhof left a comment

Choose a reason for hiding this comment

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

looks great! let's merge

@angelhof angelhof merged commit 98baeb7 into main Mar 24, 2023
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.

2 participants