Skip to content

Suspend and activate Cockpit process instances#79

Open
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-instance-suspension
Open

Suspend and activate Cockpit process instances#79
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-instance-suspension

Conversation

@hauptmedia

Copy link
Copy Markdown

Summary

  • add REST bindings and state for live process instance suspension by id
  • show process instance state in the Cockpit instance detail header
  • add Suspend/Activate actions for live process instances while keeping history details read-only
  • add localized labels and API/page coverage for the suspension workflow
  • clean up existing lint issues in the touched Processes page

Reference

Verification

  • node -e "JSON.parse(require('fs').readFileSync('public/locales/en-US/translation.json','utf8')); JSON.parse(require('fs').readFileSync('public/locales/de-DE/translation.json','utf8')); console.log('locale JSON ok')"
  • npx eslint src/api/resources/process_instance.js src/api/resources/process_instance.test.js src/pages/Processes.jsx src/pages/Processes.test.jsx
  • npx vitest run src/api/resources/process_instance.test.js src/pages/Processes.test.jsx
  • npx vitest run --maxWorkers=4
  • npm run build
  • browser smoke at http://127.0.0.1:5175/processes/proc:1/instances/inst-9999/vars: reached login boundary with title Operaton and no console errors

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant