Skip to content

Conversation

@bolekk
Copy link
Contributor

@bolekk bolekk commented Jul 2, 2025

No description provided.

@bolekk bolekk requested review from a team as code owners July 2, 2025 20:53
@bolekk bolekk requested a review from george-dorin July 2, 2025 20:53
@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2025

👋 @bolekk, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

nolag
nolag previously approved these changes Jul 2, 2025
@bolekk bolekk force-pushed the chore/CRE-533-fake-consensus-update branch from c964643 to 5c7eca2 Compare July 2, 2025 21:11
@bolekk bolekk requested a review from akhilchainani July 2, 2025 21:11
MStreet3
MStreet3 previously approved these changes Jul 2, 2025
@bolekk bolekk force-pushed the chore/CRE-533-fake-consensus-update branch from 5c7eca2 to de3f123 Compare July 2, 2025 21:46
@cl-sonarqube-production
Copy link

@bolekk bolekk requested a review from justinkaseman July 2, 2025 22:17
}
caps = append(caps, streamsTrigger)

httpAction := fakes.NewDirectHTTPAction(lggr)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@justinkaseman , @akhilchainani please confirm that it's OK to get those back. I'm not sure why you removed them in an earlier PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah add them back, idk how they got removed. Probably by accident, sorry about that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks!

var _ commonCap.ExecutableCapability = (*DirectHTTPAction)(nil)

const HTTPActionID = "http-action@1.0.0"
const HTTPActionID = "http-actions@0.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this the new id used in the sdk?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems like. That's what a freshly-built workflow asks for...

}
caps = append(caps, streamsTrigger)

httpAction := fakes.NewDirectHTTPAction(lggr)
Copy link
Contributor

Choose a reason for hiding this comment

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

yeah add them back, idk how they got removed. Probably by accident, sorry about that

return response, nil
}

func (fh *DirectHTTPAction) Start(ctx context.Context) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

How do we start caps now without this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was actually a bug - overriding Start() and Close() from the underlying Service object. @justinkaseman 's test was failing. Start() and Close() are still there and if we want to customize they need to be named differently (e.g. lowercase)

@bolekk bolekk enabled auto-merge July 2, 2025 23:02
@bolekk bolekk added this pull request to the merge queue Jul 2, 2025
Merged via the queue into develop with commit b460524 Jul 3, 2025
169 of 170 checks passed
@bolekk bolekk deleted the chore/CRE-533-fake-consensus-update branch July 3, 2025 00:12
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.

5 participants