Repository navigation
fix(wbfy): exempt native addons and recent OSS packages from release age gate - #1315
Conversation
…age gate Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the release age gate configuration to ensure that critical native addons and specific OSS dependencies are not blocked by the seven-day release policy. By explicitly adding these packages to the exclusion list, the change resolves installation failures where optional platform-specific dependencies were being silently omitted, ensuring proper functionality for tools like code-gauge. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. The gate was closed, the addon missed, / We added names unto the list. / Now packages flow, the build is sound, / And native code is finally found. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates packages/wbfy/configs/releaseAgeGate.json to exclude several new packages, including browser/LLM problem utilities and platform-specific code-gauge packages. The review feedback points out that including the Windows-specific package code-gauge-win32-x64-msvc violates the repository style guide, which requires dropping Windows support and ensuring compatibility only with macOS and Linux.
Why
On darwin-arm64,
bunx code-gauge@latestinstalls code-gauge 4.2.2 but fails because its native addon is missing. Both packages are published correctly. The seven-day release-age policy exempts the main package but blocks its exact-version optional platform dependency, which Bun silently omits. Recently published Exercode companion packages and better-auth-email-otp-reliable are also missing from the exclusions.Customer Summary
New releases of the affected WillBooster packages can be installed once the updated policy is applied. code-gauge can obtain its matching native addon without a local Rust build.
Technical Summary
Add ten exact package names to
packages/wbfy/configs/releaseAgeGate.json, the shared source for repository and global package-manager exclusions: all seven code-gauge platform packages, @exercode/problem-utils-browser, @exercode/problem-utils-llm, and better-auth-email-otp-reliable. @exercode/problem-utils is already registered. Keep the seven-day policy for other packages. No code-gauge repository changes are needed.Testing
bun run verify-fullpassed (install, cleanup, typecheck, and all tests). The focused global-release-age and bunfig tests also passed after the additional OSS exclusions (8 tests).On darwin-arm64 with Bun 1.4.0, a fresh installation of code-gauge 4.2.2 with only the main package exempt reproduced the missing-addon failure. Adding the platform exemption installed three packages instead of two and measured sample.js successfully with install scripts disabled. Using the shared policy, an isolated global config and empty bunx/cache directories also produced one file, one function, NCSS 5, and no errors. Verified the additional OSS package names against their GitHub manifests and npm publications. Other platform binaries were not executed locally. No constant-list regression test was added.
Notes
Distribute the updated policy through wbfy to affected machines and repositories. Existing lockfiles or bunx installations that already omit the addon may need a fresh installation after the policy update.