Skip to content

Commit c6dbe67

Browse files
committed
fix: inFlight requests handling
plus updated action to speed up publishing
1 parent d2dd3cf commit c6dbe67

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/Publish-CosmosLite.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ jobs:
3838
with:
3939
module-name: ${{ env.MODULE_NAME }}
4040

41-
- name: Install prerequisites
42-
shell: pwsh
43-
run: |
44-
Install-Module AadAuthenticationFactory -AllowPrerelease -Force -Scope CurrentUser
45-
4641
- name: Install AzureSignTool
4742
shell: pwsh
4843
run: |

Commands/Internal/InvokeCosmosWindowInternal.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function InvokeCosmosWindowInternal
1515
#CosmosLiteRequest to start. Omit (or pass $null) to switch to drain mode.
1616
$rq = $null,
1717
[Parameter(Mandatory)]
18+
[AllowEmptyCollection()]
1819
[System.Collections.Generic.List[object]]$InFlight,
1920
[Parameter()]
2021
[int]

Module/CosmosLite/CosmosLite.psd1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ CLRVersion = ''
5151
ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName="AadAuthenticationFactory"; ModuleVersion="3.1.2"; GUID='9d860f96-4bde-41d3-890b-1a3f51c34d68'})
54+
# RequiredModules = @()
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = @()
@@ -103,7 +103,7 @@ PrivateData = @{
103103
ProjectUri = 'https://github.com/greycorbel/CosmosLite'
104104

105105
# Prerelease string of this module
106-
Prerelease = 'beta1'
106+
Prerelease = 'beta2'
107107

108108
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
109109
RequireLicenseAcceptance = $false
@@ -113,6 +113,7 @@ PrivateData = @{
113113

114114
# ReleaseNotes of this module
115115
# ReleaseNotes = ''
116+
ExternalModuleDependencies = @('AadAuthenticationFactory')
116117

117118
} # End of PSData hashtable
118119

@@ -129,3 +130,4 @@ PrivateData = @{
129130

130131

131132

133+

Module/CosmosLite/CosmosLite.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,7 @@ function InvokeCosmosWindowInternal
16321632
#CosmosLiteRequest to start. Omit (or pass $null) to switch to drain mode.
16331633
$rq = $null,
16341634
[Parameter(Mandatory)]
1635+
[AllowEmptyCollection()]
16351636
[System.Collections.Generic.List[object]]$InFlight,
16361637
[Parameter()]
16371638
[int]

0 commit comments

Comments
 (0)