Skip to content

cbor2 dependency issue #112

@kalyanaramansanthanam

Description

@kalyanaramansanthanam

I had to pin cbor2 to 5.9 for it to work
here's the stacktrace

  2026-05-07 05:08:11.025 [error] Exception in ASGI application                                                                                                   
                                                                                                                                                                  
  Traceback (most recent call last):                                                                                                                              
    File "/var/task/_vendor/vercel/_internal/workflow/worlds/vercel.py", line 34, in _cbor_tag_hook                                                               
      if tag.tag == 64:                                                                                                                                           
         ^^^^^^^                                                                                                                                                  
  AttributeError: 'bool' object has no attribute 'tag'                                                                                                            
                                                                                                                                                                  
  The above exception was the direct cause of the following exception:                                                                                            
                                                                                                                                                                  
  Traceback (most recent call last):                                                                                                                              
    File "/var/task/_vendor/vercel_runtime/_vendor/uvicorn/protocols/http/httptools_impl.py", line 416, in run_asgi                                               
      result = await app(  # type: ignore[func-returns-value]                                                                                                     
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                     
    File "/var/task/_vendor/vercel_runtime/_vendor/uvicorn/middleware/proxy_headers.py", line 60, in __call__                                                     
      return await self.app(scope, receive, send)                                                                                                                 
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                 
    File "/var/task/_vendor/vercel_runtime/vc_init.py", line 631, in __call__                                                                                     
      await self.app(new_scope, receive, send)                                                                                                                    
    File "/var/task/_vendor/fastapi/applications.py", line 1160, in __call__                                                                                      
      await super().__call__(scope, receive, send)                                                                                                                
    File "/var/task/_vendor/starlette/applications.py", line 107, in __call__                                                                                     
      await self.middleware_stack(scope, receive, send)                                                                                                           
    File "/var/task/_vendor/starlette/middleware/errors.py", line 186, in __call__                                                                                
      raise exc                                                                                                                                                   
    File "/var/task/_vendor/starlette/middleware/errors.py", line 164, in __call__                                                                                
      await self.app(scope, receive, _send)                                                                                                                       
    File "/var/task/_vendor/starlette/middleware/cors.py", line 95, in __call__                                                                                   
      await self.simple_response(scope, receive, send, request_headers=headers)                                                                                   
    File "/var/task/_vendor/starlette/middleware/cors.py", line 153, in simple_response                                                                           
      await self.app(scope, receive, send)                                                                                                                        
    File "/var/task/_vendor/starlette/middleware/exceptions.py", line 63, in __call__                                                                             
      await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)                                                                                    
    File "/var/task/_vendor/starlette/_exception_handler.py", line 53, in wrapped_app                                                                             
      raise exc                                                                                                                                                   
    File "/var/task/_vendor/starlette/_exception_handler.py", line 42, in wrapped_app                                                                             
      await app(scope, receive, sender)                                                                                                                           
    File "/var/task/_vendor/fastapi/middleware/asyncexitstack.py", line 18, in __call__                                                                           
      await self.app(scope, receive, send)                                                                                                                        
    File "/var/task/_vendor/starlette/routing.py", line 716, in __call__                                                                                          
      await self.middleware_stack(scope, receive, send)                                                                                                           
    File "/var/task/_vendor/starlette/routing.py", line 736, in app                                                                                               
      await route.handle(scope, receive, send)                                                                                                                    
    File "/var/task/_vendor/starlette/routing.py", line 290, in handle                                                                                            
      await self.app(scope, receive, send)                                                                                                                        
    File "/var/task/_vendor/fastapi/routing.py", line 130, in app                                                                                                 
      await wrap_app_handling_exceptions(app, request)(scope, receive, send)                                                                                      
    File "/var/task/_vendor/starlette/_exception_handler.py", line 53, in wrapped_app                                                                             
      raise exc                                                                                                                                                   
    File "/var/task/_vendor/starlette/_exception_handler.py", line 42, in wrapped_app                                                                             
      await app(scope, receive, sender)                                                                                                                           
    File "/var/task/_vendor/fastapi/routing.py", line 116, in app                                                                                                 
      response = await f(request)                                                                                                                                 
                 ^^^^^^^^^^^^^^^^                                                                                                                                 
    File "/var/task/_vendor/fastapi/routing.py", line 670, in app                                                                                                 
      raw_response = await run_endpoint_function(                                                                                                                 
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                 
    File "/var/task/_vendor/fastapi/routing.py", line 324, in run_endpoint_function                                                                               
      return await dependant.call(**values)                                                                                                                       
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                       
    File "/var/task/_vendor/revboost_api/routers/orgs.py", line 154, in create_org                                                                                
      run_id = await trigger_org_created(                                                                                                                         
               ^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                         
    File "/var/task/_vendor/revboost_api/workflows/org_created/__init__.py", line 29, in trigger                                                                  
      run = await start(org_created_workflow, payload=payload.model_dump())                                                                                       
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                       
    File "/var/task/_vendor/vercel/_internal/workflow/runtime.py", line 737, in start                                                                             
      result = await world.events_create(None, data.into_event())                                                                                                 
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                 
    File "/var/task/_vendor/vercel/_internal/workflow/worlds/vercel.py", line 293, in events_create                                                               
      return await self._cbor_request(                                                                                                                            
             ^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                            
    File "/var/task/_vendor/vercel/_internal/workflow/worlds/vercel.py", line 126, in _cbor_request                                                               
      result = cbor2.loads(                                                                                                                                       
               ^^^^^^^^^^^^                                                                                                                                       
  cbor2.CBORDecodeError: error decoding semantic tag 64                                                                                                           

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions