193 Commits

Author SHA1 Message Date
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
thePR0M3TH3AN
2f97bd8c3f Update dependencies and add new features for improved functionality
- Updated Cargo.lock and Cargo.toml to include new dependencies
- Added new files for backup and watcher functionality in libmarlin
- Introduced integration tests and documentation updates
- Set workspace resolver to version 2 for better dependency resolution
2025-05-19 18:14:42 -04:00
thePR0M3TH3AN
6125acb4d1 "Feat: Update documentation for improved user comprehension" (following the pattern: type: short description) 2025-05-19 11:46:48 -04:00
thePR0M3TH3AN
aca60ef47c Merge pull request #7 from PR0M3TH3AN/beta
Beta
2025-05-19 00:00:22 -04:00
thePR0M3TH3AN
7b596ab17a dirty scan speed testing 2025-05-18 23:53:50 -04:00
thePR0M3TH3AN
e9b9606c9a Clarify saved_views naming and add note on deferred tag aliases
* Rename `views` table references to `saved_views` for consistency.
* Update migration step 3 to create `saved_views` instead of `views`.
* Add a note that tag aliases (`canonical_id`) are deferred to DP-006 (v1.5).
* Ensure all PRAGMA statements (`foreign_keys`, `journal_mode=WAL`) apply to every migration.
* Adjust ER diagram section to reflect `saved_views` entity and its relationship.
2025-05-18 22:02:28 -04:00
thePR0M3TH3AN
035bff40b3 Merge pull request #6 from PR0M3TH3AN/beta
Run Tarpaulin under nightly toolchain for libmarlin coverage
2025-05-18 21:53:29 -04:00
thePR0M3TH3AN
e7f5a230e5 Run Tarpaulin under nightly toolchain for libmarlin coverage
In our GitHub Actions CI, update the Code Coverage step for the `libmarlin` crate to invoke Tarpaulin using the nightly toolchain. This ensures we pick up the latest coverage features and avoid the unexpected argument error:

* Replace the two-line `cargo tarpaulin` invocation with a single command using `cargo +nightly tarpaulin --package libmarlin --out Xml --fail-under 85`.
* Removes the extraneous line break and aligns with the rest of our Rust commands under nightly when needed.
2025-05-18 21:48:08 -04:00
thePR0M3TH3AN
54e251936f Merge pull request #5 from PR0M3TH3AN/beta
updates
2025-05-18 21:31:58 -04:00
thePR0M3TH3AN
a7660df45f updates 2025-05-18 21:28:05 -04:00