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

[2/n] Bifrost provider configuration improvements pt1 #1322

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Conversation

AhmedSoliman
Copy link
Contributor

@AhmedSoliman AhmedSoliman commented Mar 26, 2024

[2/n] Bifrost provider configuration improvements pt1

  • Rename and flattening of bifrost provider kinds and configurations
  • Provider configuration is typed (no more lazy config parsing errors)
  • Dedicated error type for provider errors

Stack created with Sapling. Best reviewed with ReviewStack.

Copy link

github-actions bot commented Mar 26, 2024

Test Results

 92 files  ±0   92 suites  ±0   10m 22s ⏱️ -1s
 77 tests  - 2   73 ✅  - 4  2 💤 ±0  2 ❌ +2 
201 runs   - 4  191 ✅  - 8  6 💤 ±0  4 ❌ +4 

For more details on these failures, see this check.

Results for commit 60c457a. ± Comparison against base commit 21a407f.

This pull request removes 4 and adds 2 tests. Note that renamed tests count towards both.
dev.restate.e2e.JavaKafkaIngressTest ‑ handleEventInCounterService(URL, int, IngressClient)
dev.restate.e2e.JavaKafkaIngressTest ‑ handleEventInEventHandler(URL, int, IngressClient)
dev.restate.e2e.NodeKafkaIngressTest ‑ handleEventInCounterService(URL, int, IngressClient)
dev.restate.e2e.NodeKafkaIngressTest ‑ handleEventInEventHandler(URL, int, IngressClient)
dev.restate.e2e.JavaKafkaIngressTest ‑ initializationError
dev.restate.e2e.NodeKafkaIngressTest ‑ initializationError

♻️ This comment has been updated with latest results.

- Use file_exact because file searches parent directories automatically for the config, definitely not the behaviour we want.
- If config file was not found, it silently ignored the supplied --config-file argument, this was fixed
- Support loading toml files
- Makes it clear in logs when we are starting with the built-in default config.
- Rename and flattening of bifrost provider kinds and configurations
- Provider configuration is typed (no more lazy config parsing errors)
- Dedicated error type for provider errors
@AhmedSoliman AhmedSoliman changed the title Bifrost provider configuration improvements pt1 [2/n] Bifrost provider configuration improvements pt1 Mar 27, 2024
Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

LGTM. +1 for merging :-)

@AhmedSoliman AhmedSoliman merged commit 60c457a into main Mar 27, 2024
8 of 11 checks passed
@AhmedSoliman AhmedSoliman deleted the pr1322 branch March 27, 2024 15:15
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