Skip to content

[WIP] feat: workflow engine integration#1684

Draft
bjorntore wants to merge 193 commits intomainfrom
feat/workflow-engine-integration
Draft

[WIP] feat: workflow engine integration#1684
bjorntore wants to merge 193 commits intomainfrom
feat/workflow-engine-integration

Conversation

@bjorntore
Copy link
Copy Markdown
Contributor

Description

Related Issue(s)

  • #{issue number}

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

bjorntore and others added 30 commits August 27, 2025 15:18
…ult enum and use result classes instead, for expandability.
…elds from result class and instead return generic failed ProcessChangeResult.
…ncellation params

DeleteInstanceIfConfigured and InstancesController.CopyInstance were
calling old 3-param overloads of DeleteInstance/CreateInstance that
lacked authenticationMethod and CancellationToken parameters. This was
a merge casualty from the binary-compatibility commit (dd7b184).
Copy link
Copy Markdown

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

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

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

…tion

Resolves conflicts in ProcessEngine (keep SubmitInitialProcessState + add
auto-advance Next/ProcessNext pattern with IInstanceLock) and ProcessEngineTest
(add InitLock mock setup, remove LockToken from ProcessNextRequest usages).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bjorntore bjorntore force-pushed the feat/workflow-engine-integration branch from 7f4b36e to 8bdd090 Compare April 8, 2026 19:57
@bjorntore bjorntore force-pushed the feat/workflow-engine-integration branch from 8bdd090 to e75aa9a Compare April 8, 2026 19:59
@bjorntore
Copy link
Copy Markdown
Contributor Author

/publish

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

@bjorntore
Copy link
Copy Markdown
Contributor Author

/publish --skip-integration

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

PR release:

⚙️ Building...
✅ Done!

Comment thread .github/workflows/pr-actions.yml Fixed
Use structured logging templates instead of string interpolation to
prevent log injection via user-controlled route parameters. Also stop
echoing user input in error responses and activity status descriptions.
…ter name mismatches

- Use InvalidOperationException instead of Exception in WorkflowEngineClient
  and ProcessEngine (S112)
- Rename interface parameter 'parameters' to 'context' in
  IWorkflowEngineCommand to match implementations (S927)
- Rename 'processStartRequest' to 'request' in ProcessEngine to match
  IProcessEngine interface (S927)
URLs are constructed from platform configuration settings, not from
user-controlled input. These are server-to-server calls to internal
platform services.
Temporary workflow for publishing experimental NuGet packages from PRs
that cannot run integration tests (e.g. workflow engine not yet in
app-localtest). Triggered by /publish-no-integration in PR comments.
@bjorntore
Copy link
Copy Markdown
Contributor Author

/publish-no-integration

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

PR release:

⚙️ Building...
✅ Done!

Avoids triggering the original /publish workflow since its
contains() check would also match /publish-no-integration.
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
64.3% Condition Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@danielskovli
Copy link
Copy Markdown
Contributor

/publish-no-integration

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 16, 2026

PR release:

⚙️ Building...
✅ Done!

@bjorntore
Copy link
Copy Markdown
Contributor Author

/pack-experimental

@bjorntore
Copy link
Copy Markdown
Contributor Author

/pack-experimental

huh, trodde command var renamed. 🤔

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

Labels

backport-ignore This PR is a new feature and should not be cherry-picked onto release branches breaking-change Label Pull requests with breaking changes. Used when generating releasenotes feature Label Pull requests with new features. Used when generation releasenotes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants