Skip to content

Comments

deploy to prod#319

Merged
JoaquinBN merged 10 commits intomainfrom
dev
Jan 20, 2026
Merged

deploy to prod#319
JoaquinBN merged 10 commits intomainfrom
dev

Conversation

@JoaquinBN
Copy link
Collaborator

No description provided.

JoaquinBN and others added 10 commits January 19, 2026 11:46
- Add defaultMission prop to ContributionSelection in AllContributions to properly preselect missions from URL
- Filter top_contributors query by state='accepted' to only include approved contributions
- Remove dead code that created unused users dict
- Optimize database queries in top_contributors endpoint
…lter-fix

Fix mission filtering and top contributors visibility
The top_contributors query was filtering by state='accepted', but the Contribution model does not have a state field. This filter only exists on SubmittedContribution (for pending submissions). Removing the invalid filter resolves the empty list issue.
…butors-fix

Fix top contributors list showing empty
Add middleware for [API], [DB], and [APP] layer logging with:
- Single DEBUG toggle controlling verbose vs production mode
- Correlation IDs linking related requests across layers
- Request timing breakdown (total, DB time, logic time)
- Complete PII removal from all log messages
- JSON format in production, text format in development

Updates deploy scripts to include CRON_SYNC_TOKEN environment variable.
…gging

Implement clean, layer-based logging with correlation IDs
…e-rename

Revert Django project directory rename back to tally
@JoaquinBN JoaquinBN merged commit 38271de into main Jan 20, 2026
15 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.

1 participant