PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Move ensure_logging_setup import to top of context.py Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/OSS-6581-1774992663
4 hours ago
Address review: move ensure_logging_setup into hydrated_context, remove is_logging_configured - Moved ensure_logging_setup() call from task_engine.py into hydrated_context() in context.py, so it runs automatically when a serialized context is provided (remote execution) - Removed is_logging_configured() since it was only used in tests - Removed ensure_logging_setup import/calls from task_engine.py Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/OSS-6581-1774992663
4 hours ago
Remove APILogHandler flush from task engine finally blocks The flush was running on all task runs (including local ThreadPool runs where self.context is set to {cancel_event: ...}), disrupting the EventsWorker service. The core fix (ensure_logging_setup) is sufficient for the remote worker logging issue. Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/OSS-6581-1774992663
4 hours ago
chore(deps): bump @xmldom/xmldom from 0.8.11 to 0.8.12 in /ui-v2 (#21381) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
main
5 hours ago
Ensure logging is configured on remote task workers When tasks execute on remote Dask/Ray workers via a serialized context, the worker process may never have called setup_logging(), so the APILogHandler is missing from Prefect loggers and task logs are silently lost. Add ensure_logging_setup() API in logging/configuration.py that encapsulates the PROCESS_LOGGING_CONFIG check and only calls setup_logging() if needed. Call it from both SyncTaskRunEngine and AsyncTaskRunEngine initialize_run() when a serialized context is present. Flush APILogHandler in the finally block to ensure logs are sent before the task result is returned. Closes #18082 Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/OSS-6581-1774992663
21 hours ago
Log PermissionError when UI static directory creation fails (#21035) Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com> Co-authored-by: Alex Streed <ajstreed1@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
main
21 hours ago
fix: mock os.path.exists for UI source static path in test In CI, the UI static assets aren't built so os.path.exists returns False for source_static_path, skipping the entire code block under test. Mock it to return True so the PermissionError path is exercised. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Br1an67:fix/issue-19317-log-ui-static-dir-error
21 hours ago
Update AGENTS.md files for b9b03fc (#21377) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
main
22 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Ensure logging is configured on remote task workers
#21379
4 hours ago
f0eee82
devin/OSS-6581-1774992663
CodSpeed Performance Gauge
0%
Log PermissionError when UI static directory creation fails
#21035
22 hours ago
4b54067
Br1an67:fix/issue-19317-log-ui-static-dir-error
CodSpeed Performance Gauge
0%
fix: use create_api_app in OrchestrationClient to prevent read-only container failures
#20905
1 day ago
0f95193
Br1an67:fix/19317-ha-readonly-automation
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs