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

Patch regression in ExternalEvent History-search #857

Merged
merged 4 commits into from
Sep 7, 2022

Conversation

davidmrdavid
Copy link
Contributor

@davidmrdavid davidmrdavid commented Aug 31, 2022

It appears a recent external contribution (#786) accidentally broke the logic we use to retrieve external-event results from the History. In particular, it changed our History filtering condition to utilize History.IsPlayed (which we do not control) instead of History.IsProcessed (which we manage ourselves in the SDK). The result is that the StartExternalEventListener commandlet may fail if a user schedules any activities beneath it.

There's some relationship between IsPlayed and IsProcessed so I'm not surprised that we didn't catch this during review. To ensure this doesn't regress again, I've added a test against this edge-case.

Issue describing the changes in this PR

related: #851

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

@davidmrdavid davidmrdavid changed the title [WIP] Patch regression in ExternalEvent History-search Patch regression in ExternalEvent History-search Sep 6, 2022
@davidmrdavid davidmrdavid marked this pull request as ready for review September 6, 2022 22:59
@davidmrdavid davidmrdavid merged commit 72ce5c8 into dev Sep 7, 2022
@davidmrdavid davidmrdavid deleted the dajusto/patch-external-events branch September 7, 2022 22:31
davidmrdavid added a commit that referenced this pull request Sep 7, 2022
* patch external events

* add test

* fix typo

* relax test requirements
davidmrdavid added a commit that referenced this pull request Sep 7, 2022
* patch external events

* add test

* fix typo

* relax test requirements
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.

2 participants