Add proposalId filter to analytics endpoints and update ProposalStatus enum#38
Open
Andre-Diamond wants to merge 4 commits intomainfrom
Open
Add proposalId filter to analytics endpoints and update ProposalStatus enum#38Andre-Diamond wants to merge 4 commits intomainfrom
Andre-Diamond wants to merge 4 commits intomainfrom
Conversation
…s enum - Introduced a new `proposalId` query parameter across multiple analytics endpoints to allow filtering by specific proposal IDs. - Updated the `ProposalStatus` enum in the schema to include a new status `DROPPED`. - Adjusted related models and response interfaces to accommodate these changes.
- Implemented API endpoints for triggering DRep info, inventory, lifecycle, epoch totals, missing epochs, and pool groups synchronization. - Created corresponding cron jobs for automated synchronization of DRep info, inventory, lifecycle events, epoch totals, missing epochs, and pool groups. - Each job and endpoint includes database-level locking to prevent concurrent executions and handles error logging and status updates.
- Adjusted DRep inventory sync to run hourly at :02 instead of :05 - Changed DRep info full refresh to run hourly at :22 instead of :15 - Updated epoch totals sync to run hourly at :12 instead of :10 - Modified DRep lifecycle events to run hourly at :37 instead of :25 - Altered pool group mappings to run hourly at :47 instead of :30 - Set missing epochs backfill to run every 6 hours at :33 instead of :00 - Changed DRep delegation change sync to run hourly at :57 instead of :40 refactor: update default schedules in job files to match new timings - Updated default cron schedules in respective job files to reflect new timings for DRep and epoch analytics syncs. feat: implement epoch totals completeness checks - Added functions to check for incomplete epoch totals and determine if completeness is required based on epoch number. - Integrated completeness checks into the sync process for epoch totals and missing epochs. feat: enhance proposal ingestion with metadata handling - Introduced logic to backfill missing proposal metadata fields during ingestion. - Added a new function to finalize proposal status after vote sync, ensuring accurate status updates post-ingestion. fix: ensure proper handling of proposal statuses during sync-on-read - Updated sync-on-read logic to apply intended proposal statuses only after successful vote sync.
refactor: update cron job schedules for DRep and epoch analytics syncs
Contributor
Author
|
refactor: update cron job schedules for DRep and epoch analytics syncs
refactor: update default schedules in job files to match new timings
feat: implement epoch totals completeness checks
feat: enhance proposal ingestion with metadata handling
fix: ensure proper handling of proposal statuses during sync-on-read
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
proposalIdquery parameter across multiple analytics endpoints to allow filtering by specific proposal IDs.ProposalStatusenum in the schema to include a new statusDROPPED.