News for hackers. Stuff that matters.
Re:Show HN: Fully automated codebase migrations and upgrades... by chandan_maruthi on Monday August 28, 2023 @12:01PM (#37296196)
How do you handle dependencies like libraries?
Re:Show HN: Fully automated codebase migrations and upgrades... by immortalloom on Monday August 28, 2023 @12:03PM (#37296238)
We use LangChain to crawl documentation and code examples for relevant frameworks and libraries, to make sure that the AI generated PR is up-to-date. We also have a custom dependency resolver that detects which new dependencies need to be added, as well as updating the package.json files with the correct version numbers
Re:Show HN: Fully automated codebase migrations and upgrades... by chandan_maruthi on Monday August 28, 2023 @12:08PM (#37296308)
"custom dependency resolver" I am intrigued, Ill check it out.
Re:Show HN: Fully automated codebase migrations and upgrades... by immortalloom on Monday August 28, 2023 @12:15PM (#37296427)
In general, as our AI agents produce code files, we collect dependencies, and then at the end, use npm to determine the correct version numbers without actually installing on disk