Skip to content

Conversation

@wenytang-ms
Copy link
Contributor

@wenytang-ms wenytang-ms commented Sep 18, 2025

https://exp.microsoft.com/features/e770d1ba-bcd3-540b-9eec-fcd3e15a0117?workspaceId=dbd12384-5001-4e90-a863-526321eaf233

Testing against some popular java repo
jbang
Mixin
Velocity
java deps cost - execute java command time cost
pack cost - execute context provider to collect and return context whole time cost

file url java-deps cost pack cost
Configuration.java 9.82 ms 13 ms 7 items
PathTypeAdapter.java 4.36ms 15ms 0 items
VersionChecker.java 4.6ms 13ms 3 items
RuntimeDecompiler.java 20ms 25ms 4 items
ModLauncherClassTracker.java 7.74ms 19ms 3items
CookieReceiveEvent.java 4.5ms 8ms 6 items
ResultEvent.java 5.2 ms 12 ms 0 items

@wenytang-ms wenytang-ms marked this pull request as ready for review September 19, 2025 00:57
chagong
chagong previously approved these changes Sep 19, 2025
@chagong
Copy link
Contributor

chagong commented Sep 26, 2025

I don't see anywhere you check exp feature flag. is it something all handled by exp platform?

@wenytang-ms
Copy link
Contributor Author

@chagong Copilot-client will fetch the feature from exp, and turn on the context provider apis, then java-pack will turn on this process.
the Exp vars is here.
https://github.com/microsoft/copilot-client/blob/7afc1d2731be3258a746182ce13a646d39c19f0a/lib/src/experiments/expConfig.ts#L88

@wenytang-ms wenytang-ms merged commit bfcbddd into main Sep 27, 2025
@wenytang-ms wenytang-ms deleted the wenyt/contextprovidersupport branch September 27, 2025 13:49
wenytang-ms added a commit that referenced this pull request Nov 10, 2025
wenytang-ms added a commit that referenced this pull request Nov 10, 2025
* Revert "fix: update the project uri (#1520)"

This reverts commit 2712e70.

* Revert "feat: Enhance the context returned by the context provider (#1518)"

This reverts commit 2e90376.

* Revert "feat: context provider api support for java (#1489)"

This reverts commit bfcbddd.
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