Skip to content

Add Cockpit process instance jobs tab#70

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

Add Cockpit process instance jobs tab#70
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-instance-jobs

Conversation

@hauptmedia

Copy link
Copy Markdown

Summary

  • add a runtime job API resource for process-instance scoped jobs
  • add historic job-log support for process instance history mode
  • replace the process instance Jobs placeholder with a live/history jobs table and localized labels

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'));"
  • npx eslint src/api/engine_rest.jsx src/api/resources/job.js src/api/resources/job.test.js src/api/resources/history.js src/api/resources/history.test.js src/pages/Processes.jsx src/pages/Processes.test.jsx src/state.js src/state.test.js
  • npx vitest run src/api/resources/job.test.js src/api/resources/history.test.js src/state.test.js src/pages/Processes.test.jsx
  • npx vitest run --maxWorkers=4
  • npm run build
  • browser smoke at http://127.0.0.1:5173/processes/proc:1/instances/inst-9999/jobs: reached login boundary with no console errors

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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