- 
                Notifications
    
You must be signed in to change notification settings  - Fork 118
 
          Accept multiple POST /invoke requests to allow parallel testing
          #585
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
      
        
          +735
        
        
          −120
        
        
          
        
      
    
  
  
     Merged
                    Changes from 15 commits
      Commits
    
    
            Show all changes
          
          
            41 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      1de4b19
              
                Gently decline subsequent POST /invoke request while the Lambda handl…
              
              
                 f35685c
              
                Update Sources/AWSLambdaRuntime/Lambda+LocalServer.swift
              
              
                sebsto 44068af
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 af43436
              
                Merge branch 'sebsto/fix_584' of github.com:sebsto/swift-aws-lambda-r…
              
              
                 8aa9a46
              
                fix typo and language in comments
              
              
                 6d02848
              
                fix test
              
              
                 0566ef5
              
                remove async constraint on `push()`
              
              
                 b341bb4
              
                swift-format
              
              
                 d73dce6
              
                remove the fatal error to make testinge easier
              
              
                 0cd73da
              
                fix comment
              
              
                 5cc8ed9
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 b3576fe
              
                use Result instead of Tupe
              
              
                 ae18d7b
              
                swift format
              
              
                 605e86c
              
                onCancel: resume continuation outside of the lock
              
              
                 2d6842a
              
                swift-format
              
              
                 009b5c6
              
                add logging trace details
              
              
                 0ed15f9
              
                fix parallel invocation for non streaming lambda functions
              
              
                 a2ce3be
              
                move pool to a separate file
              
              
                 5529cae
              
                add unit test for the pool
              
              
                 9abbe8e
              
                remove forced trace level for logging
              
              
                 6311b46
              
                add license header
              
              
                 18e09c6
              
                skip some tests on Swift 6.0
              
              
                 c07555a
              
                swift-format
              
              
                 bff7507
              
                replace a do {} catch {} with #expect(throwing:)
              
              
                 86591a7
              
                swift-format
              
              
                 df989af
              
                Generate time independent requestID + add a test for rapid fire
              
              
                 585a414
              
                fix test on Linux
              
              
                 8845467
              
                Also check that the test responses are in the correct order
              
              
                 6138790
              
                simplify the test #expect
              
              
                 669ad43
              
                use String(decoding:) instead of String(data:)
              
              
                 9c85560
              
                State : use a struct instead of enum
              
              
                 54744c5
              
                Update Sources/AWSLambdaRuntime/Lambda+LocalServer.swift
              
              
                sebsto 503f2da
              
                Update Sources/AWSLambdaRuntime/Lambda+LocalServer.swift
              
              
                sebsto 30f19ad
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 b662024
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 ab77e5a
              
                return an HTTP 5xx error in case we mess up something in the Pool
              
              
                 3b103ab
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 b4aec07
              
                remove unnecessary import
              
              
                 141cfd0
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 34b756c
              
                Merge branch 'main' into sebsto/fix_584
              
              
                 4055bfd
              
                fix license header check
              
              
                 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.