Skip to content

Resolve mirrored external automation runs by job id - #53

Open
snivy-OwlLoft wants to merge 1 commit into
skalenetwork:mainfrom
snivy-OwlLoft:snivy/external-automation-runs-backend
Open

Resolve mirrored external automation runs by job id#53
snivy-OwlLoft wants to merge 1 commit into
skalenetwork:mainfrom
snivy-OwlLoft:snivy/external-automation-runs-backend

Conversation

@snivy-OwlLoft

Copy link
Copy Markdown

Summary

  • resolve mirrored external automation runs by gateway job id when the plugin reports a synthetic automation id
  • keep managed automation run ingestion unchanged while allowing external job mirrors to attach to the correct automation row
  • add a FastAPI regression test covering external run ingestion via the state-report endpoint

Testing

  • python3 -m py_compile clawbits/db/table_write.py tests/fastapi/test_automations.py

Notes

  • Full pytest was not runnable in this checkout because the local Python test toolchain was not installed.

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