Commit Graph

81 Commits

Author SHA1 Message Date
8472d20609 Merge branch 'development_heropods' into development
* development_heropods: (21 commits)
  test: Ignore virt/heropods/network_test.v in CI
  feat: implement container keep-alive feature
  test: Add comprehensive heropods network and container tests
  refactor: Refactor Mycelium configuration and dependencies
  feat: Add Mycelium IPv6 overlay networking
  test: Replace hero binary checks with network test
  feat: Add iptables FORWARD rules for bridge
  Revert "feat: Add `pods` command for container management"
  feat: Add `pods` command for container management
  chore: Enable execution of cmd_run
  feat: Add `run` command for Heroscript execution
  feat: Separate initialization and configuration
  refactor: Remove hero binary installation from rootfs
  refactor: Integrate logger and refactor network operations
  feat: Implement container networking and improve lifecycle
  feat: Auto-install hero binary in containers
  feat: Add container management actions for heropods
  feat: Add heropods library to plbook
  refactor: Rename heropods variable and method
  refactor: Rename container factory to heropods
  ...
2025-11-25 18:40:41 +01:00
Mahmoud-Emad
520769a63e fix: Ignore regex_convert_test.v test 2025-11-25 14:55:18 +02:00
Mahmoud-Emad
9f75a454fa test: Ignore virt/heropods/network_test.v in CI
- Add virt/heropods/network_test.v to ignored tests
- Ignore test requiring root for network bridge operations
2025-11-25 12:43:13 +00:00
Mahmoud-Emad
9a5973d366 feat: implement container keep-alive feature
- Add `keep_alive` parameter to `container_start`
- Implement logic to restart containers with `tail -f /dev/null` after successful entrypoint exit
- Update `podman_pull_and_export` to also extract image metadata
- Enhance `create_crun_config` to use extracted image metadata (ENTRYPOINT, CMD, ENV)
- Refactor test suite to use `keep_alive: true` for Alpine containers
2025-11-25 13:59:45 +02:00
Mahmoud-Emad
76876049be test: Add comprehensive heropods network and container tests
- Add wait_for_process_ready to container start
- Reduce sigterm and stop check timeouts
- Update default container base directory
- Introduce new heropods test suite with multiple tests
- Add tests for initialization and custom network config
- Add tests for Docker image pull and container creation
- Add tests for container lifecycle (start, stop, delete)
- Add tests for container command execution
- Add tests for network IP allocation
- Add tests for IPv4 connectivity
- Add tests for container deletion and IP cleanup
- Add tests for bridge network setup and NAT rules
- Add tests for IP pool management
- Add tests for custom bridge configuration
2025-11-24 14:02:36 +02:00
Mahmoud-Emad
c99831ee9b feat: Add virt/kubernetes directory
- Add virt/kubernetes directory
- Initialize Kubernetes integration setup
2025-10-22 21:46:57 +03:00
Mahmoud-Emad
4ab78c65e3 refactor: Update library paths
- Remove `lib/hero`
- Add `lib/hero/heromodels`
2025-10-22 21:41:47 +03:00
Mahmoud-Emad
75b07aec93 chore: Add FsListArg struct and update imports
- Add FsListArg struct with group_id and limit fields
- Uncomment lib/hero import
2025-10-12 19:32:04 +03:00
Mahmoud-Emad
8f2d187b17 fix: Rename freeflowuniverse to incubaid 2025-10-12 12:30:19 +03:00
Mahmoud-Emad
af1d6a7485 feat(herofs): Complete HeroFS implementation with comprehensive testing
- Implement high-level filesystem tools (find, cp, mv, rm) with pattern matching
- Add complete import/export functionality for VFS ↔ real filesystem operations
- Implement symlink operations with broken link detection
- Add comprehensive error condition testing (blob limits, invalid refs, edge cases)
- Fix blob hash-based retrieval using Redis mapping instead of membership
- Add 5 test suites with 100% green CI coverage
- Clean up placeholder code and improve error messages
- Document known limitations (directory merging, quota enforcement)

Features added:
- fs_tools_*.v: High-level filesystem operations with FindOptions/CopyOptions/MoveOptions
- fs_tools_import_export.v: Bidirectional VFS/filesystem data transfer
- fs_symlink_test.v: Complete symlink lifecycle testing
- fs_error_conditions_test.v: Edge cases and error condition validation
- Working examples for all functionality

Fixes:
- Blob get_by_hash() now uses direct Redis hash mapping
- File listing handles deleted files gracefully
- V compiler namespace conflicts resolved in tests
- All compilation warnings cleaned up

Ready for open source publication with production-grade test coverage.
2025-09-16 18:35:26 +03:00
Mahmoud-Emad
2f2edc86ad fix: improve SSH agent data collection completeness
- Remove process limit for orphaned agent cleanup
- Increase socket check limit for agent PID validation
- Remove key limit from `ssh-add` output
- Add `sshagent_test.v` to project structure
2025-09-14 15:37:14 +03:00
Mahmoud-Emad
f061c0285a fix: Fix test execution hanging issue
- Replace `os.execute()` with `os.system()`
- Avoid hanging due to unclosed file descriptors
- Update error message to include command exit code
2025-09-14 15:06:09 +03:00
Mahmoud-Emad
4e52882d22 chore: Improve test runner logging and cache update
- Add detailed console logs for test execution
- Show test cache entries and processing progress
- Refactor cache update to direct assignment
- Explicitly save test cache after entry update
- Add final success message and exit statement
2025-09-14 14:56:59 +03:00
b109299210 ... 2025-08-21 09:38:20 +02:00
d73fe6eb25 ... 2025-08-20 18:57:32 +02:00
4a0fd8edde ... 2025-08-20 18:44:42 +02:00
34202de296 ... 2025-08-20 18:39:52 +02:00
682abdbda9 ... 2025-08-08 15:53:25 +02:00
56d6a05ced ... 2025-08-08 13:19:30 +02:00
0c93a5abe8 ... 2025-08-08 13:15:31 +02:00
2726ecbe2e ... 2025-08-08 13:11:05 +02:00
Mahmoud-Emad
b15c4cd15a refactor: Change hero action syntax to verb.noun
- Change action name format from `obj.verb` to `verb.obj`
- Update decoder to look for `define.obj` or `configure.obj`
- Modify encoder export to use the new `define.obj` prefix
- Update all test constants and scripts to the new syntax
- Make Remark struct public for test visibility
2025-08-05 19:02:26 +03:00
Mahmoud-Emad
65d75a8148 test: add link_def_test.v 2025-08-05 18:07:26 +03:00
Mahmoud-Emad
b04e1d7f99 fix: Return the test_basic.vsh file back 2025-08-05 17:58:45 +03:00
5cb52ba6b1 ... 2025-08-04 09:35:50 +02:00
3438f74e60 ... 2025-05-04 19:31:46 +03:00
4f79712570 ... 2025-05-04 19:26:39 +03:00
Mahmoud Emad
efbf00830a feat: Improve Qdrant client library
- Updated Qdrant client to use the correct response data field.
- Improved parameter names and formatting for clarity.
- Fixed inconsistencies in parameter naming and structure.

NOTE: Skipping both Jina and Qdrant client tests for now, as they are not fully prepared yet.
2025-03-19 15:58:35 +02:00
Mahmoud Emad
b9969c69fd test: Skip Jina client for now 2025-03-19 15:44:38 +02:00
Timur Gordon
a6756bfe5a Merge branch 'development' into development_actions007 2025-03-17 00:38:42 +01:00
Timur Gordon
dca1d877ac remove rclone tests 2025-03-17 00:16:30 +01:00
Timur Gordon
007f65c27e remove code folder from tests 2025-03-17 00:03:35 +01:00
26289bb00f Merge branch 'development_actions007' into development_ourdb_new
# Conflicts:
#	lib/data/dedupestor/dedupestor.v
#	lib/data/dedupestor/dedupestor_test.v
2025-03-09 19:07:12 +01:00
4aaf1bd6db ... 2025-02-25 11:36:01 -07:00
a56a251d7f ... 2025-02-25 11:17:11 -07:00
Mahmoud Emad
59efa18bce feat: Uncomment lib/vfs path in test_basic.vsh
- Uncommented the path `lib/vfs` in `test_basic.vsh`.
- This path was commented out, and is needed after merging PR #68.
2025-02-25 13:25:08 +02:00
Mahmoud Emad
4ed80481aa test: Add more comprehensive tests for vfsourdb
- Added tests to verify directory listing functionality after
  creating and moving directories.
- Improved test coverage for file operations within directories.
- Ensured tests accurately reflect the updated behavior of
  `dir_list` function.
2025-02-25 13:13:41 +02:00
Mahmoud Emad
1f58676278 Merge branch 'development' into development_vfs 2025-02-24 15:32:30 +02:00
975c07fc2e ... 2025-02-19 16:09:11 +03:00
Mahmoud Emad
2e7efdf229 ci: Remove the vfs test from the CI to check what is wrong 2025-02-19 01:54:39 +02:00
Mahmoud Emad
acd1a4a61d WIP: Fixing the tests 2025-02-16 14:04:17 +00:00
4a738b966e ... 2025-02-07 07:36:23 +03:00
4fd3095a75 ... 2025-02-07 07:33:41 +03:00
21a7d7506a ... 2025-02-07 06:57:02 +03:00
6bae1a98ea ... 2025-02-07 06:51:12 +03:00
3d76bc9c04 ... 2025-02-07 06:40:10 +03:00
4495df4d2e ... 2025-02-07 06:30:13 +03:00
8a005a2fd2 ... 2025-02-07 06:13:59 +03:00
f37999c10c ... 2025-02-07 06:06:21 +03:00
f079122be5 ... 2025-02-07 05:54:33 +03:00