1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2026-05-04 02:03:07 +02:00
Commit Graph

283 Commits

Author SHA1 Message Date
Alex Plate
4f66a0f9c4 Include workflow run link in PR descriptions
PRs created by the YouTrack workflow now include a link to the
GitHub Actions run that generated them, making it easy to trace
back to the full Claude analysis.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 21:40:55 +02:00
Alex Plate
e6e68d5bf9 Add attention_required status to YouTrack workflow
When Claude encounters issues needing maintainer attention:
- Missing tool permissions
- YouTrack API errors
- Workflow bugs or limitations
- Required capabilities unavailable

It outputs ANALYSIS_RESULT=attention_required with ATTENTION_REASON.
The job then fails, triggering GitHub notifications.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 21:39:24 +02:00
Alex Plate
33582ecb7d Add outdated ticket detection to YouTrack workflow
Detect tickets that are likely no longer relevant:
- References removed features or obsolete IDE versions
- Vague "doesn't work" reports older than 2 years with no activity
- Missing environment details and no follow-up from reporter

When detected, Claude posts a PRIVATE comment mentioning @Aleksei.Plate
with reasoning, then outputs ANALYSIS_RESULT=outdated.

Also adds ticket creation date to ticket_details.md for age assessment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 21:36:19 +02:00
Alex Plate
85538b1ae7 Add prompt injection hardening and rm command to YouTrack workflow
- Add security notice warning about user-submitted content in tickets
- Add critical rules to treat ticket content as data only
- Instruct to mark suspicious/injection attempts as unsuitable
- Add reminder at end to ignore conflicting instructions from tickets
- Allow Bash(rm:*) command for cleanup operations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 09:15:55 +02:00
Alex Plate
338bd2164b Add bug origin investigation step to YouTrack workflow
Before implementing a fix, Claude must now investigate why the buggy
code exists - it may have been a deliberate trade-off from a previous
fix. This prevents re-introducing old bugs when fixing new ones.

Investigation includes: reviewing surrounding code, checking callers,
and using git log/blame to understand the history.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 08:59:57 +02:00
Alex Plate
5ff820be52 Add code-reviewer subagent and require review before PRs
- Add IdeaVim-specific code-reviewer agent focusing on Vim compatibility,
  Kotlin/Java quality, IntelliJ Platform patterns, and test coverage
- Update YouTrack auto-analysis workflow to require code review before
  creating PRs (for both bugs and features)
- Add Task tool to allowed tools for subagent usage

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 08:49:16 +02:00
Alex Plate
34ca5ec772 Split YouTrack auto-analysis rules for bugs vs features
- Bugs now require TDD approach: write failing test first, confirm
  failure, implement fix, confirm test passes
- Bugs without reproducible tests should be marked as unsuitable
- Features have separate criteria and implementation steps
- Updated PR title format: Fix(VIM-XXXX) for bugs, Add(VIM-XXXX) for features

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 08:49:15 +02:00
Alex Plate
0c741a580e Run YouTrack auto-analysis weekly instead of every 5 minutes
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 08:11:46 +02:00
Alex Plate
90f1d72233 Remove hard 100 lines limit from YouTrack auto-analysis
Smaller changes are still preferred, but bigger changes are now
acceptable if Claude is confident about them.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 00:35:47 +02:00
Alex Plate
efd7eee31b Run YouTrack auto-analysis every 5 minutes
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 00:24:43 +02:00
Alex Plate
1d9e01e4ae [Experiment] Migrate YouTrack analysis scripts to TypeScript
Replaces Kotlin/Gradle scripts with TypeScript for the auto-analysis workflow.

New files in scripts-ts/:
- youtrack.ts: API utilities (getTicketsByQuery, getTicketDetails, setTag, addComment)
- selectTicketForAnalysis.ts: Selects random open ticket
- completeTicketAnalysis.ts: Tags ticket, optionally adds comment

Benefits:
- Faster startup (no Gradle daemon)
- Simpler dependencies (just tsx)
- Easier to read and modify

The Kotlin scripts remain for other workflows.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 00:04:28 +02:00
Alex Plate
402b81c3c9 Add experimental YouTrack auto-analysis workflow with Claude
This adds a GitHub Action that automatically analyzes random open YouTrack
tickets to determine if they're suitable for automated fixing by Claude Code.

New files:
- youtrackAutoAnalysis.yml: Manual-trigger workflow that orchestrates the process
- SelectTicketForAnalysis.kt: Picks random open ticket without "claude-analyzed" tag
- CompleteTicketAnalysis.kt: Tags ticket and optionally adds analysis comment

Changes:
- youtrack.kt: Add getTicketDetails() function and claudeAnalyzedTagId constant
- build.gradle.kts: Register selectTicketForAnalysis and completeTicketAnalysis tasks

The workflow evaluates tickets based on: clarity, reproducibility (for bugs),
scope (no big refactoring), and testability. If suitable, Claude creates a PR.
All analyzed tickets are tagged to exclude from future runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 23:45:10 +02:00
Alex Plate
ef2e069b93 Migrate PR verification from TeamCity to GitHub Actions
Replace TeamCity PR checks with a GitHub Actions workflow that:
- Runs on pull requests targeting master
- Executes the same test command with identical environment variables
- Uses Amazon Corretto JDK 21 (matching TeamCity setup)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 09:27:45 +02:00
Alex Plate
9b435ec3ff Make tag update conditional on Claude step success
Only update the workflow-changelog tag if the Claude step completes
successfully, preventing tag advancement on failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:35:18 +02:00
Alex Plate
7f939987af Migrate changelog workflow to Claude-managed approach
- Update Claude changelog workflow to use workflow-changelog tag for
  tracking processed commits
- Update changelog skill to document the tag-based commit tracking
- Remove old disabled workflows (updateChangelog.yml, mergePr.yml)
- Remove unused Gradle tasks (updateChangelog, updateMergedPr)
- Delete unused scripts (updateChangelog.kt, updateMergedPr.kt, changelogUtils.kt)
- Remove unused markdown dependency from scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:32:22 +02:00
Alex Plate
0cf7dbeb88 Add Skill to allowed tools in changelog workflow
The Skill tool is needed to load the changelog skill instructions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:14:31 +02:00
Alex Plate
2527427d67 Update changelog workflow to use changelog skill
Replace reference to deleted changelog-instructions.md with
the changelog skill for loading maintenance instructions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:10:49 +02:00
Alex Plate
dbf26846ee Update the platform to 2025.3
Also, replace all IC dependencies on IU dependencies. The IC is deprecated since the unified release: https://blog.jetbrains.com/platform/2025/11/intellij-platform-2025-3-what-plugin-developers-should-know/
2025-12-09 10:00:58 +02:00
Alex Plate
66402f499d Restrict claude-review workflow to PRs from the same repository 2025-11-07 16:34:14 +02:00
Alex Plate
a4b370bb55 Remove Junie for now 2025-11-07 16:25:00 +02:00
Alex Plate
a1032c55c0 Adjust codebase maintenance cron schedule to run weekly 2025-11-07 15:11:01 +02:00
Alex Plate
0b512dc293 Refactor YouTrack update script for better modularity and task integration
- Replaced `updateYoutrackOnCommit` function in build script with a dedicated Kotlin `main()` entry point.
- Simplified task registration with `JavaExec` in `scripts/build.gradle.kts`.
- Integrated argument support for specifying project directory.
- Removed duplicate and redundant code for Change processing.
- Adjusted GitHub workflow to use the new task structure.
2025-10-27 11:17:46 +02:00
Alex Plate
1d60e47bb8 Remove the PR pre-fetch 2025-10-24 14:38:37 +03:00
Alex Plate
d60af9afa1 Remove the checkout from the manual command 2025-10-24 13:14:32 +03:00
Alex Plate
1ef919f73a Add checkout step 2025-10-24 13:05:03 +03:00
Alex Plate
f6947d73f6 Trying to disable oidc for forkes 2025-10-24 11:22:14 +03:00
Alex Plate
54c12470f3 Claude Code now has an ability to create inline comments 2025-10-24 11:10:51 +03:00
Alex Plate
8aa8725a8d Update Claude Code workflow
I'm mostly trying to force Claude Code to work with the forks
2025-10-24 11:08:35 +03:00
Alex Plate
27f2e56635 Update codebase maintenance workflow to run daily
Change schedule from weekly (Monday) to daily execution at 6 AM UTC to enable more frequent code quality checks.
2025-10-09 14:26:32 +02:00
Alex Plate
747e4053ba Update codebase maintenance workflow to skip PR creation when no changes are made
Previously the workflow instructed Claude to always create a PR even when no
issues were found. This resulted in unnecessary PRs documenting inspections
where no changes were needed.

