Commit Graph

26 Commits

Author SHA1 Message Date
Viren Baraiya 5cf15d6a4e Revert "MCP for Workflow" (#1137) 2026-05-28 07:45:16 -07:00
kowser 1d398c2b30 MCP for Workflow 2026-05-26 10:04:06 -07:00
Shailesh Padave 396a09a4fd refactor(metrics): make Monitors self-contained; MetricsCollector becomes a registry wiring bean (#1059)
* refactor(metrics): Monitors owns its CompositeMeterRegistry; MetricsCollector wires registries in

Previously Monitors pulled its registry from MetricsCollector, creating an
awkward dependency from conductor-core → conductor-metrics. Now Monitors
owns the CompositeMeterRegistry directly and exposes addMeterRegistry() /
getRegistry(). MetricsCollector (contribs) becomes a thin Spring wiring
component that calls Monitors.addMeterRegistry() on startup.

- Removes conductor-core → conductor-metrics build dependency (cycle-free)
- Adds conductor-metrics → conductor-core build dependency
- Adds getGauge() / getDistributionSummary() aliases for callers using the
  'get' naming convention
- Deprecates MetricsCollector.getMeterRegistry() in favour of
  Monitors.getRegistry()

* Applied spotless

* test(metrics): add MonitorsTest covering registry ownership and meter APIs

Verifies addMeterRegistry(), getRegistry(), counter/timer/gauge identity
caching, getGauge/getDistributionSummary aliases, and tag isolation.

* test(metrics): add Spring integration test verifying MetricsCollector wires registries into Monitors

Boots a minimal Spring context with a SimpleMeterRegistry, confirms that
counters/timers/gauges recorded via Monitors are visible in the
Spring-wired registry after MetricsCollector initialises.

* Applied spotless

* refactor(metrics): retire conductor-metrics module, move classes to core/server

MetricsCollector moves to core alongside Monitors — they are companion classes
(Monitors owns the registry, MetricsCollector wires Spring-managed registries in).
Registry-specific configs (Logging, CloudWatch, AzureMonitor) move to server where
they belong as deployment-level concerns. No Java code imported from the old
contribs.metrics package, so this is a pure relocation with no call-site changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(metrics): delete retired conductor-metrics module directory

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(metrics): add micrometer-registry-prometheus to server and server-lite

Without this dependency Spring Boot cannot create PrometheusMeterRegistry,
so /actuator/prometheus silently returns 404 even though
conductor.metrics-prometheus.enabled=true is set in all default configs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: simplify metrics comment in server build files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(build): remove stale :conductor-metrics dep from scheduler-core

The scheduler module (merged from main via #1064) still referenced
:conductor-metrics, which this branch retired. Monitors is already
provided by :conductor-core.

---------
2026-05-21 11:03:21 -07:00
Viren Baraiya 4cb030bf08 Refactor redis and upgrade jedis (#927)
CI / build (push) Has been cancelled
CI / test-harness (push) Has been cancelled
CI / build-ui (push) Has been cancelled
2026-03-28 13:12:39 -07:00
dependabot[bot] 516afe33b6 Bump org.elasticsearch.client:elasticsearch-rest-high-level-client
Bumps [org.elasticsearch.client:elasticsearch-rest-high-level-client](https://github.com/elastic/elasticsearch) from 6.8.23 to 7.17.29.
- [Release notes](https://github.com/elastic/elasticsearch/releases)
- [Changelog](https://github.com/elastic/elasticsearch/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elastic/elasticsearch/compare/v6.8.23...v7.17.29)

---
updated-dependencies:
- dependency-name: org.elasticsearch.client:elasticsearch-rest-high-level-client
  dependency-version: 7.17.29
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 13:36:16 +00:00
Viren Baraiya 0c723f7aa4 Support Agentic flows (#745)
🤖 Support for agentic workflows in Conductor
2026-02-03 08:42:22 -08:00
Viren Baraiya 8998f10b3f Docker build fixes and deployments (#747)
Publish the docker image and add scripts for starting up local server
2026-02-02 15:25:21 -08:00
Manan Bhatt d015be42fc Fix WorkflowSweeper imports in test base classes
Update AbstractSpecification in both test-harness and test-util to import
WorkflowSweeper from new package location org.conductoross.conductor.core.execution
instead of deprecated com.netflix.conductor.core.reconciliation package.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-30 14:44:11 +05:30
Naomi Most c4288d5e49 Fix flaky PostgresGrpcEndToEndTest by using awaitility (#735)
* Fix flaky tests: PostgresGrpcEndToEndTest and PostgresPollDataDAONoCacheTest

1. PostgresGrpcEndToEndTest - Fixed two race conditions:
   - Search indexing: Replaced Thread.sleep(1000) with await().atMost(5, SECONDS)
     for Elasticsearch/OpenSearch indexing (8 search operations)
   - Task polling: Added awaitility retry for workflow task scheduling
   Both race conditions caused "expected:<1> but was:<0>" failures

2. PostgresPollDataDAONoCacheTest - Fixed test isolation issue:
   - Added @DirtiesContext(classMode = AFTER_EACH_TEST_METHOD) to force
     Spring context reload between tests
   - Added verification in @Before to detect if table truncation fails
   - Prevents data leakage between tests in CI environments with
     connection pooling

Dependencies:
- Added awaitility test dependency to test-util module

These fixes address intermittent CI failures by replacing fixed delays
with robust retry mechanisms and ensuring proper test isolation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Trigger CI to verify flaky test fixes

* Trigger CI build #2 for validation

* Trigger CI build #3 for validation

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-27 10:11:14 -08:00
Viren Baraiya 5ef9b1af25 test fixes 2025-12-29 12:40:54 -08:00
Viren Baraiya 74ee037808 formatting 2025-12-29 11:45:10 -08:00
Viren Baraiya 45e7400c32 fix tests and remove dyno queues 2025-12-29 11:27:41 -08:00
Viren Baraiya 99f2bcb6e5 fix tests 2025-12-29 00:02:55 -08:00
Viren Baraiya 99ecc5f126 sweeper fixes and sync execution 2025-12-28 23:24:52 -08:00
Viren Baraiya ba24100035 remove legacy clients 2025-06-12 01:42:12 -07:00
Loic C. eea7af42ae fix ElasticSearch lib for version 7.17.11 and Lucene to 8.11.1 2025-02-14 20:00:20 +01:00
Jean-Philippe Belval 5e704e7598 Add OpenSearch integration 2024-12-10 10:56:05 -05: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 64073f080f Test fixes (#35)
* Update the tests
2024-01-05 22:00:08 -08:00
c4lm 5c06b37ad1 more cleanup 2023-12-22 22:24:59 +04:00
Viren Baraiya 83b7eef9b3 fix typo 2023-12-20 11:41:30 -08:00
Viren Baraiya 71b2b5731d license header changes 2023-12-20 11:20:22 -08:00
Viren Baraiya 39faefd5e7 build fixes 2023-12-18 23:42:16 -08:00
Viren Baraiya a08d1eb3ef build fixes 2023-12-18 23:17:53 -08:00
Viren Baraiya 72543e47cc formatting 2023-12-17 20:04:10 -08:00
Viren Baraiya da92c670d3 status listener 2023-12-17 12:39:10 -08:00