Inbox: run a routine on a linked machine, managed from the one that made it

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start by reading the machine-link launch forwarding path and the inboxLaunch.enabled / 403 window_only grant check, since the proposal hinges on whether a scheduled run can reuse that forward without a window press. Then look at the routine record and schedule handling, including the asleep/if_missed: run_once missed-run recording, and at the folder picker that already groups folders by linked machine. Done looks like a routine that names a target machine, forwards due runs through the link, records unreachable targets as missed, and is gated by an explicit opt-in on the target — the grant rule is still an open design question to settle before coding.

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

説明

Problem

Routines run on the computer that made them (#3409, "Known gaps in this version": "A routine is managed on the computer that made it" and "no sync of schedules between computers").

My setup is an always-on devbox where I manage everything, linked to a laptop. Some routines need the laptop (local apps, files, a signed-in browser). Today the only way is to create the routine in the laptop's own Inbox, so my routines end up split across two windows, and the laptop's schedule only fires while it's awake.

Proposal

Let a routine name a linked machine to run on, while its record and schedule stay on the machine that made it:

  • Create/edit: the folder picker already groups folders by linked machine for launches; a routine could take a folder on a linked machine the same way.
  • Run: when a run is due, the owning machine sends it as a launch through the existing machine-link forward (the same path a window launch on a linked machine takes). The runs' thread already works across linked machines.
  • Offline machine: if the target isn't reachable, the run is recorded as missed (like asleep), and if_missed: run_once sends it once the machine is back.
  • Grant: a launch through the link needs the window mark today (403 window_only without it). A scheduled run has no window press, so this would need its own rule, e.g. the target machine opts in to "routines from linked machines" next to inboxLaunch.enabled.

The last point is the part I'm least sure fits your model. Happy to hear if there's a better way, or if this is out of scope.

主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 1分
マージ済み PR(30日)
756

環境構築

はじめの一歩

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

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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