Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
42c0f60
testing
tginsbu1 Jun 20, 2024
45b40ac
Merge branch 'main' of https://github.com/AD-SDL/wei into data_changes
tginsbu1 Jun 20, 2024
2636ea5
Fiddly improvements around logging and event handling
RyanTheRobothead Jun 25, 2024
0118852
Fix: workflow tab now displays all workflows
RyanTheRobothead Jun 27, 2024
6e31e8e
most recent working versiotn
tginsbu1 Jul 1, 2024
198cf46
Cleanup on dashboard
RyanTheRobothead Jul 1, 2024
2373ddf
things
tginsbu1 Jul 2, 2024
5e7a5bf
Merge branch 'dev' of https://github.com/AD-SDL/wei into data_changes
tginsbu1 Jul 2, 2024
596f284
Fix: duplicate events
RyanTheRobothead Jul 3, 2024
bab199b
adding results to about
tginsbu1 Jul 8, 2024
2f281b0
adding results to about
tginsbu1 Jul 8, 2024
a9a8361
Merge branch 'dev' of https://github.com/AD-SDL/wei into data_changes
tginsbu1 Jul 8, 2024
00f8764
Allow autostarting engine from wei server, removing need for separate…
RyanTheRobothead Jul 10, 2024
6df7412
fixing zip return
tginsbu1 Jul 15, 2024
451ff66
fixing zip return
tginsbu1 Jul 15, 2024
3dfb9fb
allowing single file
tginsbu1 Jul 19, 2024
1f1c72c
One StateManager instance to rule them all
RyanTheRobothead Jul 23, 2024
f3d1849
Add heartbeat to allay fears of scheduler freezes
RyanTheRobothead Jul 25, 2024
345095f
fixing downloadable files
tginsbu1 Jul 28, 2024
e568c38
final download
tginsbu1 Jul 29, 2024
c2d3ef7
Slight refactoring of internal methods
RyanTheRobothead Jul 29, 2024
fcfdb25
merging
tginsbu1 Aug 1, 2024
9128ca2
fixing failed stpes
tginsbu1 Aug 1, 2024
56c0642
fixing failed stpes
tginsbu1 Aug 1, 2024
c7aa639
Fix tests and cleanup
RyanTheRobothead Aug 1, 2024
5073a92
Apply suggestions from code review
RyanTheRobothead Aug 1, 2024
bb67ad3
Final code review
RyanTheRobothead Aug 1, 2024
991a94a
Merge pull request #124 from AD-SDL/data_changes
RyanTheRobothead Aug 1, 2024
416e2a8
Add exception raising in experiment client when workflows fail
RyanTheRobothead Aug 7, 2024
ec79c98
fixing small bug
tginsbu1 Aug 8, 2024
29c74dd
Fix default reset handler
RyanTheRobothead Aug 12, 2024
feadf33
Tweaks
RyanTheRobothead Aug 15, 2024
3b12033
Testing data labels
RyanTheRobothead Aug 20, 2024
405f421
Add optional wei_version to ModuleAbout
RyanTheRobothead Aug 21, 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
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
extends: [
'eslint:recommended',
'plugin:vue/vue3-essential',
'@typescript-eslint/recommended',
'@vue/eslint-config-prettier',
'@vue/eslint-config-typescript'
]
}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: nbstripout
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.10
rev: v0.5.5
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ checks: # Runs all the pre-commit checks

test: init .env build # Runs all the tests
@docker compose up -d
@docker compose run wei_engine pytest -p no:cacheprovider wei
@docker compose run test_wei_server pytest -p no:cacheprovider wei
@#docker compose down

clean:
Expand Down
27 changes: 5 additions & 22 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,48 +30,31 @@ services:
#####################
# WEI Core Services #
#####################
wei_server:
test_wei_server:
image: ${IMAGE}
build:
context: .
dockerfile: ${DOCKERFILE}
tags:
- ${IMAGE}:latest
- ${IMAGE}:dev
container_name: wei_server
container_name: test_wei_server
ports:
- 8000:8000
volumes:
- diaspora_config:/home/app/.diaspora
- ./tests/workcells:/workcell_defs
- ~/.wei:/home/app/.wei

environment:
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
command: python3 -m wei.server --workcell /workcell_defs/${WORKCELL_FILENAME}
depends_on:
- wei_redis
wei_engine:
image: ${IMAGE}
container_name: wei_engine
volumes:
- diaspora_config:/home/app/.diaspora
- ./tests/workcells:/workcell_defs
- ~/.wei:/home/app/.wei
- ./:/home/app/wei # for development only
environment:
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
command: python3 -m wei.engine --workcell /workcell_defs/${WORKCELL_FILENAME}
depends_on:
- wei_redis
- wei_server
wei_redis:
- test_wei_redis
test_wei_redis:
image: redis
container_name: wei_redis
container_name: test_wei_redis
ports:
- 6379:6379
volumes:
Expand Down
23 changes: 22 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"prettier": "^3.3.2"
}
}
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ad_sdl.wei"
version = "0.5.9"
dynamic = ["version"]
description = "The Rapid Prototyping Laboratory's Workflow Execution Interface."
authors = [
{name = "Rafael Vescovi", email = "ravescovi@anl.gov"},
Expand Down Expand Up @@ -72,6 +72,8 @@ build-backend = "setuptools.build_meta"

[tool.setuptools]
package-dir = {"wei" = "src/wei"}
[tool.setuptools.dynamic]
version = {attr = "wei.__version__"}

#####################
# Development Tools #
Expand Down
2 changes: 0 additions & 2 deletions redis.conf

This file was deleted.

8 changes: 4 additions & 4 deletions src/ui/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}
export { }

declare module 'vue' {
export interface GlobalComponents {
Dashboard: typeof import('./src/components/Dashboard.vue')['default']
Event: typeof import('./src/components/Event.vue')['default']
Experiments: typeof import('./src/components/Experiments.vue')['default']
LocationsColumn: typeof import('./src/components/LocationsColumn.vue')['default']
ModuleColumn: typeof import('./src/components/ModuleColumn.vue')['default']
LocationsPanel: typeof import('./src/components/LocationsPanel.vue')['default']
ModulesPanel: typeof import('./src/components/ModulesPanel.vue')['default']
ModuleModal: typeof import('./src/components/ModuleModal.vue')['default']
Workflow: typeof import('./src/components/Workflow.vue')['default']
WorkflowModal: typeof import('./src/components/WorkflowModal.vue')['default']
WorkflowsColumn: typeof import('./src/components/WorkflowsColumn.vue')['default']
WorkflowsPanel: typeof import('./src/components/WorkflowsPanel.vue')['default']
WorkflowTable: typeof import('./src/components/WorkflowTable.vue')['default']
}
}
Loading