Skip to content

New Predict Occultation Pipeline using Slurm#1189

Open
glaubervila wants to merge 14 commits into
mainfrom
1188-predict-task-manager
Open

New Predict Occultation Pipeline using Slurm#1189
glaubervila wants to merge 14 commits into
mainfrom
1188-predict-task-manager

Conversation

@glaubervila
Copy link
Copy Markdown
Contributor

No description provided.

Implements a new prediction occultation module, including task management and worker processes for preparing, submitting, and ingesting results.

Introduces new models and management commands to support task lifecycle management and integrates with a cluster job submission system.

Enhances the logging system for better traceability with colored output and structured loggers for different workers, facilitating easier debugging and monitoring.

Relates to the overall improvement of the backend processing for asteroid prediction tasks.
Introduces new API endpoints for managing prediction tasks and attempts, enhancing the functionality of the application.

Registers the PredictionTaskViewSet and PredictionAttemptViewSet in the URL router. Implements serializers for data handling and provides detail retrieval for prediction tasks along with related attempts.

Removes unused test and view files to streamline the codebase.
Implements a new feature that groups prediction tasks by their state, enhancing data visualization for users.

Introduces a summary component that displays the count of tasks in each state using state chips.

Updates the routing to include a dedicated page for prediction tasks, improving navigation.

Enhances the API with endpoints for fetching grouped task data, promoting efficient data handling.
Implements a new WorkersHeartbeat model to track the status and uptime of workers.

Registers the WorkersHeartbeat API endpoint and integrates it into the admin panel for monitoring.

Includes frontend components to display worker status and heartbeat information within the Prediction Tasks interface.

Enhances overall monitoring capabilities of the backend processing workflow.
Implements a new LocalExecutor class to facilitate local job submission for testing purposes, improving flexibility in execution environments.
Introduces the BspAsteroid model to manage asteroid data with additional metadata.

Implements a management command to update the BspAsteroid table with information from existing files, ensuring the integrity of the asteroid data.

Enhances the administrative interface for BspAsteroid, allowing for easier management and search capabilities.
Implements a migration to modify fields in the BspAsteroid model, enhancing database structure with better indexing and help text for clarity.

Introduces a new AsteroidEphemerisDAO class to facilitate asteroid ephemeris data retrieval by name.

Updates PrepareWorker to integrate the new AsteroidEphemerisDAO for improved asteroid ephemeris information handling.
Eliminates the PredictionAttempt model and its associated views, serializers, and registration in the admin interface.

This change streamlines the codebase by removing unused components, simplifying the prediction process, and enhancing maintainability.

Additionally, it updates routing and migration files to reflect this removal, ensuring the application remains functional without the deleted elements.
Enhances the enqueue_predictions management command to support asteroid-specific parameters, including start and end dates, asteroid name, and dynamic classes.
Introduces a new 'debug' field to the PredictionTask model to control the cleanup of working directories.

Additionally, updates task scripts to log the output manifest and manage task cleanup based on debug status.
@glaubervila glaubervila linked an issue Oct 3, 2025 that may be closed by this pull request
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.

Alterar a submissão de jobs no portal.

1 participant