You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import the existing DataTasks codebase from ../datatasks into work-engine/ in this repository while preserving its current TypeScript service, local development commands, tests, fixtures, templates, bundle behavior, recurring work behavior, file handling, user handling, notifications, and Playwright coverage.
The implementation should treat work-engine/ as a transitional standalone Node/TypeScript subsystem inside the merged DataOps repo. Make only the path, package, configuration, and documentation changes needed for it to install, build, run, and test from work-engine/ without requiring changes to ../datatasks.
Record the imported source revision according to the import-log/source-commit policy from #12. If #12 is not complete yet, this issue should wait rather than invent a competing import-log convention.
Acceptance Criteria
DataTasks source is copied into work-engine/ from ../datatasks without modifying the source repository.
work-engine/ includes the runtime source, package files, TypeScript configs, tests, Playwright config, scripts, docs, fixtures, templates, and local development assets needed for standalone operation.
Node package scripts still work from inside work-engine/, including npm test, npm run typecheck, npm run build, npm run start, npm run dev, and npm run test:e2e where local dependencies are available.
Path, package, and environment assumptions are updated so the imported code does not require hard-coded references back to ../datatasks.
Existing task, template, bundle, recurring, file, user, notification, storage, and cron test coverage remains present after the import.
Focused Playwright coverage for task and bundle flows passes from work-engine/, or any environment-only blocker is documented with the exact failing command and reason.
The implementation notes clearly identify any follow-up work deferred to portal integration issues instead of mixing it into the import.
Test Scenarios
Scenario: Engineer validates the imported work engine
Given: a fresh checkout of DataTalksClub/dataops with DataTasks imported into work-engine/
When: an engineer runs npm install, npm test, npm run typecheck, and npm run build from work-engine/
Then: the commands complete successfully without reading or writing files in ../datatasks.
Scenario: Engineer exercises task and bundle browser flows
Given: the imported work engine has its local dependencies installed and its test server can start
When: an engineer runs the focused Playwright specs for task lists, bundle detail, templates, and instantiation from work-engine/
Then: the flows pass against the imported code and use fixtures/configuration that live inside work-engine/.
Scenario: Operator starts the local work engine
Given: the imported work engine has local environment defaults configured for development
When: an operator starts it with the preserved local start or dev command from work-engine/
Then: the DataTasks UI/API starts locally and exposes the existing task, template, bundle, recurring, user, file, and notification behavior.
Out of Scope
Rewriting DataTasks into Python or merging it into the portal backend.
Import DataTasks into work-engine
Status: pending
Tags:
migration,work-engine,testing,P0Depends on: #12
Blocks: #6, #8, #9, #15
Scope
Import the existing DataTasks codebase from
../datatasksintowork-engine/in this repository while preserving its current TypeScript service, local development commands, tests, fixtures, templates, bundle behavior, recurring work behavior, file handling, user handling, notifications, and Playwright coverage.The implementation should treat
work-engine/as a transitional standalone Node/TypeScript subsystem inside the merged DataOps repo. Make only the path, package, configuration, and documentation changes needed for it to install, build, run, and test fromwork-engine/without requiring changes to../datatasks.Record the imported source revision according to the import-log/source-commit policy from #12. If #12 is not complete yet, this issue should wait rather than invent a competing import-log convention.
Acceptance Criteria
work-engine/from../datataskswithout modifying the source repository.work-engine/includes the runtime source, package files, TypeScript configs, tests, Playwright config, scripts, docs, fixtures, templates, and local development assets needed for standalone operation.work-engine/, includingnpm test,npm run typecheck,npm run build,npm run start,npm run dev, andnpm run test:e2ewhere local dependencies are available.../datatasks.work-engine/, or any environment-only blocker is documented with the exact failing command and reason.Test Scenarios
Scenario: Engineer validates the imported work engine
Given: a fresh checkout of
DataTalksClub/dataopswith DataTasks imported intowork-engine/When: an engineer runs
npm install,npm test,npm run typecheck, andnpm run buildfromwork-engine/Then: the commands complete successfully without reading or writing files in
../datatasks.Scenario: Engineer exercises task and bundle browser flows
Given: the imported work engine has its local dependencies installed and its test server can start
When: an engineer runs the focused Playwright specs for task lists, bundle detail, templates, and instantiation from
work-engine/Then: the flows pass against the imported code and use fixtures/configuration that live inside
work-engine/.Scenario: Operator starts the local work engine
Given: the imported work engine has local environment defaults configured for development
When: an operator starts it with the preserved local start or dev command from
work-engine/Then: the DataTasks UI/API starts locally and exposes the existing task, template, bundle, recurring, user, file, and notification behavior.
Out of Scope
../datatasksor any other source repository.