- 
                Notifications
    
You must be signed in to change notification settings  - Fork 22
 
Don't repeatedly optimize gh actions #275
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
      
      
    
  
     Merged
                    Changes from 5 commits
      Commits
    
    
            Show all changes
          
          
            37 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      1f7124a
              
                WIP
              
              
                misrasaurabh1 41378a0
              
                WIP
              
              
                misrasaurabh1 e9746c9
              
                batch code hash check
              
              
                dasarchan 5760316
              
                implemented hash check into filter_functions
              
              
                dasarchan 905b1a0
              
                Merge branch 'main' into dont-optimize-repeatedly-gh-actions
              
              
                 2367160
              
                removed prints, added cfapi.py func
              
              
                dasarchan f2733b3
              
                Merge branch 'dont-optimize-repeatedly-gh-actions' of https://github.…
              
              
                dasarchan c1fb089
              
                removed unused import
              
              
                dasarchan 3443404
              
                Merge branch 'main' into dont-optimize-repeatedly-gh-actions
              
              
                misrasaurabh1 eb3d305
              
                fix no git error
              
              
                misrasaurabh1 c862b4d
              
                add low prob of repeating optimization
              
              
                dasarchan 96ee580
              
                changes to cli for code context hash
              
              
                dasarchan 87fe086
              
                update the cli
              
              
                misrasaurabh1 4cb823e
              
                added separate write route, changed return format for api route
              
              
                dasarchan 1cc39e3
              
                merge
              
              
                dasarchan dd8dceb
              
                removed empty test file
              
              
                dasarchan 5989b26
              
                updates
              
              
                dasarchan 5c0a028
              
                Add a first version of hashing code context
              
              
                misrasaurabh1 2686682
              
                Might work?
              
              
                misrasaurabh1 4f39794
              
                get it working
              
              
                misrasaurabh1 50f4c33
              
                10% chance of optimizing again
              
              
                misrasaurabh1 81f96ed
              
                Merge branch 'main' into dont-optimize-repeatedly-gh-actions
              
              
                misrasaurabh1 c856f1e
              
                fix a bug
              
              
                misrasaurabh1 b48ed5c
              
                ruff fix
              
              
                misrasaurabh1 9e14cfe
              
                fix bugs with docstring removal
              
              
                misrasaurabh1 5d4870f
              
                fix a type
              
              
                misrasaurabh1 2c1314d
              
                fix more tests
              
              
                misrasaurabh1 32a8001
              
                fix types for python 3.9
              
              
                misrasaurabh1 e2f1ba0
              
                clearer message
              
              
                misrasaurabh1 f6b3275
              
                fix mypy types
              
              
                misrasaurabh1 6ed9387
              
                add more tests
              
              
                misrasaurabh1 be1ef9b
              
                fix for test
              
              
                misrasaurabh1 9137921
              
                double the context length
              
              
                misrasaurabh1 797cba3
              
                ruff revert
              
              
                misrasaurabh1 d0f84f6
              
                improve some github actions logging
              
              
                misrasaurabh1 2d62171
              
                some refactor
              
              
                misrasaurabh1 226acd7
              
                remove unncessary line
              
              
                misrasaurabh1 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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  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.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: What will be the scenario where the function is already an optimized code by CF?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now it would try to reoptimize it, actually - @misrasaurabh1 what's the desired behavior here