-
Notifications
You must be signed in to change notification settings - Fork 1
Implement parallel git diff analysis algorithm to improve performance #88
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
base: main
Are you sure you want to change the base?
Changes from all commits
5f39241
5c4b7b3
1f7edd0
ed71a85
b262f78
997ac3d
8257f3d
c78fe5a
c099808
eeb34bb
9623080
cd7f92c
6994218
dbbff52
036b1da
7221b16
c4396e3
f946e61
c63b1f0
fa8f571
457eff0
a1337e6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,10 @@ | |
**/*.log | ||
*.log | ||
http-cacache/ | ||
.git | ||
.gitignore | ||
.dockerignore | ||
Dockerfile | ||
**/Dockerfile | ||
**/.git | ||
**/.gitignore | ||
**/.dockerignore | ||
Comment on lines
6
to
11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] The removal of Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
.editorconfig | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -22,22 +22,15 @@ jobs: | |||||||||||||||||||||
cache-on-failure: true | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Setup nightly toolchain | ||||||||||||||||||||||
uses: actions-rs/toolchain@v1 | ||||||||||||||||||||||
uses: dtolnay/rust-toolchain@nightly | ||||||||||||||||||||||
with: | ||||||||||||||||||||||
components: rustfmt, clippy | ||||||||||||||||||||||
toolchain: nightly | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Run clippy | ||||||||||||||||||||||
uses: actions-rs/cargo@v1 | ||||||||||||||||||||||
with: | ||||||||||||||||||||||
command: clippy | ||||||||||||||||||||||
args: -- -D warnings | ||||||||||||||||||||||
run: cargo clippy -- -D warnings | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Run cargo fmt | ||||||||||||||||||||||
uses: actions-rs/cargo@v1 | ||||||||||||||||||||||
with: | ||||||||||||||||||||||
command: fmt | ||||||||||||||||||||||
args: -- --check | ||||||||||||||||||||||
run: cargo fmt -- --check | ||||||||||||||||||||||
|
||||||||||||||||||||||
test: | ||||||||||||||||||||||
needs: lint | ||||||||||||||||||||||
|
@@ -54,25 +47,29 @@ jobs: | |||||||||||||||||||||
with: | ||||||||||||||||||||||
cache-on-failure: true | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Set up Rust | ||||||||||||||||||||||
uses: actions-rs/toolchain@v1 | ||||||||||||||||||||||
with: | ||||||||||||||||||||||
toolchain: ${{ matrix.rust }} | ||||||||||||||||||||||
override: true | ||||||||||||||||||||||
profile: minimal | ||||||||||||||||||||||
- name: Set up Rust (nightly) | ||||||||||||||||||||||
if: matrix.rust == 'nightly' | ||||||||||||||||||||||
uses: dtolnay/rust-toolchain@nightly | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Set up Rust (stable) | ||||||||||||||||||||||
if: matrix.rust == 'stable' | ||||||||||||||||||||||
uses: dtolnay/rust-toolchain@stable | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Install fish (Linux) | ||||||||||||||||||||||
if: startsWith(matrix.os, 'ubuntu') | ||||||||||||||||||||||
run: sudo apt install fish | ||||||||||||||||||||||
run: sudo apt update && sudo apt install -y fish | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Install fish (macOS) | ||||||||||||||||||||||
if: startsWith(matrix.os, 'macos') | ||||||||||||||||||||||
run: brew install fish | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Run integration tests | ||||||||||||||||||||||
if: env.OPENAI_API_KEY != '' | ||||||||||||||||||||||
run: fish ./scripts/integration-tests | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Skip integration tests (no API key) | ||||||||||||||||||||||
if: env.OPENAI_API_KEY == '' | ||||||||||||||||||||||
Comment on lines
+67
to
+71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The condition
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||||||||
run: echo "Skipping integration tests - no OPENAI_API_KEY configured" | ||||||||||||||||||||||
|
||||||||||||||||||||||
- name: Run cargo test | ||||||||||||||||||||||
uses: actions-rs/cargo@v1 | ||||||||||||||||||||||
with: | ||||||||||||||||||||||
command: test | ||||||||||||||||||||||
run: cargo test |
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.
The
.gitignore
pattern appears to be duplicated - line 6 has.gitignore
and line 10 has**/.gitignore
. The more specific pattern**/.gitignore
should cover the general case, making the first entry redundant.Copilot uses AI. Check for mistakes.