Commit Graph
5498 Commits
Author SHA1 Message Date
ktx-akshayandclaude[bot] 230bfbbacd test: add test cases for cross-linking between dashboards and logs page (#10797)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
2026-03-16 15:24:03 +05:30
ktx-akshay 6c5500eed3 test: add API tests for dashboard multi-window VRL functionality (#10864) 2026-03-16 14:03:02 +05:30
Subhra264 3760b55cf9 fix: multi-window dashboard should support vrl functions (#10860)
Currently dashboard with Multi-window set up does not really run the
result array vrl functions. This pr adds support for vrl function when
`/_search_multi_stream` is used. When `per_query_response` is true, and
the vrl function is result array vrl function, the function is applied
on the whole combined response (including both the time windows). The
input of the result array vrl function becomes a 2d array where each
child array represent a time window.

Otherwise, if `per_query_response` is false, or the vrl function is not
result array vrl function, then the function is applied individually on
every result of every time-window queries.
2026-03-16 13:04:28 +05:30
Subhra264 6d50b24f44 fix: Show the firing count on alerts page (#10732)
Currently the firing count on the alerts list page always show `0`
whether it fired or not. This pr fixes that. Ref -
https://github.com/openobserve/openobserve/issues/10472
2026-03-16 11:20:27 +05:30
Sai Nikhil e47d6a46d0 fix: show atleast 2 decimal value and some text change on service graph edge side panel (#10912)
This PR fixes the isssue in e - 1351
2026-03-15 18:24:01 +05:30
Sai Nikhil abe71fe5ef fix: add alert issues (#10911)
This PR fixes the issue in #10899  #10872
2026-03-15 15:30:20 +05:30
Sai Nikhil b3c45b3279 fix: issue 10821 (#10910)
This PR fixes the issue in #10821
2026-03-15 12:55:15 +05:30
Neha PandClaude 9b3754f477 test: improve SQL dialog content detection in search job inspector (#10908)
- Wait for q-dialog to be visible before searching for SQL content
- Use specific selectors (pre.sql-query, .sql-query-container pre)
matching Vue component
- Scope selectors to dialog to avoid matching other pre elements
- Increase timeout from 2000ms to 5000ms for dialog animation + API
response
- Filter out "No SQL query available" fallback message

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-14 23:12:53 +05:30
Neha PandClaude 33608a09b2 test: add max_query_range enforcement tests (#10907)
Add comprehensive pytest tests for max_query_range stream setting that
silently truncates queries exceeding the configured time limit.

- TestLogsMaxQueryRange: 4 tests verifying truncation for logs streams
- TestMetricsMaxQueryRange: 1 test for metrics stream truncation
- TestTracesMaxQueryRange: 1 test for traces stream truncation
- TestMaxQueryRangeNegativeCases: 7 edge case tests (zero value,
negative values, inverted time range, non-existent stream, boundary
conditions)

Tests inject backdated data (3h, 2h, 90min, 45min, 30min, 15min, 5min,
now) and verify that with max_query_range=1h, only data within 1 hour is
returned.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-14 22:16:29 +05:30
Shrinath RaoandClaude Opus 4.6 39c386de6b test(general): migrate GeneralTests specs for alpha1 cloud (Set9) (#10902)
## Summary
- Migrate 6 GeneralTests spec files (sanity, schema, schemaload,
ingestion-config, enrichment, theme-management) for alpha1 cloud
compatibility
- Fix global-setup-alpha1.js ingestion skip detection — only skip when
cleanup is the sole test file
- Add 60s cloud navigation timeout in enhanced-baseFixtures.js for
parallel worker resilience
- Replace `networkidle` waits with `waitForResponse('/_search')` in
sanityPage.js for reliable cloud search waits
- Add 5-minute timeout for doc links validation test and skip unreliable
`short.openobserve.ai` URLs

## Test plan
- [x] All 6 specs pass individually against alpha1 cloud
- [x] Combined run with cleanup + 5 workers: **33 passed, 0 failed, 4
skipped**
- [ ] CI shard run via playwright_alpha1.yml (ENT PR)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 16:45:52 +05:30
Bhargav 8d0afec86d fix: added beta tag for ai features (#10906) 2026-03-14 15:51:24 +05:30
Omkar Kesarkhane eacc5e8b2f fix: resolve dashboard GridStack empty grid race condition (#10904)
Call loadDashboard before loading the SQL parser to prevent GridStack
from mounting when dashboardData is null.
2026-03-14 03:40:04 +05:30
Bhargav 4dd2f9adbb fix: dedup field is there then enabled flag true else false (#10886) 2026-03-13 22:59:04 +08:00
Hengfei Yang 5d4a909813 fix: create trigger schema (#10896) 2026-03-13 22:36:41 +08:00
Omkar Kesarkhane 663ab7bacc fix: In traces prevent duplicate filter when same field condition is reapplied (#10894) 2026-03-13 21:38:06 +08:00
b2956e8446 test(pipelines): migrate Pipelines specs for alpha1 cloud (Set8) (#10882)
## Summary
- Migrate 8 Pipelines spec files to run on alpha1 cloud environment
- Fix page object auth methods (pipelinesPage.js, streamsPage.js) for
cloud OIDC/passcode auth
- Migrate 3 spec files from manual LoginPage to storageState auth
pattern
- Skip 4 pipelineImport tests on cloud (pipeline import feature not
functional on cloud — imported pipelines do not appear in list)
- Add networkidle resilience fixes for cloud background requests

## Changes
**Page Objects:**
- `pipelinesPage.js`: `exploreStreamAndNavigateToPipeline()`,
`createPipelineViaAPI()`, `bulkIngestToStreams()`,
`ingestMetricsData()`, `ingestTracesData()` — cloud auth via
`getAuthHeaders()` / `page.evaluate(fetch())`; `navigateToHistoryPage()`
— networkidle `.catch()`
- `streamsPage.js`: `queryStream()` — cloud/self-hosted branching with
`page.evaluate(fetch())`

**Spec Files:**
- `pipelines.spec.js`, `scheduled-pipeline-query-builder.spec.js` —
storageState migration
- `pipeline-dynamic.spec.js` — storageState + base URL navigation in
beforeAll
- `pipeline-backfill.spec.js` — use shared `getHeaders` from apiUtils
- `pipelineImport.spec.js` — `isCloudEnvironment()` skip for 4 import
tests
- `pipeline-metrics.spec.js`, `pipeline-traces.spec.js` — networkidle
`.catch()`

## Test Results
- **50 passed, 12 skipped, 0 failed** (8 pre-existing skips + 4
cloud-skipped pipelineImport)

## Test plan
- [ ] Verify all 8 Pipelines specs pass on alpha1 CI (11 shards total)
- [ ] Verify self-hosted tests are not affected

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Shrinath Rao <undefined@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 18:35:47 +05:30
udevandHarsh Mahajan 32fdd60b2d fix: assistant issues (#10893)
- **require confirmation to update_stream_settings**
- **fix: adding query param into doc**
- ** fix: partial text rendering and traces search**

---------

Co-authored-by: Harsh Mahajan <007harshmahajan@gmail.com>
2026-03-13 17:25:50 +05:30
Sai NikhilandHengfei Yang 53150a2290 fix: search inspect issues (#10888)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2026-03-13 18:24:42 +08:00
Bhargav 54404105da fix: fixed billing plan not getting loaded (#10892) 2026-03-13 15:24:41 +05:30
Sai Nikhil fdd3d91016 fix: service graph v2 UI (#10889) 2026-03-13 13:58:58 +05:30
Hengfei Yang 9e7336897e fix: extract auth for ratelimit (#10887) 2026-03-13 15:21:31 +08:00
Hengfei Yang 518761b6ca fix: add random jitter to keep-alive mechanism and delay after node registration (#10883) 2026-03-13 11:50:53 +08:00
Sai Nikhil d2861433fa fix: search inspector UI (#10749) 2026-03-13 09:57:29 +08:00
Harsh Mahajan 7e6bcde6a6 fix: update devcontainer to remove wasm32-wasip1 target (#10876) 2026-03-13 08:50:59 +08:00
udev a1ba8b1b71 feat: Ai metering for cloud (#10824) 2026-03-13 00:57:31 +05:30
ktx-vaidehi e549cf0e6f fix: dashboard drilldown on same tab (#10874) 2026-03-12 23:04:26 +05:30
Bhargav 6871d00146 fix: disabled anomaly detection on prod (#10881) 2026-03-12 21:28:40 +05:30
Hengfei Yang 76c4f5c423 fix: trace stream api (#10880) 2026-03-12 22:38:43 +08:00
Bhargav 2cd84ff77b fix: Load pricing from json (#10857) 2026-03-12 17:58:42 +05:30
Huaijin 49fdc1de51 fix: count optimizer in tantivy (#10878) 2026-03-12 19:06:43 +08:00
Bhargav eff23e31b7 fix: added unit test cases for services layer (#10867) 2026-03-12 15:27:50 +05:30
Shrinath Rao b5d3fec969 test(sdr): migrate multipleSDRPatterns for alpha1 cloud (Set7) (#10868)
## Summary
- Migrate `multipleSDRPatterns.spec.js` for alpha1 cloud auth
compatibility
- Use `getAuthHeaders()`/`getOrgIdentifier()` from `cloud-auth.js`
instead of hardcoded Basic Auth
- Convert `beforeAll` to setup test using `page.request.post()` (sends
browser cookies for cloud management APIs)
- Remove dead code: `fetchWithRetry()`, `afterAll` cleanup, unused
`allTestPatterns` variable, unused `expect` import
- 8 other SDR spec files required no changes (already cloud-compatible)

## Test plan
- [x] All 20 SDR tests passed locally against alpha1 cloud (9 spec
files)
- [x] `multipleSDRPatterns.spec.js` — 2/2 passed (setup + 10-step
sequential flow)
- [x] Sentinel audit: 10/10 checks passed
2026-03-12 13:50:14 +05:30
Yashodhan JoshiandYashodhan Joshi 4143973bd6 fix: add reporting for org exppiry and daily no log report (#10870)
cherry pick from #10823 

This adds two new reporting jobs for cloud
- a daily job for no ingestion in last 24 hours
- a daily job for non expired non subscribed orgs for how much of the
expiry is remaining

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2026-03-12 12:13:45 +05:30
ktx-akshay ee9c0f5b8b test: add test cases for dashboard series color in multi-window (#10861) 2026-03-12 10:32:14 +08:00
Subhra264 31d1ad6a23 fix: Add Alert history datepicker and consider max query range set for triggers stream in the organizations (#10796) 2026-03-12 10:28:16 +08:00
Hengfei Yang b7a28e11e3 perf: improve storage read performance (#10862) 2026-03-12 10:09:09 +08:00
Omkar Kesarkhane 54d00d5e78 fix: Traces span kind mapping (#10838) 2026-03-11 23:07:42 +05:30
Bhargav ecd1cf9e90 fix: patterns ui fix (#10865) 2026-03-11 21:54:17 +05:30
Shrinath RaoandClaude Opus 4.6 dd982c3f34 test: Logs-Features cloud compatibility for alpha1 E2E (Set6) (#10863)
## Summary
- Migrate 4 remaining Logs spec files to alpha1 cloud compatibility
- `indexquery.spec.js` (3 tests): Replace `ORGNAME` with
`getOrgIdentifier()`
- `logsQueryBuilder.spec.js` (15 tests): Add cloud-auth import, replace
all `ORGNAME` refs
- `region.spec.js` (3 tests, all skip): Refactor `beforeEach` to
PageManager + `ingestTestData()` pattern, replace inline Basic Auth with
`getAuthHeaders()`. All 3 tests self-skip on alpha1 (multi-region not
enabled)
- `searchPatterns.spec.js` (9 tests): Add cloud-auth import, replace 11
`ORGNAME` refs

## Test plan
- [x] Run cleanup.spec.js first
- [x] Run all 4 Logs-Features specs with 5 workers against alpha1
- [x] Results: 27 passing, 3 skipped (region — multi-region not
enabled), 0 failed

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 20:16:57 +05:30
Shrinath RaoandClaude Opus 4.6 a28e996b92 test: Traces + Metrics cloud compatibility for alpha1 E2E (Set5) (#10854)
## Summary
- Add Traces (7 specs, 44 passing, 9 skipped) and Metrics (9 specs, 49
passing, 6 skipped) cloud compatibility for alpha1
- Add `networkidle` wait in `enhanced-baseFixtures.js`
`navigateToBase()` to prevent Dex redirect on sidebar clicks before Vue
app fully hydrates
- Skip 9 tracesAnalyzeDimensions tests — RED metrics dashboard selector
mismatch (`ensureMetricsDashboardVisible()` returns false on alpha1;
needs DevTools investigation)
- Skip 4 metrics-promql-query-persistence tests — multi-tab
`enterQueryViaKeyboard()` doesn't persist on cloud (timing/state issue)
- Skip 2 metrics.spec.js tests — field list collapse/search selectors
not found on alpha1

## Test Results (local against alpha1, 5 workers)
- **93 passed, 15 skipped, 0 failed** (9 min)

### Traces Shard (7 specs)
| Spec File | Passed | Skipped |
|---|---|---|
| tracesSearch.spec.js | 8/8 | 0 |
| traceDetails.spec.js | 3/3 | 0 |
| traceQueryEditor.spec.js | 11/11 | 0 |
| traceErrorFilter.spec.js | 5/5 | 0 |
| traceAdvancedFiltering.spec.js | 8/8 | 0 |
| tracesAnalyzeDimensions.spec.js | 0/9 | 9 |
| service-graph.spec.js | 9/9 | 0 |

### Metrics Shard (9 specs)
| Spec File | Passed | Skipped |
|---|---|---|
| metrics.spec.js | 7/9 | 2 |
| metrics-queries.spec.js | 6/6 | 0 |
| metrics-aggregations.spec.js | 5/5 | 0 |
| metrics-visualizations.spec.js | 5/5 | 0 |
| metrics-config.spec.js | 7/7 | 0 |
| metrics-config-tabs.spec.js | 4/4 | 0 |
| metrics-advanced.spec.js | 7/7 | 0 |
| metrics-promql-query-persistence.spec.js | 4/8 | 4 |
| metrics-table-column-order.spec.js | 4/4 | 0 |

## Test plan
- [ ] Trigger alpha1 CI with Set5 branch (Traces + Metrics shards)
- [ ] Verify 93 pass, 15 skip, 0 fail
- [ ] After merge: uncomment all shards for full regression

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 17:53:28 +05:30
BhargavandYashodhan Joshi b92701b79e fix: org list auth check (#10850)
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2026-03-11 13:53:01 +05:30
ktx-vaidehi b7ab4f4377 fix: dashboard series color for multi window (#10846)
- #10847
2026-03-11 12:42:55 +05:30
Hengfei Yang 72160a4cf5 perf: create partitions for table file_list_history based on config (#10840) 2026-03-11 13:51:41 +08:00
Shrinath Rao dee3eb413d test: alpha1 cloud Functions specs (Set4) (#10837) 2026-03-11 10:34:41 +08:00
Subhra264andHengfei Yang 3d9369910d fix: rbac for alerts trigger api (#10834)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2026-03-11 10:34:05 +08:00
Bhargav ff024f9dad fix: added missing organization management test cases (#10795) 2026-03-11 10:33:07 +08:00
dependabot[bot] c14cf6730c chore(deps): bump docker/build-push-action from 6 to 7 (#10819) 2026-03-11 10:32:25 +08:00
dependabot[bot] 570c30fce6 chore(deps): bump docker/setup-qemu-action from 3 to 4 (#10818) 2026-03-11 10:31:47 +08:00
dependabot[bot] fa7faa6820 chore(deps): bump docker/setup-buildx-action from 3 to 4 (#10817) 2026-03-11 10:31:16 +08:00
Loakesh Indiran b82271f70b feat: add anomaly detection (#10538) 2026-03-11 10:25:46 +08:00