Worker home directory path shown to remote lease holders

オープン 初心者向け
#2,113 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

まず、agent-device デーモン内で open コマンドの Session state: 出力をたどり、リモートリースセッションをどのように判別しているかを確認してください。Issue にはファイル名もテスト名も記載されていないため、まずその出力と関連するテストを特定してください。リモートリースの保持者に worker ローカルの絶対パスが表示されなくなれば完了です。Issue では、その行を省略するか、リース相対のパスまたは識別子を表示することが認められています。

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

説明

Summary

The agent-device daemon on a Simlock worker shows the worker's absolute home directory in client-facing output. For example, open prints a Session state: line with a path like /Users/<worker-user>/.simlock/....

Why it matters

Lease holders are remote clients. The path leaks the worker's OS username and directory layout into their terminals and agent transcripts. They can't use it anyway, because it is a path on the worker.

Environment

  • simlock 0.9.0 worker (macOS).
  • Client: agent-device 0.22 nightly, leasing through the agent-device front.

Steps

  1. Lease an Android device through the front and connect a client.
  2. Run agent-device open com.android.settings --session <name>.
  3. The output includes Session state: /Users/<worker-user>/.simlock/....

Expected

Remote lease holders get no worker-local absolute paths. Either leave the line out for remote sessions, or show a path relative to the lease, or a lease-scoped identifier.

主要言語
TypeScript
スター
730
フォーク
44
平均マージ
15時間 44分
マージ済み PR(30日)
378

環境構築

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

はじめの一歩

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

callstackincubator/simlock のほかの issue

callstackincubator/simlock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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