NewsCrawler.org

My first open-source PR to vinext was merged after maintainer and AI review rounds

初めてのOSS貢献。vinextに出したPRが、数日後の深夜にマージされていた
Image: zenn.dev

A developer submitted a pull request[1] to vinext on 30 October as their first open-source contribution. Vinext reimplements Next.js APIs on top of Vite[2] and is mainly aimed at deployment to Cloudflare Workers. The problem was that a build.cssTarget[3] set in an app did not take effect: vinext always returned a fixed list of browsers, and Vite concatenates such lists, so newer browser targets could not be set as newer.

The developer's first fix returned the default only when cssTarget was not set. A few days later, the maintainer updated the branch and ran AI reviews several times. The reviews pointed out that checking only top-level settings missed per-environment values and the order of plugins. The maintainer rejected one AI comment, saying the behavior came from Vite's shared-config build itself and not from vinext.

The merged version moved the logic into a separate css-target plugin, applying defaults after config resolution only where no value was given, and the tests were expanded. The merge happened late at night while the developer was asleep. The developer also checked eight other merged pull requests from forks and found that in each one the same maintainer had added commits and requested review with /bigbonk review.

Read the original zenn.dev

Sources

  • Zenn JA

    初めてのOSS貢献。vinextに出したPRが、数日後の深夜にマージされていた

    4 likes0 bookmarks0 comments

Published: First seen: Читать по-русски

Open as a page