GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: approve window-scoped 化のコード簡潔化 by ymnao · Pull Request #151 · ymnao/scripta

Conversation

@ymnao

@ymnao ymnao commented Jun 7, 2026

Copy link
Copy Markdown
Owner

概要

PR #150(approve リスト window-scoped 化)で追加されたコードの簡潔化・コメント更新。

関連 Issue

PR #150 のフォローアップ

移行 Stage

該当なし(既存コードのリファクタリング)

変更内容

  • approveWorkspacePath の get-or-create パターンを nullish coalescing(??)で簡潔化
  • __testing.getApprovedWorkspacePaths の手書きディープコピーループを structuredClone に置換
  • isPathWithinAnyAllowedRoot のコメントを approve window-scoped 化済みの現状に更新(stale な TODO を修正)

動作確認

  • pnpm typecheck 通過
  • pnpm test 全 2016 テスト通過
  • pnpm lint 通過

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ymnao @claude
refactor: approve window-scoped 化のコード簡潔化
2264f3b
- approveWorkspacePath の get-or-create を nullish coalescing で簡潔化
- __testing.getApprovedWorkspacePaths を structuredClone に置換
- isPathWithinAnyAllowedRoot のコメントを approve window-scoped 化済みの現状に更新

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings June 7, 2026 14:18
Copilot AI reviewed Jun 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ymnao
ymnao merged commit 2eb4783 into main Jun 7, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@ymnao
ymnao deleted the refactor/simplify-approve-window-scoped branch June 7, 2026 14:27
@ymnao ymnao mentioned this pull request Jun 13, 2026
release: v0.3.0 #185
Merged
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ymnao
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.