0.29.0¶
Stove 0.29.0 adds application metrics, heap comparisons, and profiling trends to Drill Down. Runs now show what started, what failed, and what shut down. A single Gradle plugin configures tracing, profiling, and typed WireMock stubs from OpenAPI.
Breaking changes and migration¶
One Stove Gradle plugin¶
| In 0.28.0 | In 0.29.0 |
|---|---|
Plugin ID com.trendyol.stove.tracing |
com.trendyol.stove |
Implementation artifact com.trendyol:stove-tracing-gradle-plugin |
com.trendyol:stove-gradle-plugin |
stoveTracing { ... } |
stove { ... } with separate tracing and profiling blocks |
| Tracing enabled when the plugin is applied | Enable it with stove { tracing {} } |
Profiling enabled with profiling.enabled.set(true) |
stove { profiling {} } enables it; enabled can still override the default |
Update the plugin ID in your build or version catalog. The old plugin and artifact names have no aliases. Move serviceName and testTaskNames to the outer stove block, OpenTelemetry settings to tracing, and Pyroscope settings to profiling.
plugins { id("com.trendyol.stove") version "0.29.0" }
stove {
serviceName.set("checkout-api")
testTaskNames.set(listOf("e2eTest"))
tracing {} // Keep this if the old plugin attached the OpenTelemetry agent.
profiling { allocations.set(true) } // Include only if you want profiling.
}
Runtime registration stays the same: use tracing { enableSpanReceiver() } for spans and dashboard { ... } for dashboard events and profiling collection. A profiling-only build can omit the Gradle tracing block.
Other compatibility changes¶
- Quarkus:
stove-quarkusis built and tested against Quarkus 4.0.1 and now targets Java 21. Use JDK 21 or later for the Quarkus test suite. If you still need Java 17 for Quarkus tests, stay on 0.28.0. Other starters keep their existing Java requirements. - Dashboard: The optional
metricsUrlchanges the JVM signatures ofDashboardSystemOptions's constructor andcopy. Recompile modules that call them. Existing Kotlin calls can omitmetricsUrl; direct Java constructor calls must supply a fifth argument (nullkeeps scraping off). - Local PostgreSQL stack: The bundled Compose setup moves from PostgreSQL 18 to 19. Keep
postgres:18-alpinefor an existing 18 cluster until you migrate its data or restore a backup into PostgreSQL 19. Stove Server still accepts an existing external PostgreSQL database.
New features¶
Application metrics before shutdown¶
Set DashboardSystemOptions.metricsUrl to a full Prometheus text URL such as http://localhost:8080/metrics. Stove.stop() scrapes it once before stopping the application. Open Drill Down → This run → Application Metrics to search metrics, filter label values, inspect histogram buckets, copy a link to a metric, or download the scrape. The capture has a five second deadline and a 512 KiB limit. Failures appear with the run and leave the test result unchanged. Counters and histogram buckets can include traffic from before the run.
Heap diagnostics and memory history¶
Opt in with heapDiagnostics(). It compares the heap after startup and before shutdown, using the HotSpot test JVM, a reachable live HPROF endpoint such as Spring Boot Actuator, or a binary Go pprof heap endpoint. This run → Memory shows changes by JVM class or Go allocation site. Run history → Memory shows recurring growth across comparable passing and failing runs. For JVM captures, retainedObjects = true adds retained sizes and paths toward GC roots from the shutdown dump. Only the bounded comparison reaches Stove Server.
MCP exposes stove_heap_trends to find repeat growth and stove_heap_diagnostics to inspect one run. Compare similar workloads before attributing growth to a leak.
Profiling trends¶
Use Drill Down → Run history → Profiles or MCP's stove_profile_trends to see recurring hotspots and per-run sampled shares across up to ten retained runs. Passing, failing, and active runs are eligible. Filter on metadata such as branch or CI job to compare similar workloads, then open a supporting run for its profile evidence. Active runs can have partial recordings.
Run environment and lifecycle events¶
The dashboard's Run environment lists the application and every registered system, including keyed instances and systems with no test activity. Expand a component to see which setup or cleanup phase failed and how long it took. Startup and cleanup errors can fail a run without adding a failed test. Older runs keep their existing system summary.
The dashboard now exports test, report, snapshot, span, mock, and lifecycle evidence from one stove.events subscription. Use the events { ... } callbacks or collect stove.events.stream in your own integration, even without a dashboard. Stove captures the first failure snapshot and the test-end snapshot before cleanup can remove their evidence, and keeps exporting observations through run cleanup.
Typed WireMock stubs from OpenAPI¶
The WireMock contract DSL generates Kotlin stubs and request matchers from Swagger 2.0 and OpenAPI 3.0/3.1 contracts supplied as local files, URLs, or inline specs. Use the generated operations with the existing Stove WireMock setup, retry, and verification DSLs. The plugin tracks agent settings and JARs as Gradle test inputs. WireMock-only builds attach no agents, and agent-only builds skip OpenAPI Generator.
Fixes and maintenance¶
- The heap analyzer adjusts its memory and time budgets to dump size, reports worker failures, and checks free disk space before writing a local heap dump.
- Chaos tests now verify that shutdown waits for the validation coroutine and accept MongoDB pool-cleared errors during replica-set partitions.
- Dependencies include Spring Boot 4.2.0, Micronaut 5.2.26, Ktor 3.6.2, Cucumber 8.1.0, gRPC Java 1.86.0, MongoDB driver 5.15.0, and Mock OAuth2 Server 7.0.2.
- The build uses Detekt 2 and pins JDKs by major version. CI reuses more of the Gradle cache, runs server checks with Ubuntu's
protoc, and uses the Trendyol bot to publish the Homebrew formula. - The bundled Stove skill documents the version-specific profiling DSL, heap capture sources, metrics snapshots, and MCP investigation. It also has updated guidance for database chaos, Quarkus Bridge, and other existing test workflows.
Upgrade the server and skills¶
Align the Stove BOM, Gradle plugin, Stove Server, and agent plugin on 0.29.0. The server applies SQLite and PostgreSQL migrations V14–V16 for run environment, heap diagnostics, and application metrics. Refresh installed skills through your agent's update flow.