Hygiene: tsconfig.tsbuildinfo is tracked and churns every build; stale log files in web source tree; CWD-relative logger defaults; dead ValidateRequest.filename; AGENTS.md utils tree missing path_utils.py

オープン
#149 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, typescript, vite

調査の方向性

Start by checking the listed files and paths: src/profiles/web/package.json, both logger definitions in core/telemetry/diagnostics.py, src/profiles/web/routes/config.py, client.ts, and the Utils Layer tree in AGENTS.md. Verify each reported issue against the repository and its current references before changing it. Done means the tracked build artifact and stale logs are addressed, logger defaults no longer write relative to the working directory, the unused request field is resolved, and the documented tree includes path_utils.py.

索引モデルが issue の本文から書いたものです。

説明

code-quality

Hygiene sweep (all git/read verified)

  1. tsconfig.tsbuildinfo tracked in git — written by "build": "tsc -b && vite build" (package.json:7); tsc -b always emits it. Not covered by any .gitignore (git check-ignore → NOT IGNORED), committed historically and drifting on every local build. Fix: git rm --cached src/profiles/web/tsconfig.tsbuildinfo + add *.tsbuildinfo to src/profiles/web/.gitignore.

  2. Stray logs in the package source dir — src/profiles/web/profiles.log (Oct 15, legacy CWD-relative write), test-output.log + test-output2.log (Nov 3 manual npm test > … redirections, no script references them). They are untracked and ignored, but they signal a latent foot-gun: LoggerFactory.__init__ (core/telemetry/diagnostics.py:163) and configure_logger (diagnostics.py:281) still default to log_path="profiles.log" (CWD-relative) — any future caller of get_logger() without an explicit path reintroduces CWD log litter. Fix: delete the three files; change both signature defaults to log_path=None resolving to default_log_path() (mirroring app.py:120).

  3. ValidateRequest.filename is a dead contract field — declared in routes/config.py:39-41, dutifully sent by the client (client.ts:225-236), but validate_config_endpoint only uses payload.content (config.py:360-368). Drop it (or actually use it in issue messages).

  4. AGENTS.md tree missing src/profiles/utils/path_utils.py — the Utils Layer section lists only file_utils.py, network.py, search_parser.py, shortcut.py, while path_utils.py (home of normalize_user_path, imported by the config routes) exists — exactly the stale-import-path hazard the AGENTS.md "Keep in sync" note warns about. Add it to the tree.

主要言語
Python
スター
1
フォーク
1
平均マージ
4時間 46分
マージ済み PR(30日)
55

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

falbany/ProFiles のほかの issue

falbany/ProFiles の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。