Skip to content

[WIP] Update cache key to include deployment Id for deployments#2

Closed
adrians5j with Copilot wants to merge 1 commit into
mainfrom
copilot/update-cache-key-with-deployment-id
Closed

[WIP] Update cache key to include deployment Id for deployments#2
adrians5j with Copilot wants to merge 1 commit into
mainfrom
copilot/update-cache-key-with-deployment-id

Conversation

Copilot AI commented Feb 20, 2026

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

in packages/project/src/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.ts:59...

Let's adjust the cache key.

I'd like to include the deployment Id in the cache key, so that we have a separate cache for each deployment. This way, we can avoid potential issues with stale cache entries when we deploy new versions of our functions.

saw an example of fetching deploymentId in

        const deploymentId = coreStackOutput?.deploymentId;

saw it in packages/project/src/features/Watch/Watch.ts:230.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@adrians5j adrians5j closed this Feb 20, 2026
@adrians5j adrians5j deleted the copilot/update-cache-key-with-deployment-id branch February 20, 2026 15:10
Copilot AI requested a review from adrians5j February 20, 2026 15:10
Copilot stopped work on behalf of adrians5j due to an error February 20, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants