Fix stopResourceWithError overloads to use getEventTime(attributes)#3155
Conversation
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
This comment has been minimized.
This comment has been minimized.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3155 +/- ##
===========================================
+ Coverage 70.89% 70.97% +0.08%
===========================================
Files 912 912
Lines 33542 33548 +6
Branches 5640 5640
===========================================
+ Hits 23779 23809 +30
+ Misses 8183 8172 -11
+ Partials 1580 1567 -13
🚀 New features to boost your workflow:
|
|
minor note: we maybe can think about added assertions to the existing tests for the custom time |
aa18605
aa18605 to
2616b0d
Compare
@0xnm Nice suggestion! I've added some asserts to existing tests. 🙂 |
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
[email protected] unqueued this merge request |
|
/merge -c |
|
View all feedbacks in Devflow UI.
|
What does this PR do?
This PR fixes what was mentioned in this comment #3154 (comment).
For all overloads of the method
stopResourceWithErrorwe need to extract the eventTime from the attributes when possible so we should call the methodgetEventTime(attributes)similar to what is done in other events.Review checklist (to be filled by reviewers)