Add acceptance test for Cloud Controller API log emission#1920
Merged
jochenehret merged 1 commit intocloudfoundry:developfrom Apr 23, 2026
Merged
Conversation
Cloud Controller emits lifecycle log messages (e.g. "Created app with guid ...") via loggregator under the [API/*] source tag when processing an app push. This test verifies those logs appear in the app's recent log stream, providing an end-to-end check that the loggregator emitter in CCNG correctly forwards messages through the loggregator v2 gRPC client introduced in cloudfoundry/cloud_controller_ng#5043.
This was referenced Apr 22, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Are you submitting this PR against the develop branch?
yes
What is this change about?
Adds an acceptance test to verify that Cloud Controller emits [API/*] lifecycle log messages (e.g. "Created app with guid ...") via loggregator when processing an app push. The test checks that these messages appear in the app's recent log stream end-to-end.
Please provide contextual information.
cloudfoundry/cloud_controller_ng#5043
cloudfoundry/capi-release#644
cloudfoundry/cf-deployment#1327
What version of cf-deployment have you run this cf-acceptance-test change against?
there will be new version since it includes changes also in cf-deployment
Please check all that apply for this PR:
Did you update the README as appropriate for this change?
If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?
The [API/*] logs are part of the core CF app lifecycle and are relied upon by operators. This test validates that Cloud Controller correctly emits these logs end-to-end through the loggregator pipeline.
How many more (or fewer) seconds of runtime will this change introduce to CATs?
1-2 sec.
What is the level of urgency for publishing this change?
Tag your pair, your PM, and/or team!
It's helpful to tag a few other folks on your team or your team alias in case we need to follow up later.