Skip to content

Commit 19788ff

Browse files
Merge master into feature/hybridChat-local
2 parents 21cd85b + a7732b9 commit 19788ff

File tree

11 files changed

+44
-25
lines changed

11 files changed

+44
-25
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date": "2025-04-25",
3+
"version": "1.62.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Toast message to warn users if Developer Profile is not selected"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "Fix users can not log in successfully with 2+ IDE instnaces open due to throttle error throw by the service"
12+
}
13+
]
14+
}

packages/amazonq/.changes/next-release/Bug Fix-489e72aa-bb0d-4964-bd84-002f25db6b5f.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/amazonq/.changes/next-release/Bug Fix-8290a06f-ee3f-4235-b8af-faedb1bdfbe4.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/amazonq/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.62.0 2025-04-25
2+
3+
- **Bug Fix** Toast message to warn users if Developer Profile is not selected
4+
- **Bug Fix** Fix users can not log in successfully with 2+ IDE instnaces open due to throttle error throw by the service
5+
16
## 1.61.0 2025-04-22
27

38
- **Bug Fix** Some users not signaled they needed to select a Region Profile to get features working

packages/amazonq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "amazon-q-vscode",
33
"displayName": "Amazon Q",
44
"description": "The most capable generative AI-powered assistant for building, operating, and transforming software, with advanced capabilities for managing data and AI",
5-
"version": "1.62.0-SNAPSHOT",
5+
"version": "1.63.0-SNAPSHOT",
66
"extensionKind": [
77
"workspace"
88
],

packages/core/src/codewhisperer/util/authUtil.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ export class AuthUtil {
143143

144144
if (!this.isConnected()) {
145145
await this.regionProfileManager.invalidateProfile(this.regionProfileManager.activeRegionProfile?.arn)
146+
await this.regionProfileManager.clearCache()
146147
}
147-
148-
await this.regionProfileManager.clearCache()
149148
})
150149

151150
this.regionProfileManager.onDidChangeRegionProfile(async () => {

packages/core/src/shared/utilities/resourceCache.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,24 @@ export abstract class CachedResource<V> {
6868
const duration = now() - resource.timestamp
6969
if (duration < this.expirationInMilli) {
7070
logger.debug(
71-
`cache hit, duration(%sms) is less than expiration(%sms), returning cached value %s`,
71+
`cache hit, duration(%sms) is less than expiration(%sms), returning cached value: %s`,
7272
duration,
7373
this.expirationInMilli,
7474
this.key
7575
)
7676
// release the lock
7777
await this.releaseLock(resource, cachedValue)
7878
return resource.result
79-
} else {
80-
logger.debug(
81-
`cache is stale, duration(%sms) is older than expiration(%sms), pulling latest resource %s`,
82-
duration,
83-
this.expirationInMilli,
84-
this.key
85-
)
8679
}
80+
81+
logger.debug(
82+
`cache is stale, duration(%sms) is older than expiration(%sms), pulling latest resource: %s`,
83+
duration,
84+
this.expirationInMilli,
85+
this.key
86+
)
8787
} else {
88-
logger.info(`cache miss, pulling latest resource %s`, this.key)
88+
logger.info(`cache miss, pulling latest resource: %s`, this.key)
8989
}
9090

9191
/**
@@ -104,8 +104,8 @@ export abstract class CachedResource<V> {
104104
timestamp: now(),
105105
result: latest,
106106
}
107-
logger.info(`doen loading latest resource, updating resource cache: %s`, this.key)
108107
await this.releaseLock(r)
108+
logger.info(`loaded latest resource and updated cache: %s`, this.key)
109109
return latest
110110
} catch (e) {
111111
logger.error(`failed to load latest resource, releasing lock: %s`, this.key)
@@ -129,7 +129,7 @@ export abstract class CachedResource<V> {
129129

130130
const lock = await waitUntil(async () => {
131131
const lock = await _acquireLock()
132-
logger.debug(`try obtain resource cache read write lock for resource %s`, this.key)
132+
logger.debug(`trying to acquire resource cache lock: %s`, this.key)
133133
if (lock) {
134134
return lock
135135
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"date": "2025-04-25",
3+
"version": "3.56.0",
4+
"entries": []
5+
}

packages/toolkit/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.56.0 2025-04-25
2+
3+
- Miscellaneous non-user-facing changes
4+
15
## 3.55.0 2025-04-18
26

37
- Miscellaneous non-user-facing changes

0 commit comments

Comments
 (0)