Repository navigation
Add the IDE update cycle and user log triage skills - #83
Merged
Merged
Conversation
…cts in the update loop run_build.py now stops only for a Gradle build in its own checkout; builds in other checkouts are listed because they compete for memory, not files. Stage logs are line-buffered so they can be read while a stage runs. check_ide_updates.py marks pycharmVersion as not built: only runPyCharm uses it.
/ide-update-cycle runs the update loop and the fix step unattended in a worktree, decides by a fixed policy which bumps to keep, and opens one pull request. triage-user-log diagnoses a user's IDE logs: parse_idea_log.py groups the plugin's errors per session, matches known issues and redacts personal data; release_ref.py maps a Marketplace release to the main commit it was built from.
… as a flake The test publishes a fake IdeFrame on the application-wide activation topic. On a non-headless Windows JVM AppIcon subscribes a listener there once an earlier test called AppIcon.getInstance(), and that listener casts the frame to ProjectFrameHelper.
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.
Adds two Claude Code project skills: one runs the whole IDE update cycle up to a pull request, the other triages users' IDE logs. Also fixes two problems the update loop showed in use.
/ide-update-cycleUser-invoked. It chains
/ide-update-loopand/ide-update-fixfrom #73 and replaces the user's "which items?" answer with a fixed policy:It works in its own worktree (
.claude/worktrees/ide-update-<date>, branchide-update/<date>), so the main checkout that other sessions use is never switched. Typing the command authorizes the commits, the push of that branch and the PR. It never merges. The PR body lists the versions, the fixes with their causes, what was held back, and what the local run didn't cover.The skill reuses the loop's and the fix step's instructions and scripts by path instead of copying them.
triage-user-logModel-invoked: it triggers when someone shares an
idea.log, the zip from Help | Collect Logs and Diagnostic Data, a freeze dump or a pasted trace.scripts/parse_idea_log.pyreads files, folders or the zip in place. Per IDE session it prints the IDE build, OS, plugin version and related plugins (and flags the old JetBrains Academy plugin). It groups the plugin's errors by signature, with counts, times, plugin frames, root cause and Last Action. It also lists the plugin's warnings and the freeze dumps, saying whether the plugin is on the EDT stack. Known-issue signatures are matched, and--around <time>prints the timeline of the failure. Home directories, e-mails and tokens are redacted in everything it prints.scripts/release_ref.pymaps a Marketplace release to themaincommit it was built from and checks that commit'spluginVersion. The repository has no release tags, and every greenmainbuild is published.--contains <commit>gives the first release that ships a fix.reference/known-issues.mdlists the issues met so far, with signatures, causes, fixed-in versions and workarounds: lost topics (Keep new topics after a topic folder goes missing #75), the Settings logout (Keep the user logged in after logging in from Settings #70), the Java debugger, Go and learnIde module declarations (Declare the Java debugger module for the AI debugger on 2026.1+ (EDU-9198) #64, [EDU-9241] Fix Go SDK and Browse Courses class loading on 2026.3 and 2027.1 #78), the PythoneelApi/additional-data problems ([ALT-11110] Detect local Python interpreters and apply the chosen one #77), and the Check-button freeze (Projects and Java fixes: 2026.2 platform, JDK setup, Gradle migration, Check-button deadlock #62).The skill keeps logs private: it quotes redacted lines only and files nothing to YouTrack or anywhere else unless the user asks. A new bug gets a draft issue in the reply.
Update loop fixes
run_build.pystopped every build while any Gradle build ran on the machine, including builds in other worktrees. It now stops only for a build in the same checkout and lists the others. Stage logs are line-buffered, so a running stage's log can be read.check_ide_updates.pymarkspycharmVersionas not built: onlyrunPyCharmuses it, so compile, test and verify never exercise a PyCharm bump.CLAUDE.mdpoints to both skills.Testing
parse_idea_log.pywas run on the 262 and 263 sandbox logs and on a Collect Logs-style zip built from them, with a freeze dump, e-mails, tokens and home paths added. It reported the AI-debuggerClassNotFoundExceptionasjava-debugger-module, read both the 2026.2 and 2026.3 plugin-list formats, and redacted every planted value.release_ref.pyagainst the Marketplace andmain: 2026.22 maps to096a99233(pluginVersion matches). Declare the Java debugger module for the AI debugger on 2026.1+ (EDU-9198) #64 and Keep the user logged in after logging in from Settings #70 first ship in 2026.22, Projects and Java fixes: 2026.2 platform, JDK setup, Gradle migration, Check-button deadlock #62 in 2026.21, and Keep new topics after a topic folder goes missing #75–[EDU-9241] Fix Go SDK and Browse Courses class loading on 2026.3 and 2027.1 #78 are not released yet./ide-update-cycleran end to end locally and opened Update IDE versions (2026-12-02) #84.HyperskillMetricsTest, details in Update IDE versions (2026-12-02) #84). A rerun of that class alone passed, so it accepted every bump.analyze_build.pyclassifies that failure as thewindows-app-icon-orderflake.