Skip to content

Delete RunPlan and use just Task #253

Closed

Description

@callumforrester

Currently, RunPlan extends Task because we expected multiple types of Task. Now this seems unlikely, Task should just become an ordinary pydantic model. It may also be useful at this point to move the logic for running a task out of RunPlan and into RunEngineWorker as polymorphism is no longer needed.

Activity

  1. added
    enhancement
    on May 31, 2023
  2. self-assigned this
    on Mar 5, 2024
  3. stan-dot commented on Mar 5, 2024

    @stan-dot
    Contributor

    working on this as #206 needs this

  4. added
    c: cli
    on Mar 5, 2024
  5. stan-dot commented on Mar 6, 2024

    @stan-dot
    Contributor

    running the tests to ensure correct setup. getting an error of 'integration-test' kind (?).
    File "/venv/lib/python3.11/site-packages/stomp/transport.py", line 628, in send raise exception.NotConnectedException() stomp.exception.NotConnectedException

    in test_stomptemplate.py

  6. stan-dot commented on Mar 6, 2024

    @stan-dot
    Contributor

    using the pytest -m "not stomp" to skip those tests.

    update result: all green, 87% coverage

  7. linked a pull request that will close this issueremove RunPlan class that wraps Task #382on Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: clienhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions