Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
4a9041c
Initial plan
Copilot Oct 7, 2025
b5f24af
Add Prefect v3 integration for plate resort control
Copilot Oct 7, 2025
0dd634b
Add deployment helper script and package init
Copilot Oct 7, 2025
665bccf
Update README with Prefect integration section
Copilot Oct 7, 2025
9b9f50d
Apply DRY principle: decorate PlateResort methods directly, simplify …
Copilot Oct 7, 2025
806ae9f
Remove device.py and fix deployment to avoid hardware initialization
Copilot Oct 7, 2025
4caedd6
Add custom worker service for persistent hardware connections
Copilot Oct 10, 2025
801a6c0
Add comprehensive integration tests and test report
Copilot Oct 11, 2025
c891bc2
Add instance persistence test with call counter validation
Copilot Oct 11, 2025
8364abb
Address PR feedback: simplify deployment names, add documentation, cl…
Copilot Oct 14, 2025
7fb7a62
Complete restructure: eliminate REST API, implement Prefect-only work…
kelvinchow23 Oct 15, 2025
0c8c7ad
Improve installation and config management
kelvinchow23 Oct 15, 2025
dd9daba
Include config files in package and fix worker entrypoint
kelvinchow23 Oct 15, 2025
f0d3449
Fix worker_service get_resort nesting and main() placement
kelvinchow23 Oct 15, 2025
b17e45c
Ensure worker import is correct
kelvinchow23 Oct 15, 2025
fdd7e21
Apply user edits to worker_service.py
kelvinchow23 Oct 15, 2025
d9e7922
Fix flow crashes: remove persistent worker instance, make flows handl…
kelvinchow23 Oct 15, 2025
98cfefd
2.0.1: Fix connect deployment SignatureMismatchError (remove parameters)
kelvinchow23 Oct 16, 2025
f06bb4a
2.0.2: Migrate to function-based Prefect flows; remove method @flow d…
kelvinchow23 Oct 16, 2025
d13b127
Refactor deploy.py to use direct flow.deploy calls (function flows only)
kelvinchow23 Oct 16, 2025
de23e56
feat: migrate to stateless Prefect flows, remove REST/keygen, add aut…
kelvinchow23 Oct 16, 2025
f97cfb3
fix: add deploy debug instrumentation and bump to 2.0.5 for path diag…
kelvinchow23 Oct 16, 2025
6f6f373
feat: installer --force-refresh and --ref flags; bump to 2.0.6
kelvinchow23 Oct 16, 2025
532e586
fix: explicit Prefect deployment entrypoints (avoid missing /home/pi …
kelvinchow23 Oct 16, 2025
2344018
fix: add deploy sentinel and bump to 2.0.8 for remote verification
kelvinchow23 Oct 16, 2025
d100e7f
chore: 2.0.9 deploy inspection fix + client/core fleshing
kelvinchow23 Oct 16, 2025
90e0418
feat(core): add parameter overrides to connect; remove legacy artifac…
kelvinchow23 Oct 21, 2025
0ddfe38
fix(deploy): handle Flow objects via flow.fn; bump to 2.0.10
kelvinchow23 Oct 21, 2025
ac8b92d
fix(deploy): remove unsupported entrypoint arg; bump to 2.0.11
kelvinchow23 Oct 21, 2025
2a9eb1c
feat(deploy): use remote git source for Prefect Cloud deployments; bu…
kelvinchow23 Oct 21, 2025
a2d2480
fix(deploy): correct Prefect Cloud entrypoint path; bump to 2.0.13
kelvinchow23 Oct 21, 2025
0050aa6
feat(deploy): add commit SHA pinning via PLATE_RESORT_GIT_COMMIT; bum…
kelvinchow23 Oct 21, 2025
e333992
fix(deploy): correct GitRepository args and add path check; bump to 2…
kelvinchow23 Oct 21, 2025
d3f7c44
Add systemd unit and deployment README for persistent worker
kelvinchow23 Oct 23, 2025
bb91ce5
docs/secrets: add env-style placeholders and bash examples; make work…
kelvinchow23 Oct 23, 2025
fcafb22
docs: README overhaul, restore interactive CLI; feat: persistent conn…
kelvinchow23 Oct 27, 2025
fc81822
fix(deploy): honor PLATE_RESORT_GIT_REF via GitRepository.reference; …
kelvinchow23 Oct 27, 2025
883e765
docs: add commit pin deployment note (Option B); bump version to 2.0.24
kelvinchow23 Oct 27, 2025
248d0e4
Restore blind activate_hotel (2.0.25)
kelvinchow23 Oct 29, 2025
526f58e
feat: precise two-stage movement (activate_hotel_precise / move_to_an…
kelvinchow23 Oct 31, 2025
84715d0
chore(core): correct current limit addr + reapply velocity on mode sw…
kelvinchow23 Oct 31, 2025
58d38cd
feat(reboot): add reboot flow, orchestrator helper, and core reboot m…
kelvinchow23 Oct 31, 2025
631688a
fix(flow): make activate_hotel overrides optional (dict) to satisfy P…
kelvinchow23 Oct 31, 2025
abdaeb5
Restructure codebase with dual interface architecture
kelvinchow23 Dec 12, 2025
81f4e1a
Update documentation with correct REST API client commands
kelvinchow23 Dec 12, 2025
b75bd5c
Add debug output to load_api_key function
kelvinchow23 Dec 12, 2025
d8aa0f1
Add test scripts and update motor speed configuration
kelvinchow23 Dec 12, 2025
4b34f5e
Remove debug output and finalize two-stage REST API integration
kelvinchow23 Dec 12, 2025
f4d1b4a
Update user documentation for REST API client
kelvinchow23 Dec 12, 2025
aa19cbd
Add command table and fix troubleshooting section
kelvinchow23 Dec 12, 2025
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
4 changes: 4 additions & 0 deletions plate-resort-multiple/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ venv/
secrets.yaml
secrets.json
secrets.ini
secrets.local.ini

# Server logs
server/*.log
Expand All @@ -74,3 +75,6 @@ logs/
# Temporary files
*.tmp
*.temp
archived/
archived_gui/
verify_prefect.py
652 changes: 652 additions & 0 deletions plate-resort-multiple/CHANGELOG.md

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions plate-resort-multiple/DEPLOYMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Deployment Notes

## Quick Pi Setup

1. **Clone and Install:**
```bash
git clone https://github.com/AccelerationConsortium/plate-RESORT.git
cd plate-RESORT/plate-resort-multiple
python3 -m venv plate-resort-env
source plate-resort-env/bin/activate
pip install -e .
```

2. **Generate API Key:**
```bash
plate-resort-keygen --generate --update-config --create-env
export PLATE_API_KEY=$(grep PLATE_API_KEY .env | cut -d'=' -f2)
```

3. **Start Services:**
```bash
# REST API Server
plate-resort-rest-server

# OR Prefect Worker
plate-resort-prefect-worker
```

4. **REST API Client Usage:**
```bash
# Available commands: connect, disconnect, status, position, activate
plate-resort-rest-client connect
plate-resort-rest-client status
plate-resort-rest-client position
plate-resort-rest-client activate A
plate-resort-rest-client disconnect
```

## Auto-activation Setup
```bash
echo "cd ~/plate-RESORT/plate-resort-multiple && source plate-resort-env/bin/activate" >> ~/.bashrc
```

## Fixed Issues
- ✅ File corruption in cli_rest.py and keygen_rest.py
- ✅ API key configuration for REST server
- ✅ Environment variable precedence in wrapper.py
- ✅ Console script naming and paths
- ✅ Dual interface architecture (REST + Prefect)
Loading