`/releases/search` shows an incorrect recent date for an old crate release

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

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

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

評価

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

調査の方向性

/releases/search エンドポイントから開始し、各 crate リリース結果にどのタイムスタンプが使用されているかを追跡します。mssql-tds-preview-0.1.0-preview.9 に表示される日付を、crates.io のバージョン履歴に表示される公開日と比較します。検索結果に、後の docs.rs の更新時刻やインデックス作成時刻ではなく、crate バージョンの実際の公開日が表示されれば完了です。

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

説明

A-backend C-bug P-low

Description

The docs.rs release search appears to show an incorrect date for some crate releases.

For example, searching for mssql-tds:

https://docs.rs/releases/search?query=mssql-tds

currently shows:

mssql-tds-preview-0.1.0-preview.9
Rust implementation of the TDS (Tabular Data Stream) protocol for SQL Server.
Publishable fork of microsoft/mssql-rs until the official crate lands on crates.io.

2 days ago

However, mssql-tds-preview 0.1.0-preview.9 was published approximately three months ago, not two days ago.

Steps to reproduce

  1. Open:

    https://docs.rs/releases/search?query=mssql-tds

  2. Find the mssql-tds-preview-0.1.0-preview.9 result.

  3. Observe that the result is shown as published/updated 2 days ago.

  4. Open the crate page:

    https://docs.rs/mssql-tds-preview/latest/mssql_tds/

  5. Check the version history on crates.io:

    https://crates.io/crates/mssql-tds-preview/versions

The latest version is still 0.1.0-preview.9, which was published around June 26, 2026. No new version was published two days ago.

Expected behavior

The date shown in /releases/search should correspond to the actual release/publication date of the crate version.

For mssql-tds-preview-0.1.0-preview.9, it should therefore show a date around:

Jun 26, 2026

rather than:

2 days ago

Actual behavior

As of September 19, 2026, docs.rs shows:

2 days ago

for mssql-tds-preview-0.1.0-preview.9, even though the version was published approximately three months ago.

Additional information

It looks possible that /releases/search is displaying a more recent docs.rs build, import, indexing, or update timestamp instead of the crate version's publication timestamp.

I am not sure whether the issue is in the stored release metadata, the search query, or the UI/template, but the displayed value does not match the publication date reported by crates.io.

主要言語
Rust
スター
1.2k
フォーク
235
平均マージ
11時間 56分
マージ済み PR(30日)
78

環境構築

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

はじめの一歩

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

rust-lang/docs.rs のほかの issue

rust-lang/docs.rs の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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