Skip to content

Conversation

@leigaol
Copy link
Contributor

@leigaol leigaol commented Nov 7, 2024

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Fix a bug when Amazon Q responds with still indexing message even when @workspace index is done

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@leigaol leigaol requested a review from a team as a code owner November 7, 2024 20:01
@leigaol leigaol requested a review from Will-ShaoHua November 7, 2024 20:01
@leigaol leigaol changed the title fix(amazonq): Amazon Q chat do not mention indexing in progress when indexing finished fix(amazonq): Amazon Q chat should not mention indexing in progress when indexing finished Nov 7, 2024
val url = URL("http://localhost:${encoderServer.port}/${msgType.endpoint}")

// use 1h as timeout for index, 5 seconds for other APIs
val timeoutMs = if (msgType is LspMessage.Index) 60.minutes.inWholeMilliseconds.toInt() else 5000
Copy link
Contributor

Choose a reason for hiding this comment

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

can/should these be enum?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

timeoutMs can only be integer.

@leigaol leigaol enabled auto-merge (squash) November 11, 2024 21:32
@Will-ShaoHua
Copy link
Contributor

/retryBuilds

@leigaol leigaol merged commit 2c5ea56 into aws:main Nov 12, 2024
12 of 13 checks passed
dhasani23 pushed a commit to ntarakad-aws/aws-toolkit-jetbrains that referenced this pull request Nov 18, 2024
…hen indexing finished (aws#5062)

* adjust LSP API timeout

* update time
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.

4 participants