-
Notifications
You must be signed in to change notification settings - Fork 68
Writing a Rust Backend V1 #73
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
Open
Ryandonofrio3
wants to merge
19
commits into
main
Choose a base branch
from
rust-backend
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
58b320d
first commit
Ryandonofrio3 30ffe4d
second commit
Ryandonofrio3 7fabb4f
third commit
Ryandonofrio3 1e936d2
rust add
Ryandonofrio3 70e48c1
cleanup
Ryandonofrio3 2303bca
repo cleanup deps removal
Ryandonofrio3 95d88fb
build
Ryandonofrio3 16e6c10
mild cleanup
Ryandonofrio3 c6fcc3c
error fixing
Ryandonofrio3 6257b57
cleanup tests
Ryandonofrio3 69a94c9
memory leak fix
Ryandonofrio3 b182b7b
enhance git utility functions to better handle worktree detection and…
Ryandonofrio3 31797a0
little rearrangement
Ryandonofrio3 26273a0
typecheck
Ryandonofrio3 816901b
coreML
Ryandonofrio3 17a9e7d
undo core ml for now
Ryandonofrio3 b261fdb
Implement server management enhancements and live indexing features i…
Ryandonofrio3 d230535
Add `osgrep trace` command for call flow analysis and enhance README …
Ryandonofrio3 d0cf7b2
ready for model work
Ryandonofrio3 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,53 @@ | ||
| dist/ | ||
| node_modules/ | ||
| **/node_modules/ | ||
| *.tsbuildinfo | ||
| *.tgz | ||
| .DS_Store | ||
|
|
||
| # Local osgrep data | ||
| .osgrep/ | ||
|
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. Redundant entry: remove line 53 Line 53 ( -.osgrepAlso applies to: 53-53 🤖 Prompt for AI Agents |
||
|
|
||
| # Development files | ||
| CLAUDE.md | ||
| TODO.md | ||
| AGENTS.md | ||
| ADVANCED.md | ||
| test-build.sh | ||
| TEST_SUITE_PROMPT.md | ||
| WATCH_MODE_PROMPT.md | ||
| ENGINEERING_DIARY.md | ||
| RELEASE_GUIDE.md | ||
| osgrep/run-benchmark.sh | ||
| TEST_SUITE_PROMPT.md | ||
| WATCH_MODE_PROMPT.md | ||
| AGENT_BENCHMARK.md | ||
| latest_review.md | ||
| plan.md | ||
|
|
||
| # Benchmark & experiments (dev-only) | ||
| benchmark/ | ||
| experiments/ | ||
| scripts/ | ||
| tools/ | ||
| public/ | ||
| test_skeleton.py | ||
| test-build.sh | ||
| run-agent-benchmark.sh | ||
| setup-benchmark-repos.sh | ||
| AGENT_BENCHMARK.md | ||
| benchmark-results.json | ||
| src/bench/benchmark-agent.ts | ||
| src/bench/generate-benchmark-chart.ts | ||
| src/.env.local | ||
| CLAUDE.md | ||
| .DS_Store | ||
| latest_review.md | ||
| benchmarks/*.log | ||
| .osgrep/server.json | ||
| .osgrep/cache/meta.lmdb-lock | ||
| src/bench/ | ||
|
|
||
| # Env files | ||
| src/.env.local | ||
| .env* | ||
|
|
||
| # Lockfiles (using bun) | ||
| pnpm-lock.yaml | ||
| package-lock.json | ||
| yarn.lock | ||
|
|
||
| bun.lockb | ||
| # Native core (Rust / N-API) build outputs | ||
| osgrep-core/target/ | ||
| **/target/ | ||
| osgrep-core/*.node | ||
| osgrep-core/bench/ | ||
| .osgrep | ||
| TODO.md | ||
| AGENTS.md | ||
Oops, something went wrong.
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.
Artifact movement script lacks error visibility.
The defensive
|| truesilently ignores errors when moving .node files. If artifacts fail to copy due to unexpected directory structure or permissions, the publish job will still proceed with missing binaries.Add explicit verification that artifacts were moved:
🤖 Prompt for AI Agents