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

A backfill finishing after the nightly overwrites it with older state

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

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

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

評価

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

調査の方向性

Start by locating the backfill code that writes seal_criterion and the nightly job that updates it; the issue does not name files or tests. Check whether updated_at reflects execution time, then trace how the backfill chooses its end date based on whether the nightly has run. Done means the backfill ends today in that case and yesterday otherwise, without overwriting newer nightly state.

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

説明

When the backfill runs, it currently finishes yesterday, then writes the seal_criterion row.
If the nightly already ran today, its resulting seal_criterion is overwritten by yesterday's result of the backfill, which is wrong.

Possible consequences
Relatively minor. If the nightly resulted in a change of status, the backfill will put back the old status This will last for a day, then correct itself.
But it could result in grace period of probation to be shifted by a day.

To fix
To correct this, we should first make sure seal_criterion.updated_at is really set to the time the code ran, not a backdated date.
Then use it to determine if the nightly already ran,
If it did, end the backfill today.
If it did not, end it yesterday. The nightly will fill with the correct day's value when it runs.

主要言語
Python
スター
34
フォーク
7
平均マージ
2日 4時間
マージ済み PR(30日)
8

環境構築

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

はじめの一歩

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

MobilityData/mobility-feed-api のほかの issue

MobilityData/mobility-feed-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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