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

Fetch latest configuration on identity bootup #610

Merged
merged 3 commits into from
Apr 22, 2021

Conversation

nporter-adbe
Copy link
Contributor

Description

Fixes: #608

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Apr 19, 2021

Codecov Report

Merging #610 (179836b) into dev-v3.1.2 (5a830ac) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##           dev-v3.1.2     #610      +/-   ##
==============================================
+ Coverage       85.25%   85.32%   +0.07%     
==============================================
  Files             102      102              
  Lines            4570     4571       +1     
==============================================
+ Hits             3896     3900       +4     
+ Misses            674      671       -3     

@@ -53,6 +53,10 @@ class TestableExtensionRuntime: ExtensionRuntime {
}

func getSharedState(extensionName: String, event: Event?, barrier: Bool) -> SharedStateResult? {
if event == nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We may need to make some other changes to the TestableRuntimes to ensure that it mimicks the EventHub behavior by fetching latest when a nil event is passed in.

@nporter-adbe nporter-adbe linked an issue Apr 19, 2021 that may be closed by this pull request
@emdobrin
Copy link
Contributor

Changes look good. Can we also add an e2e test with config & identity that covers the flow in the issue description?

@nporter-adbe nporter-adbe merged commit 593a39d into adobe:dev-v3.1.2 Apr 22, 2021
@shalehaha shalehaha added this to the v3.1.2 milestone Apr 29, 2021
@shalehaha shalehaha added coresquad bug Something isn't working. Used by issue templates labels Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. Used by issue templates coresquad
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Identity blocked on first launch when config invalid
3 participants