Skip to content

Conversation

@Hweinstock
Copy link
Contributor

Problem

Follow up to #7235 (comment).

Solution

  • extract all decrypting and encrypting logic to a single location.
  • add a simple test for this logic (encrypt and decrypt are inverses).
  • refactor existing implementations.

Verification

Used agentic chat with some tools, as well as inline chat and didn't notice a difference. If encryption were broken, I would expect this to fail immediately.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

)
} else {
lastPartialResult = partialResult as ChatResult
const chatDisposable = languageClient.onProgress(chatRequestType, partialResultToken, (partialResult) =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this refactor is to avoid decrypting partial responses twice

@Hweinstock
Copy link
Contributor Author

failing tests are known flaky: #7187.

Should look into disabling them at the rate they are failing.

@Hweinstock Hweinstock marked this pull request as ready for review May 7, 2025 19:09
@Hweinstock Hweinstock requested a review from a team as a code owner May 7, 2025 19:09
@Hweinstock Hweinstock merged commit aeca817 into aws:feature/flare-inline May 7, 2025
20 of 22 checks passed
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