Skip to content

Conversation

@XiaoxuanLu
Copy link
Contributor

@XiaoxuanLu XiaoxuanLu commented Sep 25, 2025

Problem

In large workspaces, indexing can take a long time with no indication of status. Also, the "Pin Context" button does not appear until after indexing is complete.

Solution

The "Pin Context" is triggered immediately on startup by sending a file, folder, code, and workspace placeholder set to pending (aws/mynah-ui#421). Then, files/folders, code, and workspace are updated to active once their respective indexing processes are complete.

Should be merged after (first) aws/language-server-runtimes#687 and aws/mynah-ui#421

This pr is a replace of #2060

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@XiaoxuanLu XiaoxuanLu requested a review from a team as a code owner September 25, 2025 23:51
@XiaoxuanLu XiaoxuanLu changed the base branch from xiaoluk/conorChange to main September 26, 2025 00:07
@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 67.56757% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.42%. Comparing base (30b33a1) to head (8c99f00).

Files with missing lines Patch % Lines
...ver/agenticChat/context/contextCommandsProvider.ts 73.33% 8 Missing ⚠️
...nguage-server/agenticChat/agenticChatController.ts 0.00% 2 Missing ⚠️
...sperer/src/shared/localProjectContextController.ts 50.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2353   +/-   ##
=======================================
  Coverage   62.42%   62.42%           
=======================================
  Files         266      266           
  Lines       59107    59143   +36     
  Branches     3790     3796    +6     
=======================================
+ Hits        36895    36920   +25     
- Misses      22137    22148   +11     
  Partials       75       75           
Flag Coverage Δ
unittests 62.42% <67.56%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@XiaoxuanLu XiaoxuanLu merged commit bee5cad into aws:main Oct 17, 2025
6 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.

5 participants