Commit Graph

95 Commits

Author SHA1 Message Date
thePR0M3TH3AN
cbe12f8eb7 Add formatting and linting checks to CI 2025-05-21 10:54:19 -04:00
thePR0M3TH3AN
05423065c1 Merge pull request #31 from PR0M3TH3AN/codex/replace-unwrap-with-safer-error-handling-in-watcher.rs
Handle mutex poisoning in watcher
2025-05-21 09:23:26 -04:00
thePR0M3TH3AN
3fb6504cb0 Refactor watcher mutex handling and add tests 2025-05-21 09:23:14 -04:00
thePR0M3TH3AN
854543f8e0 Merge pull request #30 from PR0M3TH3AN/codex/add-trailing-newline-to-run_all_tests.sh-and-ci.yml
Add trailing newline to scripts
2025-05-21 09:21:54 -04:00
thePR0M3TH3AN
c429eba3b1 Add trailing newline to test script and CI workflow 2025-05-21 09:21:42 -04:00
thePR0M3TH3AN
9be039ff7b Merge pull request #29 from PR0M3TH3AN/codex/remove-generated-coverage-reports-from-version-control
Remove generated coverage reports
2025-05-21 09:21:08 -04:00
thePR0M3TH3AN
9cd910acac Remove generated coverage reports from repository 2025-05-21 09:20:41 -04:00
thePR0M3TH3AN
3880442e2a Merge pull request #28 from PR0M3TH3AN/codex/add-test-for-db--mark_dirty-and-db--take_dirty
Add dirty helper tests
2025-05-21 08:36:03 -04:00
thePR0M3TH3AN
3894c5c121 Merge pull request #27 from PR0M3TH3AN/codex/extend-db_tests.rs-with-file_id-tests
Add tests for db::file_id
2025-05-21 08:35:38 -04:00
thePR0M3TH3AN
2d7f912368 Merge pull request #26 from PR0M3TH3AN/codex/add-test-for-backupmanager--list_backups
Add fallback timestamp test
2025-05-21 08:34:58 -04:00
thePR0M3TH3AN
95beacc6c8 test: verify dirty helpers 2025-05-21 08:33:45 -04:00
thePR0M3TH3AN
e87c8fd01e test: cover db::file_id 2025-05-21 08:33:30 -04:00
thePR0M3TH3AN
fcb985ee51 test: check fallback timestamp for malformed backup 2025-05-21 08:33:16 -04:00
thePR0M3TH3AN
757a60a88b Merge pull request #25 from PR0M3TH3AN/codex/add-test-for-config--load()-fallback-path
Add config fallback test
2025-05-21 08:32:38 -04:00
thePR0M3TH3AN
9fa57aa1e7 test(config): verify fallback when no home 2025-05-21 08:32:25 -04:00
thePR0M3TH3AN
4453bbe746 Merge pull request #22 from PR0M3TH3AN/codex/remove-'removed'-comment-and-dead-code-attributes
Clean watcher module and remove dead_code allows
2025-05-20 23:20:57 -04:00
thePR0M3TH3AN
47d4d9ccdf Merge pull request #24 from PR0M3TH3AN/codex/implement-db-verification-or-justify-todo
Remove unreachable watcher DB TODO
2025-05-20 23:20:42 -04:00
thePR0M3TH3AN
ab8109c2b9 Merge pull request #23 from PR0M3TH3AN/codex/add-license-to-repository
Add MIT license file and reference
2025-05-20 23:20:08 -04:00
thePR0M3TH3AN
0c3b72be9a chore(tests): clarify watcher DB check 2025-05-20 23:15:44 -04:00
thePR0M3TH3AN
f6f6899f97 Add MIT license 2025-05-20 23:14:50 -04:00
thePR0M3TH3AN
d74e21a171 Remove unused code allowances and clean watcher 2025-05-20 23:13:22 -04:00
thePR0M3TH3AN
83eaf6fe6e Clean up build artifacts and update .gitignore for Rust project
Remove unnecessary build artifacts from the target directory, including various fingerprint files and cached information. Update the .gitignore to ensure these files are not tracked in the future, streamlining the project and reducing clutter.
2025-05-20 22:58:11 -04:00
thePR0M3TH3AN
f3318715b1 Merge pull request #21 from PR0M3TH3AN/codex/update-backup-script-to-parse-last-snap-output-line
Fix backup path parsing in test suite
2025-05-20 20:18:32 -04:00
thePR0M3TH3AN
522c80d122 Fix snapshot file parsing in tests 2025-05-20 20:18:21 -04:00
thePR0M3TH3AN
2adb7fd063 Merge pull request #20 from PR0M3TH3AN/codex/investigate-github-workflow-trigger-issue
Enable CI workflow for beta branch
2025-05-20 15:59:29 -04:00
thePR0M3TH3AN
40ef4cc348 ci: trigger on beta branch 2025-05-20 15:59:10 -04:00
thePR0M3TH3AN
72803bc861 Merge pull request #19 from PR0M3TH3AN/codex/add-unit-tests-for-cli-operations
Add CLI run unit tests using in-memory DB
2025-05-20 15:20:18 -04:00
thePR0M3TH3AN
db0e7456ab Add unit tests for CLI run functions 2025-05-20 15:20:05 -04:00
thePR0M3TH3AN
b9981ea51f Merge pull request #18 from PR0M3TH3AN/codex/write-tests-for-db-operations-and-functions
Add unit tests for CLI helpers
2025-05-20 15:19:27 -04:00
thePR0M3TH3AN
7d6c7e0c69 Add unit tests for CLI helpers 2025-05-20 15:19:15 -04:00
thePR0M3TH3AN
8e52058807 Merge pull request #17 from PR0M3TH3AN/codex/create-test-for-marlin-watcher-state
Add watch run unit test
2025-05-20 15:19:01 -04:00
thePR0M3TH3AN
daeec03a60 Add watch run unit test 2025-05-20 15:18:49 -04:00
thePR0M3TH3AN
b43d3e3ebd Update .gitignore, add CLI cheatsheet, and modify benchmark results
- Updated .gitignore to include new target files and reports.
- Added a new CLI cheatsheet document for quick reference on commands and flags.
- Modified benchmark results in `bench/dirty-vs-full.md` to reflect updated performance metrics.
- Changed permissions for `run_all_tests.sh` to make it executable.
- Updated `target/.rustc_info.json` with additional output information.
- Adjusted file modes for `target/release/marlin` and `target/release/marlin.d`.
2025-05-20 14:59:02 -04:00
thePR0M3TH3AN
121394cb4b Merge pull request #16 from PR0M3TH3AN/codex/fix-github-workflow-issues
Fix failing search demo
2025-05-20 14:39:41 -04:00
thePR0M3TH3AN
566a81da64 docs: clarify log search 2025-05-20 14:38:51 -04:00
thePR0M3TH3AN
aa6f961658 update 2025-05-20 14:30:46 -04:00
thePR0M3TH3AN
3b209f6c12 Merge pull request #14 from PR0M3TH3AN/codex/remove-comments-and-clean-backup-rs
Clean backup manager file
2025-05-20 14:14:47 -04:00
thePR0M3TH3AN
98b5967154 Remove FIX comments and dead code 2025-05-20 14:14:26 -04:00
thePR0M3TH3AN
e484419161 Merge pull request #13 from PR0M3TH3AN/codex/create-rust-build-script-for-cheatsheet
Add CLI cheatsheet generation
2025-05-20 14:13:58 -04:00
thePR0M3TH3AN
933fee54a9 Generate CLI cheatsheet at build time 2025-05-20 14:13:30 -04:00
thePR0M3TH3AN
f5b30e71cf Merge branch 'beta' of https://github.com/PR0M3TH3AN/Marlin into beta 2025-05-20 14:12:07 -04:00
thePR0M3TH3AN
2c6555d7f5 Update .gitignore and enhance test documentation for coverage reporting
- Add /bench/backups, /target/, cobertura.xml, and tarpaulin-report.html to .gitignore to prevent tracking of generated files.
- Update test.md to include instructions for running tests and generating coverage reports using cargo tarpaulin.
2025-05-20 14:11:25 -04:00
thePR0M3TH3AN
7697dd5828 Merge pull request #11 from PR0M3TH3AN/46mwor-codex/improve-test-coverage-and-fix-workflow-crash
Improve coverage and fix bench script
2025-05-20 13:33:27 -04:00
thePR0M3TH3AN
ef2c77cf6c Handle grep failure in benchmark 2025-05-20 13:32:51 -04:00
thePR0M3TH3AN
c945a82de6 Merge pull request #10 from PR0M3TH3AN/codex/improve-test-coverage-and-fix-workflow-crash
Improve coverage and add debouncer test
2025-05-20 13:12:58 -04:00
thePR0M3TH3AN
c0cf736def test: improve debouncer coverage 2025-05-20 13:12:31 -04:00
thePR0M3TH3AN
c59fcc8c5c Update CI workflow to use actions-rs/toolchain for Rust setup
- Replace actions/setup-rust with actions-rs/toolchain for both stable and nightly toolchain installations.
- Enable minimal profile for faster toolchain setup.
- Clean up comments and ensure consistency in artifact upload steps.
2025-05-19 23:13:54 -04:00
thePR0M3TH3AN
f8f890c29a Update CI workflow for comprehensive testing and benchmarking
Enhance the GitHub Actions CI workflow by introducing a comprehensive test job that runs a new script (`run_all_tests.sh`) for building, testing, and benchmarking. Update dependencies to use the latest actions and ensure consistent environment variables. Remove the previous build-and-test and benchmark jobs, consolidating functionality for improved clarity and efficiency.
2025-05-19 23:11:44 -04:00
thePR0M3TH3AN
0c40bdac84 Update benchmarks and clean up CLI code for improved readability
- Updated benchmark results in `bench/dirty-vs-full.md` to reflect new performance metrics for `full-scan` and `dirty-scan`.
- Removed unnecessary comments and whitespace in `cli-bin/src/main.rs` to enhance code clarity and maintainability.
2025-05-19 22:49:35 -04:00
thePR0M3TH3AN
9c325366f9 Improve performance metrics and enhance backup error handling
- Update benchmark results for `full-scan` and `dirty-scan` in `bench/dirty-vs-full.md` to reflect improved performance.
- Refactor error handling in `libmarlin/src/backup.rs` to provide clearer messages when the live database path is missing or invalid.
- Clean up code in `libmarlin/src/backup.rs` for better readability and maintainability.
- Minor adjustments in documentation and test files for consistency.
2025-05-19 22:13:25 -04:00