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

[MAN-369] laerdal mcu mgr new releases do not get auto announced as intended when merging to develop master main #120

Conversation

ksidirop-laerdal
Copy link
Collaborator

Also address:

  • [MAN-370] [Laerdal.McuMgr] Test-Suite: Various test cases fail due to racing-conditions between the state-changed-event-firing and the final events for successful completion/exception throwing

  • [MAN-371] [Laerdal.McuMgr / iOS] GitHub CI: Our pipelines broke on the iOS / MacCatalyst side due to sharpie picking the latest iphoneos SDK in general instead of the latest iphoneos supported by xcode 15.2

… by dropping curl completely and using 'gh' cli-util instead to create new releases
…uild=true if the build takes place in a CICD environment
… point of view and from sharpie's point of view
… in the logs the exact sharpie command used to generate the api-definition-and-struct .cs files
…BUILD_TARGET_SDK_VERSION trivial rename for the sake of clarity
…BUILD_TARGET_SDK_VERSION=17.2 before invoking Laerdal.Mac.CompileAndGenerateFatLibs.sh to force xcode build and sharpie to agree on what the latest iphoneios sdk version is

    old was: we would leave this env-var empty and this would in turn cause the ci to fail on github because the xcode-build would use xcode15.2 with sdk=iphoneos17.2 but
    sharpie would assume the latest sdk to be iphoneos18.0 from xcode16.0 causing errors upon trying to generate the .cs files
…RGET_SDK_VERSION is specified then we set it to a reasonable default for iphoneos (17.2) and maccatalyst (14.2)

[skip ci]
…ileNotFoundException_GivenNonExistentFilepath.cs): fix a bug which was causing the test to fail sometimes due to a racing condition between 'throw DownloadErroredOutRemoteFileNotFoundException' and state-changed-event->Error
…changed-events before any success/fatal-error termination-events (which is the actual behaviour of all the mechanisms we have in practice)
…vent instead of state-changed to set the completion

   this should address the issues we're seeing with the failing test

      SingleFileUploadAsync_ShouldCompleteSuccessfully_GivenGreenNativeFileUploader()
@ksidirop-laerdal ksidirop-laerdal self-assigned this Jul 9, 2024
@ksidirop-laerdal ksidirop-laerdal added the bug Something isn't working label Jul 9, 2024
@ksidirop-laerdal ksidirop-laerdal merged commit 8dd3c94 into develop Jul 9, 2024
@ksidirop-laerdal ksidirop-laerdal deleted the MAN-369-laerdal-mcu-mgr-new-releases-do-not-get-auto-announced-as-intended-when-merging-to-develop-master-main branch July 9, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant