Skip to content

feat(runs): add site and employee scoped run parity#54

Merged
Taleef7 merged 2 commits into
mainfrom
feat/sprint-8-scoped-run-parity
Jun 3, 2026
Merged

feat(runs): add site and employee scoped run parity#54
Taleef7 merged 2 commits into
mainfrom
feat/sprint-8-scoped-run-parity

Conversation

@Taleef7

@Taleef7 Taleef7 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • route all non-CASE manual runs through the async run-job contract so /api/runs/manual behaves consistently across ALL_PROGRAMS, MEASURE, SITE, and EMPLOYEE
  • add SITE and EMPLOYEE same-scope rerun support by rehydrating persisted requested_scope_json values in the backend
  • expose SITE and EMPLOYEE manual runs in the /runs UI, including required inputs, scope filters, labels, and rerun support
  • update architecture/status docs and add a 2026-06-03 journal entry so the repo reflects the shipped behavior

Verification

  • cd backend
  • ./gradlew.bat --no-daemon --no-configuration-cache -Djava.io.tmpdir=<temp> test --tests com.workwell.web.EvalControllerTest --tests com.workwell.web.RunControllerTest
  • ./gradlew.bat --no-daemon --no-configuration-cache -Djava.io.tmpdir=<temp> test --tests com.workwell.run.ScopedRunFailureIntegrationTest
  • ./gradlew.bat --no-daemon --no-configuration-cache -Djava.io.tmpdir=<temp> test --tests com.workwell.run.ScopedRunIntegrationTest
  • cd frontend
  • npm run lint (passes with one existing warning in test/mocks/next-font.ts)
  • npm run build

Notes

  • no schema migrations were added
  • unrelated local planning/reference files were intentionally left uncommitted

@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workwell-measure-studio Ready Ready Preview, Comment Jun 3, 2026 10:48am

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 110f49ce5f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread backend/src/main/java/com/workwell/run/AllProgramsRunService.java Outdated
@Taleef7 Taleef7 merged commit 168d345 into main Jun 3, 2026
7 checks passed
@Taleef7 Taleef7 deleted the feat/sprint-8-scoped-run-parity branch June 3, 2026 13:13
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