Repository navigation
Conversation
The server replaces a project each time its tiapp.xml changes. Each replacement resolved the types again and showed the same warning again. A workspace with several projects on one SDK also showed it once per project. The service now remembers each warning message that it showed. It shows a message one time for the life of the server. The message names the SDK, so a different SDK version still gets its own warning. The server still writes the message to the log each time. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ewanharris
reviewed
Nov 23, 2026
| private diagnosed = new Set<string>(); | ||
| /** The projects already told their types are too old to warn from, so it is said once */ | ||
| private explained = new Set<string>(); | ||
| /** The warnings already shown, so a project opened again does not interrupt with the same one */ |
Member
There was a problem hiding this comment.
This will just persist in memory right, not on disk? So it would stil warn every open?
Author
There was a problem hiding this comment.
only for that session, didn't want to write it somewhere as it is hopefully just a short term fix. Another option was to disable the warning completely for now
release-please writes the changelog after #91 merges, so the entry is not needed here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Author
|
The types are finally merged. I still think this is a valid improvement as we'll have to deal with it the next time the SDK updates 😄 This will reduce the warnings to one session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Until types are updated:
The server replaces a project each time its tiapp.xml changes. Each replacement resolved the types again and showed the same warning again. A workspace with several projects on one SDK also showed it once per project.
The service now remembers each warning message that it showed. It shows a message one time for the life of the server. The message names the SDK, so a different SDK version still gets its own warning. The server still writes the message to the log each time.