Skip to content

Clean up items that are deleted on Steam, and their properties #139

Open

Description

@disconsented

Items that the author deletes on Steam stay in the index. Example: https://workshop-walker.disconsented.com/item/3806150241/Dragons-of-the-winter-land still shows, but the Steam page is gone.

The hidden flag from #99 does not catch this. src/processing/join_process_actor.rs:64 only hides an item when Steam returns a not-OK result for it. A deleted item drops out of the Steam query results, so the program never asks for it again and never sees the failure.

Proposal:

  • New migration: add a last_synced datetime to workshop_items. Do not edit an applied migration.
  • Set last_synced on each upsert in an update cycle.
  • After a full update cycle, select the items with last_synced older than the start of that cycle. Send their IDs to GetPublishedFileDetails and hide the ones that Steam reports as not OK.
  • Remove the property links of a hidden item, so property counts and search do not include it.
  • Decide if a hidden item is deleted after a grace period, or kept for votes and companion links.

Activity

  1. added
    bug
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions