Skip to content

refactor(cli): cover the auth and config areas with effect lint (CLI-2740) - #7212

Merged
7ttp merged 2 commits into
7ttp/cli-2741-srctelemetry-area-coverage-commandfrom
7ttp/cli-2740-srcauth-srcconfig-areas-coverage
Oct 19, 2026
Merged

7ttp merged 2 commits into
7ttp/cli-2741-srctelemetry-area-coverage-commandfrom
7ttp/cli-2740-srcauth-srcconfig-areas-coverage

Conversation

@7ttp

@7ttp 7ttp commented Oct 16, 2026

Copy link
Copy Markdown
Member

TL;DR

brings the auth and config areas under the effect lint, tests included

whats introduced?

  • auth/** and config/** join the allow list
  • command-platform-api and project-ref yield their errors directly instead of through Effect.fail, with the same errors and messages
  • the tests swap node:fs, node:path, JSON and Date for useTempWorkdir, the FileSystem and Path services, schema codecs and DateTime, and the hand rolled fs and path fakes in the command-platform-api test go

ref

@7ttp 7ttp self-assigned this Oct 16, 2026
@7ttp
7ttp added this pull request to stack #7208 October 16, 2026 20:48
@7ttp
7ttp requested a review from a team as a code owner October 16, 2026 20:48

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI Review

Both independent reviews completed with no findings. My review of the diff and surrounding code found no additional issues; fixture timing, service wiring, assertions, and error behavior are preserved. Tests were not run because dependencies are absent.

Findings

No issues found.

Stats

Claude findings: 0 · Codex findings: 0 · Confirmed: 0 · Refuted: 0 · 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.

@Coly010 Coly010 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@7ttp
7ttp added this pull request to the merge queue Oct 19, 2026
An error occurred while trying to automatically change base from 7ttp/cli-2741-srctelemetry-area-coverage-command to 7ttp/cli-2741-srctelemetry-area-coverage-state October 19, 2026 15:21
Merged via the queue into develop with commit fa60bf3 Oct 19, 2026
39 checks passed
@7ttp
7ttp deleted the 7ttp/cli-2740-srcauth-srcconfig-areas-coverage branch October 19, 2026 15:21
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