Repository navigation
Conversation
…with effect lint (CLI-2648)
Contributor
There was a problem hiding this comment.
🤖 AI Review
Both independent reviews were available. Confirmed one redundant-service-provision nit and refuted the duplication-only nit under trusted repository conventions. Codex reported no findings. Verification was by code inspection; tests were not run.
Findings
| Severity | Location | Category | Sources | Claim |
|---|---|---|---|---|
| ⚪ NIT | apps/cli/src/command-internal/pflag-reconcile.unit.test.ts:316 |
test-quality |
claude | The services() helper redundantly includes BunServices.layer because both tests using it already provide that layer around the outer effect. |
Refuted findings (kept for transparency, not posted as review comments)
apps/cli/src/command-internal/upgrade-notice.unit.test.ts:761(duplication): Duplicated captureStderr and withMode test helpers should be centralized to prevent maintenance drift.
Refuted: The duplication exists, but trusted/CLAUDE.md:159 explicitly accepts some duplication instead of unnecessary test abstractions, and trusted/apps/cli/CLAUDE.md:36-38 says not to automatically extract every helper used twice. Both stderr helpers restore the original writer through acquireUseRelease. The chmod helpers also restore permissions, with the configurable variant supporting both file and directory modes. No faulty behavior or maintenance drift was identified; duplication alone does not establish a quality defect under these conventions.
Stats
Claude findings: 2 · Codex findings: 0 · Confirmed: 1 · Refuted: 1 · Uncertain: 0
Models: claude-opus-5-5 + gpt-6.1-sol · Trigger: auto · Workflow run
This review runs once per PR. A maintainer can request another with a /ai-review comment.
7ttp
added this pull request to stack #7151
October 14, 2026 12:17
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
brings the
upgrade,flagsandfilesystemmodules under the effect lint, with theoutput,statusand go-compat helpers around themwhats introduced?
upgrade-noticeleft to its own follow-uppflag-reconcilereadsSUPABASE_PROFILE,SUPABASE_WORKDIRand the supabase home fromCommandSettingsinstead ofprocess.env, soprofileFilePathgoesgit-statustakes thePathservice,timestamp.formatgoes throughDateTime, and thego-struct-outputandstring-slice-flagerrors move toData.Errorwith the same names and fingerprintsnode:fsandprocess.envfor scoped temp dirs and config providers, and theprompt-yes-noandpflag-reconciletests move toit.effectref