Skip to content

chore: Add test for alloy runtime to check that we start and stop components#5679

Merged
kalleep merged 1 commit into
mainfrom
kalleep/add-runtime-test
Mar 3, 2026
Merged

chore: Add test for alloy runtime to check that we start and stop components#5679
kalleep merged 1 commit into
mainfrom
kalleep/add-runtime-test

Conversation

@kalleep
Copy link
Copy Markdown
Contributor

@kalleep kalleep commented Feb 27, 2026

Add test that verifies different component statues for alloy runtime, this is to increase confidence with upcoming scheduling changes #5613 (comment)

@kalleep kalleep requested a review from a team as a code owner February 27, 2026 12:24
Comment thread internal/runtime/alloy.go
Comment on lines -304 to -306
for _, fe := range forEachs {
runnables = append(runnables, fe)
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is not needed we already add all foreach nodes to components

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

By this you mean, the foreach nodes are included in f.loader.Components()?

Copy link
Copy Markdown
Contributor

@kgeckhart kgeckhart left a comment

Choose a reason for hiding this comment

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

Thank you!

@kalleep kalleep merged commit 67f845e into main Mar 3, 2026
46 checks passed
@kalleep kalleep deleted the kalleep/add-runtime-test branch March 3, 2026 11:26
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants