Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

まれに IndexedDB 関連のバグで動かなくなる #18

Open
hotarunw opened this issue Apr 5, 2023 · 0 comments
Open

まれに IndexedDB 関連のバグで動かなくなる #18

hotarunw opened this issue Apr 5, 2023 · 0 comments

Comments

@hotarunw
Copy link
Owner

hotarunw commented Apr 5, 2023

概要

まれに動かなくなる。
https://twitter.com/EtisingC/status/1643256356286369792?s=20

再現手順

まだ再現していない。

修正しないとどう困るか

困る😖😖😖。

原因

IndexedDB を消すと解消したので、IndexedDB周りに原因があると推測する。

本スクリプトが使うライブラリ key-moon/atcoder-problems-api は、
Submissions API で取得した情報を Indexed DB へキャッシュしている。

atcoder-problems-api のエラーハンドリングに問題があると推定する。
atcoder-problems-api が異常なAPIレスポンスを受け取ると、atcoder-problems-api がキャッシュの構築に失敗してバグると推定する。

修正案

  • atcoder-problems-api にバグがあれば見つけて直す
  • 直さない 稀な事象で対処方法もあるため
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant