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

idle-shutdown: notify Lambda rotates the wake token and makes the first wake link invalid

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

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

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

評価

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

調査の方向性

idle-shutdown READMEの56行目あたりとnotify-lambda/handler.pyの106行目あたりを読み、path Bトークンのローテーションについて文書化された条件とhandlerの動作を比較してください。idle-check.shがwakeトークンをどのように作成して送信するか確認してください。コードとREADMEが一致し、最初のwakeリンクがstoppedイベント後も有効であれば完了です。

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

説明

bug crew: needs human

idle-check.sh makes a wake token, sends the wake link on Telegram, and then stops the instance. The stopped event then starts notify-lambda/handler.py. At line 106 ("Always generate a fresh token"), this code always writes a new token to the same SSM key. Thus the first link does not work.

The README line 56 says that path B rotates the token only if the token is missing or older than the stop. The code does not do this check.

Fix: do the check that the README gives, or make the README and the code agree.

Found by a static read of the code at commit 1f66a8f. The code was not run.

主要言語
Shell
スター
73
フォーク
11
平均マージ
6時間 46分
マージ済み PR(30日)
5

環境構築

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

はじめの一歩

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

inceptionstack/lowkey のほかの issue

inceptionstack/lowkey の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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