localstack / localstack/localstack-desktop

increase authorized device timeout

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

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

主要言語
言語のデータがありません
スター
43
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently I am asked to "sign in" to authorise my device (my iMac) every 1-2 hours.
This happens regardless of whether I create a new localstack instance or not.
This is very frustrating as the interface only shows what was available before the page eg cloudwatch logs is force refreshed which then triggers a new sign in screen.

Ideally the auth mechanism for the device (in this case my iMac) should last longer than 1 hour,
a week would be ideal.
This would facilitate a much better user development experience.

To replicate this:

  • Create a localstack instance
  • open localstack desktop
  • click on the instance
  • click on "Resource browser"
  • click the "log in" button
  • copy the provided code and paste it into the opened web page in your browser
  • hi the aythorise button in the browser.
  • close the browser window.
  • do some work and open a log group in cloudwatch logs
  • note how many log streams ar available
  • do some more work leaving the desktop app open for about 1+ hours
  • do work that generates a new log stream in the group you chose previously
  • go back to the desktop app and click the link to go back to cloudwatch logs in the breadcrumbs path
  • select the same group you chose previously
  • note that there are no new log streams with respect to your recent work
  • force refresh the page (command+shift+R on my Mac)
  • click the "login" button that now appears
  • repeast steps to copy code, paste code and authorise device.
  • Refreshing the logstream at this point may or may not work and you may need to click on the home icon and navigate all the way back through the instance and resource browser to find the log stream tou were previously viewing and see it does indeed have the log stream of the most recent work.

As you can see this is very frustrating as without doing a "force refresh" to trigger a sign in flow no new data is shown in the interface.
This also make it look like the infrastructure being developed is not working when it actually is and its the interface thats not updating.

Apologies for the long explanation ;)

I hope this can be resolved easily
cheers

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

LocalStack Desktop の Resource browser と CloudWatch logs について、まず再現手順から始め、デバイス認証フローと 1 時間後の更新動作に焦点を当てます。完了とは、要求されたより長い期間にわたって認証が引き続き利用でき、新しく生成されたログストリームが、強制更新やサインインのやり直しなしで表示されることを意味します。

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

評価

技術スタック
aws
領域
authentication, desktop, observability
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

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

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