Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
7 tasks done
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
November 30, 2026 06:20
181ee45 to
72da173
Compare
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Nov 30, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Nov 30, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
November 30, 2026 07:12
72da173 to
f8242ba
Compare
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Nov 30, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Nov 30, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
November 30, 2026 09:42
f8242ba to
81fc9b9
Compare
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Nov 30, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Nov 30, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
December 1, 2026 06:37
81fc9b9 to
3e9921c
Compare
|
|
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
December 1, 2026 07:14
3e9921c to
e289fa1
Compare
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
December 1, 2026 10:08
e289fa1 to
9f0d8d9
Compare
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 1, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anged Byte-for-byte copies of nsw-srilanka's internal/workflowadmin and internal/agency at 18f3ae1d4dc699b7308164c416a869e34e29f9fc (branch refactor/1245-generic-workflowadmin-wording, OpenNSW/nsw-srilanka#1341) into platform/, tests included. No other changes. They do not build until the import rewrite in the next commit. Part of OpenNSW/nsw-srilanka#1248 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e/platform and require their dependencies
Mechanical, no other changes:
find platform/workflowadmin platform/agency -name '*.go' -print0 \
| xargs -0 perl -pi -e 's#"github.com/OpenNSW/nsw-srilanka/internal/(caseflow|tasks)"#"github.com/OpenNSW/core/platform/$1"#'
make license
cd platform && GOWORK=off go mod tidy
make license and core's pre-commit hook add the SPDX headers to the copied
files. go.mod changes in this commit because the hook lints and builds the
module. go mod tidy adds core/pagination v0.1.0, the version nsw-srilanka
requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
refactor/move-workflowadmin
branch
from
December 2, 2026 02:16
9f0d8d9 to
a3f9f7a
Compare
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 2, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 2, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 2, 2026
OpenNSW/core#445 adds the workflowadmin and agency packages to core/platform. Pinning to that PR's head lets the next commit switch over to them; the pin moves to the merge commit once #445 merges. The pin changes no other module version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
added a commit
to OpenNSW/nsw-srilanka
that referenced
this pull request
Dec 2, 2026
…re/platform OpenNSW/core#445 moved the workflowadmin and agency packages into core/platform unchanged. Import them from there, delete internal/workflowadmin and internal/agency, and point the comments and docs/agency.md at the core packages. Behaviour is unchanged. Closes #1240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
marked this pull request as ready for review
December 2, 2026 04:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves nsw-srilanka's workflow admin (
workflowadmin: engine status, resolve, force-park) and agency mode (agency) intocore/platform, unchanged. Phase 4 of OpenNSW/nsw-srilanka#1248, issue OpenNSW/nsw-srilanka#1240.The code was made generic in nsw-srilanka first (OpenNSW/nsw-srilanka#1341). OpenNSW/nsw-srilanka#1361 then rewrote the handlers' comments to name the path values they read instead of route paths, so this PR copies it from nsw-srilanka's
mainat OpenNSW/nsw-srilanka#1361's merge commit,d5b188df. The admin audits keepaudit.ConsignmentEventandaudit.TargetConsignment, which are already incore/platform/audit. A generic case event is a follow-up, since it changes what the audit log records.Stacked on #444, which is stacked on #443. Review it after them, or with #444 as the base.
Type of Change
Changes Made
Review commit by commit.
166026einternal/workflowadminandinternal/agencyintoplatform/workflowadminandplatform/agency.02629e2caseflowandtasksimports tocore/platform, adds the SPDX headers (make licenseand core's pre-commit hook), and runsgo mod tidy.go.modaddscore/paginationv0.1.0, nsw-srilanka's version.a3f9f7aplatform/README.md.Blob check
Each file in
166026ehas the same blob as in nsw-srilanka atd5b188df(git rev-parse <commit>:<path>):internal/agency/artifacts_test.go77e36b2f7743internal/agency/cases.go2bc1d42566fainternal/agency/cases_test.goaabe47c753c3internal/agency/repository.go299e55cae272internal/agency/repository_test.gofc5fb5e4709finternal/workflowadmin/case_service.goda1316e405ceinternal/workflowadmin/case_service_test.gof4196526fe84internal/workflowadmin/engine_status.go60e60df4d00dinternal/workflowadmin/engine_status_test.go58fd562eadd4internal/workflowadmin/force_park.go090a0673ad2dinternal/workflowadmin/force_park_test.go991b4fcdffb8internal/workflowadmin/handler.go5b8309be8f1cinternal/workflowadmin/resolve_test.go982253dc4732internal/workflowadmin/service.gofc7b86925816internal/workflowadmin/task_workflow_audit_test.go38fd65a7d890internal/workflowadmin/testutil_test.goaef7700ee43dinternal/workflowadmin/workflow_audit_test.gob40f9765b422The core path is the same with
internal/replaced byplatform/.Testing
The tests move with the code.
go build ./...,go test -race ./...andgolangci-linton the moved packages pass inplatform/.Related Issues
Related to OpenNSW/nsw-srilanka#1240, OpenNSW/nsw-srilanka#1248, OpenNSW/nsw-srilanka#1341, OpenNSW/nsw-srilanka#1342
🤖 Generated with Claude Code