Closed Bryce-Soghigian closed 6 days ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 3 | 0.0% | ||
pkg/auth/cred.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 16 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 44.44% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9388584261: | -0.04% |
Covered Lines: | 36286 |
Relevant Lines: | 37129 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 3 | 0.0% | ||
pkg/auth/cred.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 16 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 44.44% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9388584261: | -0.04% |
Covered Lines: | 36286 |
Relevant Lines: | 37129 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 14 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 44.44% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9520296180: | -0.04% |
Covered Lines: | 36286 |
Relevant Lines: | 37129 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 14 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 44.44% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9587074007: | -0.04% |
Covered Lines: | 36286 |
Relevant Lines: | 37129 |
does this workaround work? @Bryce-Soghigian
@andyzhangx yes it seems to be working for over a week for me
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 14 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 44.44% | ||
pkg/providers/instancetype/instancetypes.go | 6 | 88.3% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 9587074007: | -0.04% |
Covered Lines: | 36287 |
Relevant Lines: | 37131 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 14 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 44.44% | ||
pkg/providers/instancetype/instancetypes.go | 6 | 88.3% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 9587074007: | -0.04% |
Covered Lines: | 36287 |
Relevant Lines: | 37131 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 19 | 0.0% | ||
<!-- | Total: | 0 | 20 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 38.1% | ||
pkg/providers/instancetype/instancetypes.go | 6 | 88.3% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 9587074007: | -0.06% |
Covered Lines: | 36287 |
Relevant Lines: | 37137 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 21 | 0.0% | ||
<!-- | Total: | 0 | 22 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 36.36% | ||
pkg/providers/instancetype/instancetypes.go | 6 | 88.3% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 9587074007: | -0.06% |
Covered Lines: | 36287 |
Relevant Lines: | 37139 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/providers/instance/azure_client.go | 0 | 1 | 0.0% | ||
pkg/auth/cred.go | 0 | 21 | 0.0% | ||
<!-- | Total: | 0 | 22 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/auth/cred.go | 1 | 36.36% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9717899097: | -0.06% |
Covered Lines: | 36287 |
Relevant Lines: | 37139 |
Fixes #
Description The track 2 sdk has a bug for long living tokens(longer than 24hrs) they will not be refreshed properly. This pr adds a thin wrapper around the GetToken() interface method to set the ExpiresOn timestamp to be earlier and force a token refresh earlier.
How was this change tested?
Does this change impact docs?
Release Note