agentic-labs / lsproxy

Multi-language code navigation API in a container
https://lsproxy.dev
GNU Affero General Public License v3.0
43 stars 2 forks source link

check #43

Closed maks-ivanov closed 1 month ago

maks-ivanov commented 1 month ago

Description


Changes walkthrough

Relevant files
Enhancement
4 files
main.rs
Refactor OpenAPI file writing and add tests                                       

lsproxy/src/main.rs
  • Added function write_openapi_to_file to handle OpenAPI spec file
    writing.
  • Refactored main function to use the new file writing function.
  • Added tests for OpenAPI JSON generation and comparison.
  • +75/-12 
    generate_spec.sh
    Update OpenAPI spec generation script                                                   

    scripts/generate_spec.sh
  • Updated script to use build.sh for building.
  • Modified Docker run command for OpenAPI spec generation.
  • +2/-12   
    run.sh
    Update application run script                                                                   

    scripts/run.sh
  • Updated script to use build.sh for building.
  • Modified Docker run command for application execution.
  • +3/-12   
    build.sh
    Update build script for Docker                                                                 

    scripts/build.sh - Changed Docker image tag and build process.
    +2/-2     
    Tests
    2 files
    api_types.rs
    Add tests for Symbol conversion                                                               

    lsproxy/src/api_types.rs - Added tests for `Symbol` conversion from `WorkspaceSymbol`.
    +60/-0   
    test.sh
    Add test script for Docker                                                                         

    scripts/test.sh - Added new script for running tests with Docker.
    +10/-0   
    Other
    3 files
    astar_search.sh
    Implement A* search algorithm in Bash                                                   

    sample_project/bash/astar_search.sh
  • Implemented A* search algorithm in Bash.
  • Added functions for grid generation, pathfinding, and visualization.
  • +371/-0 
    point.cpp
    Add point class with operations                                                               

    sample_project/cpp/cpp_classes/point.cpp - Added `point` class with basic operations.
    +7/-0     
    node.cpp
    Add node class with comparison operators                                             

    sample_project/cpp/cpp_classes/node.cpp - Added `node` class with comparison operators.
    +8/-0     
    💡 Usage Guide ### Checking Your Pull Request Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. ### Talking to CodeAnt AI Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
    @codeant-ai ask: Your question here
    
    This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ### Retrigger review Ask CodeAnt AI to review the PR again, by typing:
    @codeant-ai: review
    
    ### Check Your Repository Health To analyze the health of your code repository, visit our dashboard at [app.codeant.ai](https://app.codeant.ai). This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.
    codeant-ai[bot] commented 1 month ago

    Things to consider 🐛