PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.31k stars 1.5k forks source link

prefect-dbt tests fail with no code changes #14297

Open discdiver opened 4 days ago

discdiver commented 4 days ago

First check

Bug summary

Inconsequential update to prefect-dbt docstring leads to prefect-dbt tests which fail with and internal server error. All other tests pass.

Checks: https://github.com/PrefectHQ/prefect/actions/runs/9650208517/job/26616443415?pr=14292

Reproduction

Checks: https://github.com/PrefectHQ/prefect/actions/runs/9650208517/job/26616443415?pr=14292

Error

File "/home/runner/work/prefect/prefect/src/prefect/server/api/server.py", line 253, in custom_internal_exception_handler
    logger.error("Encountered exception in request:", exc_info=True)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1475, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1589, in _log
    self.handle(record)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1599, in handle
    self.callHandlers(record)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
    hdlr.handle(record)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 952, in handle
    self.emit(record)
  File "/home/runner/work/prefect/prefect/src/prefect/logging/handlers.py", line 284, in emit
    self.handleError(record)
Message: 'Encountered exception in request:'
Arguments: ()
--- Error logging to API ---
Server error '500 Internal Server Error' for url 'http://ephemeral-prefect/api/logs/'
Response: {'exception_message': 'Internal Server Error'}


### Versions

Current test suite.

### Additional context

_No response_
discdiver commented 4 days ago

14292 is the scene of the crime