-
Notifications
You must be signed in to change notification settings - Fork 122
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
feat: implement callbacks from vertices when serving is used as source #2311
Merged
Merged
Changes from 2 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
b5e3e85
Tested callbacks with monovertex
BulkBeing 94ad530
Callbacks are working with pipeline
BulkBeing b8dbb6d
Retries when callback fails
BulkBeing d86e41d
Unit test for callbacks
BulkBeing b65f928
Formatting
BulkBeing d68abf9
Unit tests callback failures
BulkBeing 011a649
Callback after resolving PAFs
BulkBeing 4e04250
Merge changes from main
BulkBeing dd948d1
Merge branch 'main' into serving-callbacks
BulkBeing abf5b89
Avoid Bytes to String conversion in tracker
BulkBeing a1b52dc
Move callback handler to tracker
BulkBeing 30e8a11
Use let-else pattern
BulkBeing d6b40e7
Make callback from tracker
BulkBeing 45dfcd3
Single update method for Tracker handle
BulkBeing e6467a2
Refactoring
BulkBeing 5e7fc1e
Debugging test failure
BulkBeing 22a2a8a
Debugging test failure - increase timeout
BulkBeing 53fb296
Debugging test failure - print kubectl logs
BulkBeing d542634
Merge branch main into current branch
BulkBeing ee1374f
Debugging test failure - mark test failure step in Makefile as success
BulkBeing 141cd00
Debugging test failure - List pods from numaflow-system namespace
BulkBeing 0400edd
Debugging test failure - print daemon pod logs
BulkBeing 75382e8
Debugging test failure - Disable successful tests
BulkBeing 9902d8b
Debugging test failure - tail -f logs
BulkBeing fe373be
Debugging test failure - print previous termination state
BulkBeing 99b1cf5
Debugging test failure - Avoid pod deletion on test failure
BulkBeing 772c4ea
Debugging test failure - tail logs with Go code
BulkBeing ac571e6
Debugging test failure - Increase liveness periods
BulkBeing 9a1b7ca
Debugging test failure - Sleep if error occurs
BulkBeing ea5d6ab
Debugging test failure - Run docker image directly
BulkBeing 00b9ae9
Revert changes made for debugging
BulkBeing bd99be6
Unit test for callback retry
BulkBeing 8ba4992
Unit test for tracker with callback handler
BulkBeing 5524bba
chore: code review
vigith 8ccb4f1
chore: cargo fmt
vigith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -600,6 +600,9 @@ pub(crate) async fn start_metrics_https_server( | |
addr: SocketAddr, | ||
metrics_state: UserDefinedContainerState, | ||
) -> crate::Result<()> { | ||
// Setup the CryptoProvider (controls core cryptography used by rustls) for the process | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need this? |
||
let _ = rustls::crypto::aws_lc_rs::default_provider().install_default(); | ||
|
||
// Generate a self-signed certificate | ||
let CertifiedKey { cert, key_pair } = generate_simple_self_signed(vec!["localhost".into()]) | ||
.map_err(|e| Error::Metrics(format!("Generating self-signed certificate: {}", e)))?; | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove