Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
515ad1d
LLM crate based Eve in CLI experiment
lucksus Oct 30, 2023
809564a
Reduced training prompt fits in context window
lucksus Oct 30, 2023
ec7d19f
Update llm crate to master branch for ggml v3 models
lucksus Nov 2, 2023
bc558c3
Reduced training that fits into context window
lucksus Nov 2, 2023
34b8bab
Use feature “metal”
lucksus Nov 2, 2023
8e874ea
Extract Eve command to eve.rs and switch to cbor
lucksus Nov 2, 2023
2b5edc9
Use my fork to fix snapshots
lucksus Nov 3, 2023
9f817b9
Halt inference
lucksus Nov 3, 2023
b41a37b
Use gguf branch of llm crate for new models
lucksus Nov 17, 2023
3859917
Break down eve prompt so fits in context window
lucksus Nov 17, 2023
bfa501e
Merge branch 'dev' into llm-integration
lucksus Jul 24, 2024
60fee41
Merge branch 'dev' into llm-integration
fayeed Sep 3, 2024
c03afe0
chore: Add kalosm crate to Cargo.toml
fayeed Sep 3, 2024
569ff3b
chore: Update kalosm crate to version 0.3.2 with language feature
fayeed Sep 3, 2024
0ef599b
Activate eve in ad4m binary
lucksus Sep 3, 2024
a5a55ac
Use kalosm instead of llama
fayeed Sep 3, 2024
e076f1a
Merge commit '569ff3bad66231db431304b6c915b7cbde3e8158' into llm-inte…
lucksus Sep 3, 2024
e8cf636
fmt
lucksus Sep 3, 2024
2c44de0
Merge branch 'llm-integration' into llm-integration-1
lucksus Sep 3, 2024
fca4ced
Use default chat model and activate metal
lucksus Sep 3, 2024
41d870d
First prompt to preload examples
lucksus Sep 3, 2024
c268a3f
fmt
lucksus Sep 3, 2024
542a2d7
clippy
lucksus Sep 3, 2024
76ca47f
cargo.lock
lucksus Sep 3, 2024
0a05bca
Use ChatBuilder with history
lucksus Sep 3, 2024
e3a824f
feat: Add AIClient and AIResolver for AI functionality
fayeed Sep 4, 2024
2979da0
Added new mutation for embed
fayeed Sep 4, 2024
782da91
feat: Update AIResolver embed method to compress and decompress vectors
fayeed Sep 4, 2024
b121cb8
feat: Add AIClient for AI functionality
fayeed Sep 4, 2024
e31a53f
Smoke test ad4mClient.ai.embed()
lucksus Sep 4, 2024
76e02f0
feat: Add AI transcription functionality to AIClient and AIResolver
fayeed Sep 4, 2024
17c087a
refactor: Pass modelId as a variable in openTranscriptionStream mutation
fayeed Sep 4, 2024
8e643a0
feat: Update AIClient to use Apollo subscription for transcriptionText
fayeed Sep 4, 2024
191080e
refactor: Update AIClient to use Apollo subscription for transcriptio…
fayeed Sep 4, 2024
e747a2c
refactor: Update AIClient to use Apollo subscription for transcriptio…
fayeed Sep 4, 2024
5183e89
refactor: Update AIClient to use Apollo subscription for transcriptio…
fayeed Sep 4, 2024
7387062
refactor: Add tasks table to Ad4mDb and implement CRUD operations for…
fayeed Sep 4, 2024
d28fbb4
refactor: Rename add_tasks to add_task, remove_tasks to remove_task, …
fayeed Sep 4, 2024
86e7fe1
refactor: Update Ad4mDb to use Vec<AIPromptExamples> for prompt_examp…
fayeed Sep 4, 2024
ccd6b8d
feat: Add AI service module and implementation
fayeed Sep 4, 2024
3a6c19b
Add fn embed to AIService using Bert
lucksus Sep 4, 2024
7de726c
fmt
lucksus Sep 4, 2024
391c29d
warnings--
lucksus Sep 4, 2024
18d6b27
AI domain capabitlities
lucksus Sep 4, 2024
90cf1eb
Resolvers for all new mutations plus needed graphql types
lucksus Sep 4, 2024
eb3f46b
fmt
lucksus Sep 4, 2024
ed1cb0b
Return compressed embedding vector
lucksus Sep 4, 2024
a3a8c3c
fmt
lucksus Sep 4, 2024
fb9cfaf
Fix tasks table and add test for new DB functions
lucksus Sep 4, 2024
e21efde
lock files
lucksus Sep 4, 2024
2edc568
Beginnings of AI integration tests running ad4m.ai.embed()
lucksus Sep 4, 2024
82108ab
fmt
lucksus Sep 4, 2024
07bd151
Merge branch 'dev' into local-ai
lucksus Sep 4, 2024
ff8d914
clean
lucksus Sep 4, 2024
9829e98
Syntax fix
lucksus Sep 4, 2024
c11c3df
Initialize AIService
lucksus Sep 4, 2024
9c79383
Correct panic string for uninitialized AIService
lucksus Sep 4, 2024
45ed725
Wire-up AI Task CRUD resolvers and fix-up related types
lucksus Sep 4, 2024
564061f
Fix ad4m.ai.embed() and TaskInput type in interface definitions and c…
lucksus Sep 4, 2024
1650ecb
More AIClient naming fixes
lucksus Sep 4, 2024
b78666e
AI tasks CRUD integration test
lucksus Sep 4, 2024
8638821
fmt
lucksus Sep 4, 2024
746b812
Variable change also in tests
lucksus Sep 4, 2024
81891c9
Fix AIResolver import in AIClient.ts
fayeed Sep 5, 2024
991a57f
chore: Update npm dependencies to latest versions
fayeed Sep 5, 2024
965b0b0
feat: Add AI task CRUD integration tests and fix related types
fayeed Sep 5, 2024
6ca21f9
ai.updateTask() omit taskId since it's not part of AITaskInput
lucksus Sep 5, 2024
b6ac2ee
Fix assertions of embedding integration test
lucksus Sep 5, 2024
83b8966
Refactor AI task mutation resolvers for better code organization and …
fayeed Sep 5, 2024
e14a409
Fix build
lucksus Sep 5, 2024
6f53468
Prompt unit test passing
lucksus Sep 5, 2024
4f89307
Wire-up AIService::prompt in mutation resolver
lucksus Sep 5, 2024
251422b
fmt
lucksus Sep 5, 2024
d4631ea
AI prompt integration test
lucksus Sep 5, 2024
4bf5238
Refactor AIService: cloneable struct of Arc<Mutex<>>'es, use mutex ar…
lucksus Sep 5, 2024
14a06dd
Fix aiPrompt return value to string
lucksus Sep 5, 2024
52e319a
Fix task spawning
lucksus Sep 5, 2024
c00f7a6
Improve ai.prompt() integration test
lucksus Sep 5, 2024
5d0a2c0
clippy
lucksus Sep 5, 2024
4319869
Improve ai.prompt() integration test
lucksus Sep 5, 2024
259c724
Update Rust version in CI docker image
lucksus Sep 5, 2024
e204f81
Check for metal and/or CUDA support through build.rs and activate Kal…
lucksus Sep 5, 2024
b377c12
Refactor: move AIServiceError into separate file
lucksus Sep 6, 2024
0b7f3e9
Refactor AIService::prompt()
lucksus Sep 6, 2024
a90a2fd
warning--
lucksus Sep 6, 2024
fa24c9b
Remove old Task instance on update
lucksus Sep 6, 2024
187a770
fmt
lucksus Sep 6, 2024
f4e1d57
Prompt stress test
lucksus Sep 6, 2024
ca861b6
Remove wrong test assertion
lucksus Sep 6, 2024
962be77
More examples in LLM prompt stress test
lucksus Sep 9, 2024
5827889
refactor: run models in separate threads and handle tasks via channel…
lucksus Sep 9, 2024
331ebb6
Refactor AI task creation and update methods
fayeed Sep 10, 2024
9e3d898
Refactor AI task creation and update methods
fayeed Sep 10, 2024
7362e39
Refactor AI task creation and update methods
fayeed Sep 10, 2024
813f447
Refactor AITaskInput struct to include name field
fayeed Sep 10, 2024
abe695f
Refactor AI task creation and update methods
fayeed Sep 10, 2024
784e1f5
Refactor AI task creation and update methods
fayeed Sep 10, 2024
2423c6e
Refactor base64 encoding in Mutation resolver
fayeed Sep 10, 2024
753dcc8
feat: implement async handling for model building in threads using To…
lucksus Sep 10, 2024
e7a5e17
fix: resolve compile errors by executing async functions within Tokio…
lucksus Sep 10, 2024
1b65c1c
Move tasks into Llama thread, LLMTaskRequest structs, more fixes, tes…
lucksus Sep 10, 2024
3266958
LLM prompt stress test in Rust
lucksus Sep 10, 2024
1338f7b
Longer test prompt in LLM stress test
lucksus Sep 10, 2024
c3f3fdf
Merge commit '2423c6e99c90be3e8836a4524a028d5ae5790b3e' into local-ai
lucksus Sep 10, 2024
2b0ba48
Remove debugging println!s
lucksus Sep 10, 2024
259c80f
clippy
lucksus Sep 10, 2024
a6dd767
Refactor AIService::embed() to be instance method
lucksus Sep 10, 2024
5c4d117
Install gobjc on CI through circleci config
lucksus Sep 11, 2024
a801f90
Whisper transcription implementation compiler pass
lucksus Sep 11, 2024
1555fe0
Some important warnings fixed
lucksus Sep 11, 2024
b163caa
Wire-up transcription mutation resolvers
lucksus Sep 11, 2024
102c219
Avoid deprecation warning for future Rust versions with explicit type…
lucksus Sep 11, 2024
72b9406
Integration test for audio transcription with test audio file
lucksus Sep 11, 2024
08f2884
fmt
lucksus Sep 11, 2024
e40bf14
clippy, comment-out unused code
lucksus Sep 11, 2024
5fb906b
chore: Update circleci config to install gobjc, libobjc-dev, and clang
fayeed Sep 12, 2024
63305bf
chore: Update circleci config to install gobjc and clang
fayeed Sep 12, 2024
e4501ea
chore: Update circleci config to install gobjc, libobjc-dev, clang, g…
fayeed Sep 12, 2024
47dab36
chore: Remove unused dependency kalosm
fayeed Sep 12, 2024
c2f59f5
chore: Update circleci config to install gobjc, clang, gnustep-devel,…
fayeed Sep 12, 2024
b89d16c
Remove Eve experiment and kalosm/llm deps from cli
lucksus Sep 12, 2024
2c3426d
Deactivate "sound" feature on kalsom and comment out Whisper code
lucksus Sep 12, 2024
1abe7a0
chore: Refactor AIService struct to use embedding_models and llm_mode…
fayeed Sep 17, 2024
b3b2463
Refactor AIService struct to use embedding_models and llm_models coll…
fayeed Sep 17, 2024
2c915fe
Refactor AIService struct to use embedding_models and llm_models coll…
fayeed Sep 17, 2024
28eda71
Refactor AIService struct to use embedding_models and llm_models coll…
fayeed Sep 17, 2024
cb46d1a
Refactor AIService struct to use embedding_models and llm_models coll…
fayeed Sep 18, 2024
5f19f05
Refactor AIService struct to use embedding_models and llm_models coll…
fayeed Sep 19, 2024
41e19e1
chore: Add modelLoadingStatus() method to AIClient and AIResolver
fayeed Sep 19, 2024
d143cbf
Refactor database module and add model status tracking
fayeed Sep 19, 2024
154f4fc
Refactor database module and add model status tracking
fayeed Sep 20, 2024
7cd2b08
chore: Add ModelNotFound error variant to AIServiceError enum
fayeed Sep 20, 2024
7e54715
Refactor query_resolvers.rs and add AI model loading status endpoint
fayeed Sep 20, 2024
b75af92
Refactor AIService struct to use embedding_models and llm_models coll…
fayeed Sep 20, 2024
2e213a7
Refactor database module and add model status tracking
fayeed Sep 20, 2024
b6a0c1d
Refactor AI tests and add model status check
fayeed Sep 20, 2024
15fd76a
Refactor AI service to include model status in publish_model_status f…
fayeed Sep 20, 2024
725aa50
Refactor AI service to fix typo in downloaded variable name
fayeed Sep 20, 2024
ca242dc
feat: Add Tasks component for managing AI tasks and models
fayeed Sep 20, 2024
6bb5986
chore: Fix typo in AI service downloaded variable name and update mod…
fayeed Sep 20, 2024
a8599c3
Refactor AI service to fix typo in downloaded variable name and impro…
fayeed Sep 20, 2024
caa6830
Use v8-dylib branches on our deno_forks
lucksus Sep 23, 2024
891d9ec
Revert "Deactivate "sound" feature on kalsom and comment out Whisper …
lucksus Sep 23, 2024
02a5ca8
Merge commit 'a8599c345705f3098ae14d61aeee9b4543831097' into local-ai
lucksus Sep 23, 2024
c9e93f7
chore: Update .circleci/config.yml to include ffmpeg package installa…
fayeed Sep 25, 2024
de0d87c
feat: Update fluent-ffmpeg to version 2.1.3 in pnpm-lock.yaml and tes…
fayeed Sep 25, 2024
39487c7
Refactor AI service to fix typo in downloaded variable name and impro…
fayeed Sep 25, 2024
bdccbec
Refactor AI service to fix typo in downloaded variable name and impro…
fayeed Sep 26, 2024
9414dc1
Refactor AI service to add rodio dependency and enable audio streamin…
fayeed Oct 1, 2024
ad8e195
Refactor AI service to enable audio streaming for transcription
fayeed Oct 1, 2024
4e24ea8
Refactor AI service to remove unused code and dependencies
fayeed Oct 1, 2024
a3ccd45
chore: Refactor AI service to fix typo in downloaded variable name an…
fayeed Oct 4, 2024
fd45285
chore: Refactor AudioStream to handle None value from receiver poll
fayeed Oct 4, 2024
6cd9de7
Refactor AI service to enable audio streaming for transcription
fayeed Oct 4, 2024
02642d9
chore: Add missing dynamic libraries to tauri.conf.json resources
fayeed Oct 4, 2024
9fe6781
Refactor AudioStream to handle None value from receiver poll
fayeed Oct 4, 2024
0000351
Refactor AI service to remove unused code and dependencies
fayeed Oct 4, 2024
0bbf398
Refactor AI service to optimize imports and formatting
fayeed Oct 4, 2024
3613b40
Refactor AI service to import Whisper for sound processing
fayeed Oct 4, 2024
c214157
Refactor build scripts to add rpath for dynamic libraries
fayeed Oct 17, 2024
7e26985
Refactor build scripts to add rpath for dynamic libraries
fayeed Oct 17, 2024
fdba22a
chore: Refactor build scripts to remove unused code and optimize imports
fayeed Oct 17, 2024
c7750de
Refactor build scripts to add libfuse2 dependency
fayeed Oct 17, 2024
612edb0
Refactor build scripts to add mesa-utils and mesa-vulkan-drivers depe…
fayeed Oct 17, 2024
cfcb713
Refactor build scripts to add mesa-utils and mesa-vulkan-drivers depe…
fayeed Oct 17, 2024
a37d202
On Linux, copy libc++.so to libc++_chrome.so
lucksus Oct 18, 2024
50e99ed
Increase clippy timeout in CI
lucksus Oct 23, 2024
fbd95e0
set version to 0.10.0-rc8
lucksus Oct 24, 2024
2ce623d
update v8 rev
lucksus Oct 28, 2024
0e1dc7c
Update cli/build.rs to handle gn_out/<ARCH> directory correctly
lucksus Oct 28, 2024
38eaf1c
fmt
lucksus Oct 28, 2024
0e78ee9
Update rusty_v8 rev
lucksus Oct 29, 2024
be6a4fd
Fix cli build after introducing arch directory in v8 output
lucksus Oct 29, 2024
9b59604
ad4m-executor debug launch config
lucksus Oct 29, 2024
b1569b2
Fix launch.json
lucksus Oct 29, 2024
ef2b52f
catch SIGURG
lucksus Oct 29, 2024
980f105
Fix cli args in ad4m-executor
lucksus Oct 29, 2024
1abe406
fmt
lucksus Oct 29, 2024
a690f9d
clippy
lucksus Oct 29, 2024
fa39e4d
fmt
lucksus Oct 29, 2024
0efe25b
Fix paths in our build.rs files pointing to v8 dlylib outputs
lucksus Oct 30, 2024
5aa4c46
Fix typo in launcher build.rs ref'ing .so file
lucksus Oct 30, 2024
0c683ca
Update rusty_v8 to new linux static build and deactivate .so handling…
lucksus Nov 4, 2024
03bcd9c
Switch to tiny llama for now and show download progress
lucksus Nov 4, 2024
0340fe1
initial tauri migration changes
jhweir Nov 4, 2024
e7f2041
Merge branch 'local-ai' into tauri-updates
lucksus Nov 4, 2024
390827e
Tauri 2 migration, fix rust build
lucksus Nov 5, 2024
1480c26
Reorder tauri config and add frontendDist to fix UI
lucksus Nov 5, 2024
ba06061
Merge pull request #524 from coasys/tauri-updates
jhweir Nov 6, 2024
67ff8fc
Rust formatting fixes
jhweir Nov 6, 2024
41fd888
no_output_timeout set to 30mins for build-libs command in circleci co…
jhweir Nov 6, 2024
b96d1ff
ai_service test prompt fix
jhweir Nov 6, 2024
997558c
Set LlamaSource cache to ".", trying to fix CI issue
lucksus Nov 7, 2024
6923fd5
ai_service formatting fix
jhweir Nov 7, 2024
f70863a
kalosm_common added to rust-executor
jhweir Nov 7, 2024
db94326
kalosm_common syntax fix
jhweir Nov 7, 2024
8614efb
pnpm-lock file updates
jhweir Nov 7, 2024
e44d9dc
ai_service test_prompt ignored, kalosum common removed for now
jhweir Nov 8, 2024
47e0126
Update pnpm-lock.yaml
lucksus Nov 11, 2024
a942b3f
Fix handling of SIGURG to be compatible with included Go code
lucksus Nov 11, 2024
825a535
Load AI models async, not blocking executor startup
lucksus Nov 11, 2024
42ea99c
Pre-download Whisper model on load() as well
lucksus Nov 11, 2024
b4c68b2
CI install ffmpeg for transcription test
lucksus Nov 11, 2024
b30b5df
fmt
lucksus Nov 11, 2024
73796f3
Whisper test, don't exceed array bounds and wait at the end for 10s
lucksus Nov 11, 2024
5b5931a
Unflake agent test
lucksus Nov 11, 2024
a661faa
Make transcription thread use drop_rx to clean up when UI stops trans…
lucksus Nov 11, 2024
403cedc
Improve transcription test quite a bit (still not working though)
lucksus Nov 11, 2024
3f9f053
Skip transcription test for now
lucksus Nov 11, 2024
99a24bb
fmt
lucksus Nov 11, 2024
ae5cf17
Increase CI timeout for root tests
lucksus Nov 11, 2024
483a5ae
Fix build of AIService unit tests after changing constructor signature
lucksus Nov 11, 2024
fc2f47f
Also ignore embedding model rust test
lucksus Nov 12, 2024
1fc4935
Increase timeout of (deactivated) transcription test
lucksus Nov 12, 2024
54f0d6d
Update v8 fork to latest rev
lucksus Nov 12, 2024
9aa69fc
Remove broken ffmpeg installation from CI (test is deactivated anyways)
lucksus Nov 12, 2024
fdb1607
Deactivate clippy for now to speed-up CI until we're green again
lucksus Nov 12, 2024
7dfe868
Don't spam stdout with model downloading updates
lucksus Nov 12, 2024
5d400be
Don't print transcription words to stdout
lucksus Nov 12, 2024
eb415b9
Turn off AI task stress test, increase timeouts of other AI tests
lucksus Nov 12, 2024
6ed5286
Deactivate AI tests to spare CI CPU cycles
lucksus Nov 12, 2024
fd74d62
Revert build files since we don't do v8 dylibs anymore - pull in meta…
lucksus Nov 13, 2024
cbe90e1
Switch Whisper to base model
lucksus Nov 13, 2024
dda22c5
Decrease voice rechunking window to 0.5s and don't split text into words
lucksus Nov 13, 2024
c60cc31
fmt
lucksus Nov 13, 2024
28fe01e
Turn back on AI tests but only for embedding model and audio transcri…
lucksus Nov 13, 2024
b603abf
Install ffmpeg on CI for integration tests
lucksus Nov 13, 2024
bf9e4b8
Deactivate windows in staging builds
lucksus Nov 13, 2024
4d67cf3
Don't build universal builds on macOS
lucksus Nov 13, 2024
91f23c6
set version 0.10.0-rc9
lucksus Nov 13, 2024
50ec097
Fix system tray icon
lucksus Nov 14, 2024
79a4c13
Don't close but hide main window on close button
lucksus Nov 14, 2024
bd379af
Hide system tray message window after 5 seconds
lucksus Nov 14, 2024
9aa93db
Fix closing of launcher
lucksus Nov 14, 2024
14d12a9
Make left-click on system tray icon show main window again
lucksus Nov 15, 2024
57bf5e4
Use Tauri native command to show window triggered by exception
lucksus Nov 15, 2024
ec9f62a
fmt
lucksus Nov 15, 2024
51c87a7
Don't hide window when loosing focus (since we now have window decora…
lucksus Nov 15, 2024
df43cf4
Turn off AI tests again, model download is too heavy for CI
lucksus Nov 15, 2024
9a85862
Move dep. package installation from CI workflow to Dockerfile (and up…
lucksus Nov 15, 2024
b9b99ed
Fix new docker image hash
lucksus Nov 15, 2024
0b9b08e
Fix new docker image hash
lucksus Nov 15, 2024
1b818d3
Deactivate Tauri updater files for now to prevent signing error on pa…
lucksus Nov 18, 2024
53baa3e
Fix name typo
lucksus Nov 18, 2024
fb2e7dd
Make internal model thread spawning functions private
lucksus Nov 18, 2024
e9ac36a
Turn on clippy in CI again
lucksus Nov 18, 2024
8d3d1b2
clippy
lucksus Nov 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ USER root

# Install system dependencies or any other tools you need
RUN apt-get update && sudo apt-get install -y \
libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake gobjc clang gnustep-devel libobjc4 libgnustep-base-dev libasound2-dev pkg-config fuse libfuse2 mesa-utils mesa-vulkan-drivers

# Install Go
ENV GO_VERSION 1.22.0
Expand All @@ -29,8 +29,8 @@ RUN echo 'export PATH="/usr/local/bin:$PATH"' >> $HOME/.bashrc
# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> /home/circleci/.bashrc
RUN ~/.cargo/bin/rustup install 1.78
RUN ~/.cargo/bin/rustup default 1.78
RUN ~/.cargo/bin/rustup install 1.81
RUN ~/.cargo/bin/rustup default 1.81
RUN ~/.cargo/bin/rustup target add wasm32-unknown-unknown

# Install Deno
Expand Down
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ orbs:
jobs:
build-and-test:
docker:
- image: coasys/ad4m-ci-linux:latest@sha256:1278f700839a43daa0edd31b605c4a73e7f5c54c0d8c7dfbc26b3aa4e2e4ef66
- image: coasys/ad4m-ci-linux:latest@sha256:2dd8206db5ee73ae58f48e2c2db595320ab88b94f5e0c0ddc99698191a03114f
resource_class: xlarge
steps:
- checkout
Expand Down Expand Up @@ -64,6 +64,7 @@ jobs:
- run:
name: Build ADAM (without bootstrap languages)
command: pnpm run build-libs
no_output_timeout: 30m
- save_cache:
key: rust-cache-{{ checksum "Cargo.lock" }}-v2
paths:
Expand All @@ -78,6 +79,7 @@ jobs:
- ./target/release/ad4m-executor
- run:
name: cargo clippy
no_output_timeout: 30m
command: cargo clippy --all --exclude ad4m-launcher
- run:
name: Remove pnpm patches
Expand All @@ -91,6 +93,7 @@ jobs:
- run:
name: Root tests
command: pnpm test
no_output_timeout: 30m

integration-tests-js:
docker:
Expand Down Expand Up @@ -152,10 +155,14 @@ jobs:
- save_cache:
key: p-diff-sync-socket-signaling-rust-cache-{{ checksum "bootstrap-languages/p-diff-sync-socket-signaling/hc-dna/Cargo.lock" }}
paths:
- ./bootstrap-languages/p-diff-sync-socket-signaling/hc-dna/target
- ./bootstrap-languages/p-diff-sync-socket-signaling/hc-dna/target\
- run:
name: Install ffmpeg for transcription test
command: sudo apt-get update && sudo apt-get install ffmpeg --fix-missing
- run:
name: Run integration tests
command: cd ./tests/js && pnpm run test-main
no_output_timeout: 30m

integration-tests-cli:
docker:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
if: matrix.platform == 'GH-hosted-ubuntu'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake fuse libfuse2 mesa-vulkan-drivers

- name: install dependencies (macos only)
if: matrix.platform == 'macos-latest'
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
- name: Install Linux Deps
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake fuse libfuse2 mesa-vulkan-drivers

- name: Build modules
run: pnpm run build-libs
Expand Down Expand Up @@ -438,7 +438,7 @@ jobs:
- name: Install Linux Deps
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake fuse libfuse2 mesa-utils mesa-vulkan-drivers

- uses: actions/setup-node@v3
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [GH-hosted-ubuntu, macos-latest, windows-latest]
#platform: [GH-hosted-ubuntu, macos-latest, windows-latest]
platform: [GH-hosted-ubuntu, macos-latest]
node-version: [18.x]

needs:
Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
if: matrix.platform == 'GH-hosted-ubuntu'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake fuse libfuse2 mesa-utils mesa-vulkan-drivers

- name: install dependencies (macos only)
if: matrix.platform == 'macos-latest'
Expand Down Expand Up @@ -357,7 +358,7 @@ jobs:
- name: Install Linux Deps
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake fuse libfuse2 mesa-utils mesa-vulkan-drivers

- name: Install deps
run: pnpm install
Expand Down Expand Up @@ -462,7 +463,7 @@ jobs:
- name: Install Linux Deps
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf-compiler cmake fuse libfuse2 mesa-utils mesa-vulkan-drivers

- uses: actions/setup-node@v3
with:
Expand Down
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug ad4m executor",
"cargo": {
"args": [
"build",
"--bin=ad4m-executor",
"--package=ad4m"
],
"filter": {
"name": "ad4m-executor",
"kind": "bin"
}
},
"args": [
"run"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
Expand Down
Loading