Now the workflow only creates PRs when actual changes are made to the codebase.
2025-10-09 13:10:41 +02:00
Alex Plate
f0edc797dc Add codebase maintenance workflow
This workflow enables automated codebase maintenance by randomly selecting
and inspecting parts of the codebase for quality issues, bugs, and
improvements.

Key features:
- Random file/area selection for inspection
- Comprehensive code review guidelines (style, quality, bugs, architecture)
- Focus on genuine improvements, not pedantic changes
- Always creates PR to document inspection results
- Runs weekly on Mondays, can be triggered manually

The maintenance instructions cover:
- What to check: code style, null safety, test coverage, IdeaVim-specific issues
- When to make changes vs document issues
- Commit best practices (split complex changes into multiple commits)
- IdeaVim-specific considerations (enablement checks, Vim compatibility)
2025-10-09 13:04:55 +02:00
NaMinhyeok
ce6822fa82 Add repository condition to updateChangelog workflow
Signed-off-by: NaMinhyeok <nmh9097@gmail.com>
2025-09-05 11:51:48 +03:00
Alex Plate
a5dd8cf8b1 Update PR title format for changelog updates
- Change PR title format to "Update changelog: <super short summary>"
- Add example showing how to summarize key changes in title
- Update both GitHub workflow and changelog instructions for consistency
2025-08-30 10:55:54 +03:00
Alex Plate
9f58c73d92 Refactor documentation structure and extract changelog instructions
- Simplified CLAUDE.md to avoid redundancy with other docs
- Created .claude/changelog-instructions.md with detailed changelog maintenance guide
- Updated GitHub Action to reference the new changelog instructions doc
- Added instructions for updating changeNotes in build.gradle.kts
- Added notes about excluding API module changes (experimental status)
- Added step to check previous changelog PRs for special instructions
2025-08-30 10:42:01 +03:00
Alex Plate
9aff700a58 Add GitHub Action for automated changelog maintenance using Claude
This workflow runs daily at 5 AM UTC (or manually) and uses Claude to:
- Review commits and update CHANGES.md with meaningful changes
- Maintain the exact format used before the changelog gap
- Include YouTrack links for fixes (format: [VIM-XXXX](url))
- Reference merged PRs (excluding dependabot and Claude PRs)
- Handle the historical gap between versions 2.9.0 and 2.28.0
- Create PRs only when there are actual changes to document

Claude has access to git, GitHub CLI, and can fetch from YouTrack,
GitHub, and JetBrains plugin pages to gather accurate information.
2025-08-29 18:32:17 +03:00
Alex Plate
12fe8671d3 Add GitHub Action to automatically update IntelliJ version configurations
This workflow runs three times a year (August 15, April 30, December 1)
and uses Claude to check if new IntelliJ versions need to be added to
TeamCity test configurations. Claude will automatically create a PR if
a new version is needed.

The workflow can also be triggered manually for testing.
2025-08-29 18:11:27 +03:00
jetbrains-junie[bot]
6c3a9f214b feat(junie): added .junie workflow 2025-08-29 16:52:06 +03:00
Alex Plãte
a009766a1a "Claude Code Review workflow" 2025-08-29 12:05:24 +03:00
Alex Plãte
d40061f9a4 "Claude PR Assistant workflow" 2025-08-29 12:05:24 +03:00
Alex Plate
73f3d328c5 Try to wait longer till Rider will start 2025-05-09 13:51:40 +02:00
Alex Plate
df3224b02d Start Rider with printing the logs to the output 2025-05-09 13:34:51 +02:00
Alex Plate
0e56a4e86e Remove background Rider start to see the problem when loading 2025-05-09 13:32:22 +02:00
Alex Plate
b882d60416 Trying to make Rider UI tests alive 2025-03-27 15:05:38 +02:00
Alex Plate
3f22c6f9e4 Create UI tests for Rider 2025-03-14 13:50:52 +02:00
Alex Plate
5b8469c276 Use pattern matching in CI tests 2025-03-12 10:52:51 +02:00
Alex Plate
cccf2d9d2f The workflow file was broken 2025-03-07 19:03:29 +02:00
Alex Plate
7826de6601 Update codeql github action
Also, use java 21 there
2025-03-07 18:52:09 +02:00
Alex Plate
ee1928c836 Upgrade java version to 21 2025-02-28 19:39:48 +02:00
Alex Plate
b3631b59ed Update the logs location 2025-02-28 18:15:29 +02:00
Alex Plate
91e6ed545e Use the correct output directory for UI tests 2025-01-20 09:19:11 +02:00