Skip to content

Conversation

@chadlwilson
Copy link
Contributor

Some minor reformatting required to make the automated replacements easier.

Some minor reformatting required to make the automated replacements easier.
@chadlwilson chadlwilson merged commit b8ab27f into jruby:master Aug 15, 2025
5 checks passed
@chadlwilson chadlwilson deleted the rspec-deprecations branch August 15, 2025 04:48
@kares
Copy link
Member

kares commented Aug 15, 2025

just curious, what did you use to automate the replacements?

@chadlwilson
Copy link
Contributor Author

Good question.

Believe it or not, I threw JetBrains Junie at it which got me 85% of the way there (just with default Claude Sonnet 3.7 underneath) with a bit of coaxing, and then getting annoyed at it breaking some syntax and screwing up some formatting, and not being able to run the tests itself due to PATH problems with jruby/java etc. Didn't try Sonnet 4 though. It mainly seemed to construct some dodgy error-prone regexes and then go back and fix syntax after I told it to, so maybe not so different to how I'd have done it, haha.

First time I have used Junie though, I am figuring my way through agent-mode for OSS refactoring, so wanting something easyish like this to have a go with.

Currently I have a Jetbrains Ultimate license and GH Copilot license for OSS usage, but not Jetbrains AI though, so will run out of credits pretty quickly :-)

@kares
Copy link
Member

kares commented Aug 15, 2025

Nice, thought you had some kind of an AI approach.

I am also trying to figure out the best setup to help me around OSS (and beyond).
Thanks for sharing...

@chadlwilson
Copy link
Contributor Author

Yeah, I already use GitHub Copilot quite a bit IDE-integrated for auto-completion, back-writing tests and just asking questions of (useful when working in language ecosystems I don't know well) but supervised refactoring like this should be relatively easy stuff for most of these models one would hope.

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.

2 participants