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

CLOUDP-280012: internal/dryrun/transport: simplify #2085

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

s-urbaniak
Copy link
Collaborator

@s-urbaniak s-urbaniak commented Feb 3, 2025

Good news: we can nicely simplify the dry run transport, there is no need to dependency inject the event recorder to it. As a consequence, we also don't need to bubble down the runtime object any more which is needed for recording events.

It turned out this is all doable in the dry-run manager itself.

Note this has to be merged after the 2.7 release only.

All Submissions:

  • Have you signed our CLA?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
  • Update docs/release-notes/release-notes-template.md if your changes should be included in the release notes for the next release.

@s-urbaniak s-urbaniak added the hold Do not merge for now label Feb 3, 2025
@s-urbaniak s-urbaniak force-pushed the CLOUDP-280012-simplify-transport branch from bd19862 to e7af14f Compare February 3, 2025 12:48
Copy link
Collaborator

@igor-karpukhin igor-karpukhin left a comment

Choose a reason for hiding this comment

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

LGTM 👍

internal/dryrun/transport.go Show resolved Hide resolved
Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

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

LGTM

(given we will simplify the dry-run error constructor in a follow-up)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold Do not merge for now
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants