Skip to content

Support the v1beta1 version of ETOS environments - #95

Merged
t-persson merged 3 commits into
eiffel-community:mainfrom
t-persson:v1beta1-execution
Sep 23, 2026
Merged

t-persson merged 3 commits into
eiffel-community:mainfrom
t-persson:v1beta1-execution

Conversation

@t-persson

Copy link
Copy Markdown
Collaborator

Applicable Issues

eiffel-community/etos#661
depends-on: eiffel-community/etos-library#68

Description of the Change

This change converts all environments (or sub suites) to the v1beta1 version of the EnvironmentSpec and updates the executor and testrunners to be able to run this version.

Alternate Designs

I started by refactoring the entirety of the ETR to stop using the ETOS library config and instead pass around variables.
The change was good, but it created a much larger change than I think we want so I put that on the back-burner and instead focused on creating a change that works with the new format.

Possible Drawbacks

One thing that I noticed, which is not really related to the ETR per-se, is that we pass a specific ETOS API version down to the ETR from the execution space providers. It is also expected that custom execution space providers know this and pass down the correct one as well. I don't have a solution yet and the solution might not be in the ETR.

Sign-off

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Tobias Persson tobias.persson@axis.com

@t-persson
t-persson marked this pull request as ready for review June 24, 2026 11:49
@t-persson
t-persson requested a review from a team as a code owner June 24, 2026 11:49
@t-persson
t-persson requested review from andmat900 and fredjn June 24, 2026 11:49
Comment thread src/etos_test_runner/etr.py
Comment thread src/etos_test_runner/etr.py
@t-persson

Copy link
Copy Markdown
Collaborator Author

Rebase. No comments fixed.

This change converts all environments (or sub suites) to the v1beta1
version of the EnvironmentSpec and updates the executor and testrunners
to be able to run this version.
@t-persson

Copy link
Copy Markdown
Collaborator Author

Rebased and ready for review again

@t-persson
t-persson requested a review from andmat900 September 21, 2026 11:45
Comment thread src/etos_test_runner/etr.py
Comment thread tests/scenarios/test_full_execution.py Outdated
Comment thread src/etos_test_runner/lib/executor.py
@t-persson
t-persson requested a review from andmat900 September 22, 2026 13:00
@t-persson
t-persson merged commit 8d31257 into eiffel-community:main Sep 23, 2026
3 checks passed
@t-persson
t-persson deleted the v1beta1-execution branch September 23, 2026 07:03
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