Skip to content

Fix a problem where etos v1alpha would not find the esr ip#125

Merged
t-persson merged 1 commit intoeiffel-community:mainfrom
t-persson:fix-sse-in-v1alpha
Nov 20, 2025
Merged

Fix a problem where etos v1alpha would not find the esr ip#125
t-persson merged 1 commit intoeiffel-community:mainfrom
t-persson:fix-sse-in-v1alpha

Conversation

@t-persson
Copy link
Collaborator

Applicable Issues

Description of the Change

The SSE server would try to fetch all jobs in Kubernetes and match them against the etos.eiffel-community.github.io/id label and assume that the first job it finds is the suite runner, however in v1alpha the controller will set the same label on the environment provider jobs causing the SSE server to not find the correct IP. This fix adds a more expansive check which allows us to test for multiple labels, so that we only ever find suite runners.

Alternate Designs

Possible Drawbacks

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

The SSE server would try to fetch all jobs in Kubernetes and match them
against the etos.eiffel-community.github.io/id label and assume that the
first job it finds is the suite runner, however in v1alpha the
controller will set the same label on the environment provider jobs
causing the SSE server to not find the correct IP.
This fix adds a more expansive check which allows us to test for
multiple labels, so that we only ever find suite runners.
@t-persson t-persson requested a review from a team as a code owner November 19, 2025 18:17
@t-persson t-persson requested review from andmat900 and fredjn and removed request for a team November 19, 2025 18:17
@t-persson t-persson merged commit 1a5937d into eiffel-community:main Nov 20, 2025
5 checks passed
@t-persson t-persson deleted the fix-sse-in-v1alpha branch November 20, 2025 09:08
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