Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

docs(autoqa): point the scripts README at the workflows that exist

thinhlpg9f1ba732ebd4
diff --git a/autoqa/README.md b/autoqa/README.md
index 1851909de..92a835d8a 100644
--- a/autoqa/README.md
+++ b/autoqa/README.md
@@ -87,9 +87,10 @@ python main.py \
| `--rp-endpoint` | `RP_ENDPOINT` | `https://reportportal.menlo.ai` | ReportPortal endpoint URL |
| `--rp-project` | `RP_PROJECT` | `default_personal` | ReportPortal project name |
| `--rp-token` | `RP_TOKEN` | - | ReportPortal API token (required when RP enabled) |
+| `--launch-name` | `LAUNCH_NAME` | _auto-generated_ | ReportPortal launch name |
| **Jan Application** |
| `--jan-app-path` | `JAN_APP_PATH` | _auto-detected_ | Path to Jan application executable |
-| `--jan-process-name` | `JAN_PROCESS_NAME` | `Jan.exe` | Jan process name for monitoring |
+| `--jan-process-name` | `JAN_PROCESS_NAME` | `Jan.exe` (Windows) / `Jan` (macOS) / `Jan-nightly` | Jan process name for monitoring |
| **Model Configuration** |
| `--model-name` | `MODEL_NAME` | `ByteDance-Seed/UI-TARS-1.5-7B` | AI model name |
| `--model-base-url` | `MODEL_BASE_URL` | `http://10.200.108.58:1234/v1` | Model API endpoint |
@@ -113,6 +114,7 @@ ENABLE_REPORTPORTAL=true
RP_ENDPOINT=https://reportportal.example.com
RP_PROJECT=my_project
RP_TOKEN=your_secret_token
+LAUNCH_NAME=my_local_run
# Jan Application
JAN_APP_PATH=C:\Custom\Path\Jan.exe
@@ -154,6 +156,9 @@ autoqa/
├── test_runner.py # Test execution logic
├── screen_recorder.py # Screen recording functionality
├── reportportal_handler.py # ReportPortal integration
+├── checklist.md # Manual QA checklist the automated suite mirrors
+├── requirements.txt # Python dependencies
+├── scripts/ # Platform install/cleanup scripts used by CI (see scripts/README.md)
├── tests/ # Test files directory
│ ├── basic/
│ │ ├── login_test.txt
diff --git a/autoqa/scripts/README.md b/autoqa/scripts/README.md
index b6feffb82..69adcc3e8 100644
--- a/autoqa/scripts/README.md
+++ b/autoqa/scripts/README.md
@@ -20,9 +20,9 @@ autoqa/scripts/
├── macos_download.sh # macOS: Download Jan app (.dmg)
├── macos_install.sh # macOS: Install Jan app
├── macos_post_cleanup.sh # macOS: Post-test cleanup
-├── run_tests.sh # Unix: Run AutoQA tests (Ubuntu/macOS)
+├── run_tests.sh # Unix: Run AutoQA tests (Ubuntu/macOS)
+├── setup-android-env.sh # macOS: Configure the Android NDK/JDK toolchain, then exec a command
├── README.md # This file
-└── PERMISSIONS.md # Permission setup documentation
```
## Script Functions
@@ -53,10 +53,14 @@ autoqa/scripts/
- **setup_permissions.sh**: Automatically sets executable permissions for all shell scripts
- **run_tests.sh**: Platform-agnostic test runner for Unix-based systems (Ubuntu/macOS)
+- **setup-android-env.sh**: Configures `JAVA_HOME`, `ANDROID_HOME`/`ANDROID_NDK_ROOT` and the Rust cross-compile links for Android builds, then execs the command it is given. Only useful on macOS with a local Android SDK (`make dev-android` calls it); it is not used by CI.
## Usage in GitHub Actions
-These scripts are called from the `.github/workflows/autoqa.yml` workflow file:
+These scripts are called from `.github/workflows/autoqa-template.yml`, the reusable
+AutoQA workflow. `.github/workflows/autoqa-manual-trigger.yml` calls the template
+with `workflow_dispatch` inputs, and `.github/workflows/autoqa-migration.yml` uses
+the same scripts for its migration run:
```yaml
# Setup permissions first (Ubuntu/macOS)