Conversation
Summary of ChangesHello @fansenze, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request primarily focuses on synchronizing the project with the latest upstream changes from the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the typescript-go submodule and adapts the codebase to the new API. The changes are mostly in the shim packages and files that use the typescript-go API. The changes look correct and handle the API updates properly. I've added one suggestion to improve maintainability by reducing code duplication in cmd/rslint/cmd.go.
0a998a9 to
0a2ce79
Compare
Update typescript-go submodule to commit 1d68dfd4db394ed9d19b812d46c1368daa2e8893 from rstackjs/typescript-go llts branch. Changes: - Update shim layer to adapt to API changes in typescript-go - Fix extra_Checker struct field layout to match new Checker structure - Update function signatures and type aliases for compatibility - Add nil guards for diagnostic printing
0a2ce79 to
0f427d7
Compare
Add a skill document that describes how to use Docker to reproduce Linux-specific CI failures locally, covering all CI jobs with version references from the actual CI config files.
eb2a053 to
0125fd3
Compare
Summary
Update typescript-go submodule to commit
1d68dfd4db394ed9d19b812d46c1368daa2e8893from rstackjs/typescript-go llts branch.Key Changes
Shim Layer Updates:
shim/checker/shim.go: Fixextra_Checkerstruct field layout to match new Checker structure (addedmoduleSymbolsandpropertiesTypesfields, updated map key types)shim/scanner/shim.go: ChangeGetECMAPositionOfLineAndCharacterfrom linkname to wrapper function with correct interface typeshim/lsp/lsproto/shim.go: Add LSPError compatibility struct, update error variables, fix RegisterOptions union typeshim/ast/shim.go: Remove undefined constants, update GetAssertedTypeNodeshim/core/shim.go: Update WithLocale linkname target to locale packageshim/tsoptions/shim.go: Add optionsRaw parameter to GetParsedCommandLineOfConfigFileshim/project/shim.go: Update NewSnapshot signature and importsMain Repository Updates:
cmd/tsgo/main.go: Changediag.Message()todiag.String()cmd/rslint/cmd.go: Add nil guards for SourceFile and lineMapinternal/lsp/server.go: Add PublishDiagnostics, RefreshInlayHints, RefreshCodeLens methods for project.Client interface; pass BackgroundCtx to NewSessioninternal/utils/create_program.go: Update diagnostic method and add optionsRaw parameterinternal/utils/ts_api_utils.go: Add TokenFlagsNone parameter to GetOrCreateToken callsNew:
agents/debug-ci/SKILL.md: Add skill document for reproducing CI failures locally using Docker, covering all CI jobs with references to actual CI config filesRelated Links
Checklist