Skip to content

refactor: add job descriptor and build plan types#318

Open
Blackgaurd wants to merge 1 commit intomainfrom
04-17-refactor_add_job_descriptor_and_build_plan_types
Open

refactor: add job descriptor and build plan types#318
Blackgaurd wants to merge 1 commit intomainfrom
04-17-refactor_add_job_descriptor_and_build_plan_types

Conversation

@Blackgaurd
Copy link
Copy Markdown
Collaborator

@Blackgaurd Blackgaurd commented Apr 17, 2026

Summary

  • Add JobDescriptor, JobResult, and BuildPlan dataclasses in new service/models.py
  • Pure data types for the upcoming scheduler/queue/worker refactor
  • JobDescriptor is frozen/hashable for use as dict keys
  • BuildPlan.levels groups jobs by topological depth (roots first, requested dataset last)

Test plan

  • 12 unit tests covering equality, hashing, immutability, and structural properties
  • just fix passes
  • just test passes

🤖 Generated with Claude Code

Copy link
Copy Markdown
Collaborator Author

Blackgaurd commented Apr 17, 2026

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