Skip to content

[26.0] Fix incremental rebuild of the ToolShed search index#22650

Open
bgruening wants to merge 2 commits into
galaxyproject:release_26.0from
bgruening:quick_ts_fix
Open

[26.0] Fix incremental rebuild of the ToolShed search index#22650
bgruening wants to merge 2 commits into
galaxyproject:release_26.0from
bgruening:quick_ts_fix

Conversation

@bgruening
Copy link
Copy Markdown
Member

xref: galaxyproject/infrastructure-playbook#60

@natefoo maybe that fixes the TS?

I think the bigger underlying issue is that Repository.update_time is not updated, maybe ...

@bgruening bgruening changed the title [26.0] we skip to early to many repos [26.0] Fix incremental rebuild of the ToolShed search index May 7, 2026
if indexed_document["full_last_updated"] == repo.get("full_last_updated"):
# We're done, since we sorted repos by update time
break
# Something is wrong here Repository.update_time is not "full_last_updated".
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is effectively doing a full rebuild. That's better than nothing but I guess the actual bug is in te get_repos function

@bgruening
Copy link
Copy Markdown
Member Author

Yes, the proper fix is hopefully here: #22661

This is just to get things working on 26.0 and for @natefoo maybe to patch. The proper fix from above is also way faster than the old approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants