Commit Graph

180 Commits

Author SHA1 Message Date
Viren Baraiya 8f78c0a781 Resolve #1490: CVEs detected in Conductor-OSS 3.32.0-rc.23 dependencies (#1502)
* conductor workspace baseline [conductor-workspace:6589c18f-c889-4d2a-b5d8-08a22da1c609:baseline]

Conductor-Original-Branch: main
Conductor-Original-Head: 4799963183

* code_subtask secure-bom-transitives

* code_subtask align-kafka-event-queue

* code_subtask upgrade-direct-libraries

* code_subtask upgrade-boot-jackson

---------

Co-authored-by: Naomi Most <naomi.most@orkes.io>
2026-08-10 09:53:34 -07:00
bradyyie 0da7d51136 feat(events): add start_agent event handler action
Adds a first-class "Start Agent" action to event handlers, alongside the
existing start_workflow/complete_task/fail_task/terminate_workflow/
update_workflow_variables. This starts a registered agent execution (via the
core WorkflowExecutor.startAgentExecution(AgentStartRequest), already
available on origin/main) directly from an event, without going through
start_workflow against an agent's underlying workflow definition — which
would bypass the agent input contract (prompt/media/context/session_id),
per-run model/timeout overrides, and idempotency handling that
startAgentExecution provides.

Java (common, core):
- EventHandler.Action.Type += start_agent; new flat Action.StartAgent payload
  (name, version, prompt, sessionId, media, context, idempotencyKey) as
  @ProtoField(id = 8) — kept flat rather than reusing AgentStartRequest to
  keep proto generation simple.
- SimpleActionProcessor: new case templating the payload's fields against
  the event via ParametersUtils (mirroring the existing startWorkflow
  handler), then calling workflowExecutor.startAgentExecution(...). No SPI
  needed — WorkflowExecutor and AgentStartRequest are both already visible
  from core.
- grpc/AbstractProtoMapper.java and grpc/eventhandler.proto are regenerated
  by the :conductor-common:protogen task (wired into :conductor-grpc's
  build) — no hand-written gRPC code.

ui-next:
- Action enum + actionLabel ("Start Agent"), persistNewAction, the
  START_AGENT_ACTION schema template, the EventHandlerForm render switch, and
  the StartAgentAction TS type all follow the existing start_workflow
  pattern.
- New StartAgentActionForm (ActionForms/StartAgentTask.tsx), modeled on
  StartWorkflowActionForm: agent name/version pickers sourced from the
  existing /agent/list endpoint and AgentSummary type (already used by
  AgentTaskForm for the same purpose), prompt/session/idempotency-key text
  fields, a newline-delimited media list, and a context key-value editor.

Tests: TestSimpleActionProcessor#testStartAgent (core) and
StartAgentTask.test.tsx (ui-next) cover payload templating/mapping and the
form's field wiring, respectively.

Note: this action is OSS + ui-next only in this change. It requires a mirror
in orkes-conductor (its own EventHandler model + OrkesActionProcessor case)
to work on Orkes, tracked separately.
2026-07-30 16:03:04 -04:00
Viren Baraiya 3ea601884d Enhances A2A/AgentSpan execution (#1356) 2026-07-20 00:04:20 -07:00
Viren Baraiya 80156f58ff Task cancel contract (#1342) 2026-07-17 12:27:07 -07:00
Viren Baraiya c85fa0fb4f support for agent task and other UI fixes 2026-07-17 00:24:44 -07:00
bradyyie 0a5abcacb5 Add workflow classifier support for definitions and execution search
Backports the Orkes workflow classifier concept to OSS. The classifier is a
tag derived from WorkflowDef.metadata (explicit metadata.classifier wins,
else 'agent' when the AgentSpan stamp agent_sdk/agentDef is present, else
'workflow' for plain untagged defs).

- common: new WorkflowClassifier utility; WorkflowSummary gains a classifier
  field (proto field 23) populated at index time
- rest: GET /metadata/workflow supports ?classifier= filtering; workflow
  /search and /search-v2 support &classifier=, folded into the structured
  query as 'classifier IN (...)'
- postgres/sqlite: classifier column on workflow_index (Flyway V17 / V5),
  written on index and filterable via the query builders; the 'workflow'
  token also matches pre-migration NULL rows
- es7/es8/os2/os3: classifier keyword mapping for workflow documents
2026-07-09 11:14:03 -04:00
Pedro Becker 42a9ed69f2 Terminate workflow with custom failure workflow version (#696)
* Failure Workflow Version
Adds method to allow terminating a workflow with a custom failure definition version.

* Adds documentation

* Improve "failureWorkflowVersion" usage description

* Failure Workflow Version
Adds method to allow terminating a workflow with a custom failure definition version.

* Adds documentation

* Improve "failureWorkflowVersion" usage description

* Code review changes from @nthmost-orkes

* Sets "failureWorkflowVersion" JSON snippet as Integer

* E-mail field typo

* Reverts interface method, avoiding brake changes on custom implementations

* Checks for protobuf default value before setting "failureWorkflowVersion" on "fromProto" implementation

* Code style

---------

Co-authored-by: Naomi Most <naomi.most@orkes.io>
2026-07-01 11:56:36 -07:00
Manan Bhatt b3772343a6 fix(core): reset nested JOIN tasks transitively after sub-workflow restart (#1212) 2026-06-25 15:43:34 -07:00
Viren Baraiya 6456b564fa Improve task retry policy (#1031)
CI / build (push) Has been cancelled
CI / test-harness (push) Has been cancelled
CI / generate-e2e-matrix (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / build-ui (push) Has been cancelled
2026-04-21 03:58:19 -07:00
Viren Baraiya fec4f90e20 feat: wildcard search and sub-workflow filtering (#996) 2026-04-08 09:13:10 -07:00
Naomi Most 8b2cef9069 build: add dependency pinning system (#964) (#965)
Converts tribal knowledge about version constraints into grep-able,
enforceable documentation.

- Add // PINNED (#964): tag to all 8 hard-cap locations
- Standardize // Security: and // Compat: prefixes on version floors
- Introduce revGraalVM variable; all five GraalVM artifacts now use it
- Add dependabot.yml ignore rules for protobuf* >= 4.0
- Add dependabot.yml graalvm group for coordinated family upgrades
- Add ## Dependency Pinning section to AGENTS.md documenting all conventions
2026-04-03 16:58:14 -07:00
nicholascole ed215f2314 Fix versions 2026-04-02 11:07:44 -07:00
dependabot[bot] d3b43ed394 build(deps): bump com.google.protobuf:protoc from 3.25.5 to 4.34.1 (#912)
Bumps [com.google.protobuf:protoc](https://github.com/protocolbuffers/protobuf) from 3.25.5 to 4.34.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protoc
  dependency-version: 4.34.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 08:50:11 -07:00
Akhil Pathivada ccc822a8dc feat: Add TaskDef-level control for task status event publishing (#756) 2026-03-25 09:32:31 -07:00
Viren Baraiya 3aa1487493 Feat/gemini api key support (#919) 2026-03-25 09:24:29 -07:00
nthmost-orkes 1055736ce4 test: add integration tests for FORK_JOIN joinMode=SYNC (#619)
- Add ForkJoinSyncModeIntegrationTest with 9 test scenarios covering:
  all-succeed, backward compat (no joinMode), explicit ASYNC, optional
  branch fails, required branch fails, sequential tasks in branch,
  joinOn subset, nested fork/join, and 10-branch fan-out
- Fix WorkflowTask.JoinMode proto field ID from 33→34 (conflict with
  `items` field added for DO_WHILE list iteration in a prior PR)
- Add @ProtoEnum annotation to JoinMode enum so protogen can map it
- Regenerate workflowtask.proto and AbstractProtoMapper with JoinMode
- Add JSON workflow definition resources for manual/documentation use
- Use raw JSON + RestTemplate for workflow registration to avoid
  classpath conflict with bundled conductor-client WorkflowTask

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 03:23:09 +00:00
dependabot[bot] 75303e5f32 Bump com.google.protobuf from 0.9.5 to 0.9.6
Bumps com.google.protobuf from 0.9.5 to 0.9.6.

---
updated-dependencies:
- dependency-name: com.google.protobuf
  dependency-version: 0.9.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 13:36:10 +00:00
Viren Baraiya 7a048ae356 AI task tracking, module reorganization, and new REST endpoints (#801)
* AI task tracking, module reorganization, and new REST endpoints
2026-03-01 07:36:35 -08:00
Viren Baraiya 0c723f7aa4 Support Agentic flows (#745)
🤖 Support for agentic workflows in Conductor
2026-02-03 08:42:22 -08:00
nthmost-orkes 2548ea0536 Upgrade protobuf-java to 4.33.0 to address security vulnerability
- Update protobuf-java from 3.25.5 to 4.33.0 (addresses CVE announced Jan 2025)
- Update protobuf-gradle-plugin from 0.8.19 to 0.9.5
- Use protoc 3.25.5 for code generation (maintains gRPC compatibility)
- Fix hardcoded protobuf version in annotations-processor

Closes #644
Closes #232
Closes #231
2025-12-03 14:51:04 -08:00
manan164 72301d1f0d Added rate limit policy 2025-11-24 19:38:24 +05:30
Shailesh Padave 3cee62a3dc Merge branch 'main' into CCOR-195 2025-08-31 10:16:30 +05:30
Shailesh Jagannath Padave dbacd3bf8c Applied spotless 2025-07-24 17:52:14 +05:30
Shailesh Jagannath Padave 88790adac5 updated proto 2025-07-24 17:26:17 +05:30
Shailesh Jagannath Padave 7728a6453c Updated AbtsractProtoMapper 2025-07-04 18:16:24 +05:30
Shailesh Jagannath Padave 5197559a91 Fixed compilationissues 2025-07-04 16:49:47 +05:30
Shailesh Jagannath Padave eb2970c363 fix build issues 2025-07-04 15:07:06 +05:30
Shailesh Jagannath Padave 4c53d9be5f few more updates 2025-07-04 14:12:34 +05:30
Shailesh Jagannath Padave aeb9466998 Few updates 2025-07-04 13:55:45 +05:30
vishesh-orkes c79f0facb2 Added new cache config class 2025-06-24 15:52:17 +05:30
vishesh-orkes 46c1d7ab88 refactored to reuse CacheConfig class 2025-06-24 15:51:21 +05:30
vishesh-orkes 728c123e82 Added cache config for workflow 2025-06-24 11:26:27 +05:30
Viren Baraiya 8b071b423f fix dependency issues for gRPC 2025-06-15 14:22:15 -07:00
Himanshu Sharma 66a20fd119 Add task to domain to workflow summary index 2025-04-24 15:27:17 +05:30
James Stuart Milne ea7159805c feat: added metadata attribute 2025-04-21 14:37:11 -03:00
Shailesh Jagannath Padave 659baf620f Code changes for introducing totalTimeOut and firstStartTime on taskDef and task 2024-11-25 11:14:39 +05:30
Viren Baraiya 52f0ddb77a updates 2024-07-01 01:16:44 -07:00
Viren Baraiya ce423299d3 updates to the classes 2024-06-30 23:24:57 -07:00
HOA PHAN abf29a0848 upgrade from gradle 7.6.2 to gradle 8.5 (#28) 2024-01-31 10:55:54 -08:00
Dennis Caldwell ac00735d42 Fix CVEs in 3.16. (#46)
* Upgraded ES7 to 7.17.16, alpine to 3.19

* Update ElasticSearch to 7.17.16, some sdk tests are failing.

* Server would not run, StackOverflow - 54742540 had this handy fix.

* Use the new image in test container.

* Update Spring Boot to 3.2.1. One failing test in end to end.

* Handle the change in exceptions from Spring Framework.

* Update AWS SDK for CVE fix.

* Replace generic import with specific class.

* Removed dependencies.lock file from projects. No longer used.
2024-01-30 14:56:51 -08:00
Viren Baraiya e60b0e6ef2 Merge pull request #3 from ivakoleva/permissive-task-feature
Permissive task capability
2023-12-22 19:25:52 -08:00
c4lm 5c06b37ad1 more cleanup 2023-12-22 22:24:59 +04:00
Iva Koleva fdf5f5e738 WorkflowTask permissive property added, so various task types
can be permissive.
2023-12-19 21:38:19 +02:00
Scott Carter 52dbb92e04 Upgrading OSS libraries with known open CVEs (#3778)
* Upgrading OSS libraries with known open CVEs

* Updating the protobuf library.

* Resolve the remaining build issues.

---------

Co-authored-by: Scott Carter <cartersc@vmware.com>
2023-11-24 22:58:27 -08:00
Richard Meng f9b7e5cd0a Update versions (#3792)
* Version updates
2023-11-12 00:52:31 -08:00
LuisLainez 064b0a6292 Issue/upgrade to spring (#3828)
SB3 upgrades
2023-10-31 09:08:06 -07:00
Alex May e4821852f7 Add nashorn to dependency locks 2023-08-14 13:09:49 -06:00
Alex May e4b2e1147c Merge remote-tracking branch 'origin/main' into alexmay48/java17-update
# Conflicts:
#	.gitignore
#	docker/server/Dockerfile
2023-08-14 11:18:36 -06:00
Alex May 625bbf3a85 generateLock saveLock 2023-07-21 10:06:35 -06:00
Alex May fdcdf51641 Update google protobuf 2023-07-21 09:45:49 -06:00