Skip to content

Conversation

@chris48s
Copy link
Member

Refs https://app.asana.com/1/1204880536137786/project/1204880927741389/task/1212070426872673?focus=true

In this PR, I am getting rid of biography_last_updated as a field we explicitly set. I've converted it to a property which is inferred from the version history. It is still surfaced as a field in the API for WCIVF to consume.

@chris48s chris48s requested a review from symroe November 26, 2025 15:22
@chris48s chris48s changed the title switch biography_last_updated to @property work out biography_last_updated from version history Dec 4, 2025
@chris48s chris48s force-pushed the boi-last-update20251126 branch from bc24909 to 8587034 Compare December 4, 2025 12:36
@chris48s
Copy link
Member Author

chris48s commented Dec 4, 2025

I've updated this to use the approach suggested.
I think ideally I'd like to have some tests asserting what the value of biography_last_updated should be with various different version history arrays, but I've already spent quite a bit of time on this now. I might circle back to it.

@symroe
Copy link
Member

symroe commented Jan 12, 2026

I sill have some concerns about performance of generating this on the fly, but I can't actually cause any problems on my local install. Pushing more work to the DB at least means it'll be easy enough to track if this were a problem, so I think we should run with it for now and keep an eye on things.

@chris48s chris48s merged commit 1dff2d3 into master Jan 12, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants