Skip to content

Conversation

@nicklasl
Copy link
Member

@nicklasl nicklasl commented Nov 4, 2025

When adding e2e tests I found a bug where we sidecarFlagsAdminFetcher.accountId was null initially which caused a crash when setting this on a proto object.
https://github.com/spotify/confidence-resolver-rust/actions/runs/19079535249/job/54504080290?pr=104#step:5:981

Fixing this by running a .reload() before trying to create the initial Resolver.

Also adds tests.

cache-from: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main
secrets: |
"js_e2e_test_env=${{ secrets.JS_E2E_TEST_ENV }}"
"java_e2e_test_env=${{ secrets.JS_E2E_TEST_ENV }}"
Copy link
Member Author

Choose a reason for hiding this comment

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

reusing the js e2e test env file due to laziness.

@nicklasl nicklasl changed the title test(java): add e2e tests - currently failing due to bug fix(java): reload state before creating the initial Resolver Nov 4, 2025
Copy link
Member

@fabriziodemaria fabriziodemaria left a comment

Choose a reason for hiding this comment

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

Nice ⭐️

@nicklasl nicklasl merged commit 93581bd into main Nov 5, 2025
11 checks passed
@nicklasl nicklasl deleted the java/e2e-tests branch November 5, 2025 07:45
@github-actions github-actions bot mentioned this pull request Nov 5, 2025
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.

3 participants