Skip to content

Stream async job warnings as they arrive for delete commands - #3860

Open
johha wants to merge 1 commit into
cloudfoundry:v8from
sap-contributions:v8-stream-job-warnings
Open

Stream async job warnings as they arrive for delete commands#3860
johha wants to merge 1 commit into
cloudfoundry:v8from
sap-contributions:v8-stream-job-warnings

Conversation

@johha

@johha johha commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

Backport of #3859 to v8.

Streams async job warnings for delete, delete-org, and delete-space as they arrive (PollJobToEventStreamWaitForResult) instead of dumping them all at the end, and dedupes each distinct warning to at most once per operation.

See #3859 for the full rationale, before/after output, and design notes.

How this was done

Clean cherry-pick onto v8; the only conflicts were v9v8 import paths.


🤖 Created with Claude + Opus.

Migrate delete, delete-org, and delete-space from aggregated PollJob to
a streaming job poll (PollJobToEventStream -> WaitForResult), so warnings
print live instead of dumped at the end. Dedupe distinct warnings to at
most once per operation.
@johha
johha force-pushed the v8-stream-job-warnings branch from bf65bd2 to 9a674c8 Compare September 3, 2026 11:34
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.

1 participant