Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Consider making triggers distinct from steps in the runtime

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
typescript
領域
backend

調査の方向性

まず runtime の workflow と trigger 処理を読み、その後、現在の構造を公式プロジェクト仕様と比較します。既存の next 関係を含め、workflow の開始と trigger ID がどのように表現されているかを確認します。workflow の実行を壊すことなく、設計と実装で trigger と step が一貫して区別されていれば完了です。

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

説明

enhancement

At the moment, a trigger in the runtime is just a step with no expression.

It might be cleaner to represent triggers as a different array in the workflow:

{
  steps: {},
  triggers: { webhook: {}  }

A trigger would still have a next, so it is a kind of step really.

Workflows would have a rule like "execute from the first trigger" if a start isn't defined. That removes the workflow.start key, which is designed to set the default/intended start node. But workflows should start from a trigger- so by default you;d just start from a trigger. And if you want you can pass another trigger id.

This doens't really materially matter. But it might be a neater way to handle triggers internally, and keeps the workflow structure closer to the official project spec.

主要言語
TypeScript
スター
22
フォーク
23
平均マージ
1日 6時間
マージ済み PR(30日)
26

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

OpenFn/kit のほかの issue

OpenFn/kit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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