Neha P
c8bdada9da
test:pipeline-core-tests ( #7404 )
...
### **PR Type**
Tests, Enhancement
___
### **Description**
- Introduce core pipeline Playwright test suite
- Skip redundant pipeline tests in pipelines.spec.js
- Increase CI workers count in config
- Add helper functions for login and ingestion
___
### **Changes diagram**
```mermaid
flowchart LR
CT["pipeline-core.spec.js"]
PT["pipelines.spec.js"]
PC["playwright.config.js"]
CI["CI pipeline"]
CT -- "adds core tests" --> CI
PT -- "skip redundant tests" --> CI
PC -- "increase CI workers" --> CI
```
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>pipeline-core.spec.js</strong><dd><code>Add core
pipeline UI tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/pipeline-core.spec.js
<li>Add new Playwright tests for core pipeline flows<br> <li> Implement
helper functions: login, ingestion, exploration<br> <li> Test
source-destination, function, and condition nodes<br> <li> Configure
tests to run in parallel mode
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7404/files#diff-e6249b045437e7f087b825dc0ee2d8ccebed0894d10c84b7bc9b12dca7a25754 ">+269/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>pipelines.spec.js</strong><dd><code>Skip redundant
pipeline tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/pipelines.spec.js
<li>Mark three pipeline tests as skipped<br> <li> Update tests: source &
destination, function, condition flows<br> <li> Retain old tests but
disable execution
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7404/files#diff-9b48f5edc53f2413789549b189d4a80f134a320dd5beebf96d738069eb43033a ">+3/-3</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>playwright.config.js</strong><dd><code>Increase CI
workers count</code>
</dd></summary>
<hr>
tests/ui-testing/playwright.config.js
- Increase CI `workers` from 1 to 2 for parallel runs
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7404/files#diff-91cb9615068914b2e4f5d66fcbed50d3e9771ea2d882f8e8048bbe54eab3c414 ">+1/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-07-01 18:15:48 +05:30
ByteBaker
3aad96721d
chore: maintenance and cleanup ( #7289 )
2025-06-30 16:26:09 +08:00
Shyam Panjiyar
5ddfe5d81a
test: pagination for streaming in match all and limit playwright ( #7268 )
...
### **PR Type**
Tests
___
### **Description**
- Add Playwright pagination streaming tests
- match_all, count, limit queries
- various join types
- Validate interesting fields toggles and queries
- Test histogram toggle behaviors and no-data cases
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>pagination.spec.js</strong><dd><code>Add streaming
pagination and behavior tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/pagination.spec.js
<li>Imported base fixtures and page objects<br> <li> Setup login,
ingestion, management before tests<br> <li> Added tests for streaming
pagination queries<br> <li> Added join, interesting-fields, histogram
behavior tests
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7268/files#diff-5e44451149ef320c6c78668ff2a42a152fdc7b0565838c8d7f7385f5d4809cb5 ">+199/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-25 16:56:36 +05:30
c4e5901abe
fix: cherry-pick rc9 fixes ( #7315 )
...
Ref:
- fix: streaming_id in htttp2 streaming response #7257
- feat: histogram_interval in search api #7271
- fix: remove streaming_id on search error #7284
- fix: limit in sql & write partial results to cache #7296
### **User description**
- `histogram_interval` as search body param
- `aggregation_cache_enabled` support for settings `get` and `post` api
---------
Co-authored-by: hengfei yang <hengfei.yang@gmail.com >
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech >
Co-authored-by: omkark06 <omkar@zinclabs.io >
___
### **PR Type**
Enhancement
___
### **Description**
- Add `histogram_interval` support throughout search API
- Propagate interval into Query, RPC, and optimizer
- Replace websocket search toggle with `aggregation_cache_enabled`
- Add UI toggle and localization for aggregation cache
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>organization.rs</strong><dd><code>Replace websocket with
aggregation cache setting</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-4f089715a7ac4f78b45039d773f2fccbb4fbc6a409e0ab9ceee1fcf7911bc44b ">+13/-6</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Enhancement</strong></td><td><details><summary>18
files</summary><table>
<tr>
<td><strong>search.rs</strong><dd><code>Add histogram_interval to Query
defaults</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-373e83a31e5bbc82fba05d7ae274b0dbd624ed748272232cf7eb8b8c3b2f3afc ">+6/-0</a>
</td>
</tr>
<tr>
<td><strong>settings.rs</strong><dd><code>Handle
aggregation_cache_enabled in settings API</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-1e807254f2faf8fd09b802f71b23412f203eed289033f96bfc62b15dd997db8c ">+4/-5</a>
</td>
</tr>
<tr>
<td><strong>around.rs</strong><dd><code>Initialize histogram_interval in
around requests</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-93b3688de26f8f7c9dc0389763e9999a254bcded15b6ae8c8349f18aec83bd4f ">+2/-0</a>
</td>
</tr>
<tr>
<td><strong>mod.rs</strong><dd><code>Expose aggregation_cache_enabled in
status API</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-ca09c9c9b020049bdbc3382c466bfcca80daac92e98760d9a9a76172abf34049 ">+4/-2</a>
</td>
</tr>
<tr>
<td><strong>mod.rs</strong><dd><code>Initialize histogram_interval in
trace requests</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-64694c886c809b6efe449e6eba9fbb33d31ce5a3c49cea1a30006fc1d9522665 ">+1/-0</a>
</td>
</tr>
<tr>
<td><strong>request.rs</strong><dd><code>Add histogram_interval to
service Request</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-7f4d75d75758cf876ff1a3a450a9804caad031a91199d33dd066c88c0461800b ">+5/-0</a>
</td>
</tr>
<tr>
<td><strong>sql.rs</strong><dd><code>Support custom histogram intervals
in SQL</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-d9ccf393c53794b0ef2816eef12742c26e23d2788cde27780af7570662aea446 ">+8/-3</a>
</td>
</tr>
<tr>
<td><strong>mod.rs</strong><dd><code>Propagate histogram_interval in
search service</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-c3b85ea662a885fbd39797968928b291cb59a58f53a03f7b7dfd7ba8b6a7985a ">+1/-0</a>
</td>
</tr>
<tr>
<td><strong>mod.rs</strong><dd><code>Include histogram_interval in
optimizer rules</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-3b1c9f0a84041235ca3765361e8eadfd7e9309a52319da882dee0540c826eb3d ">+5/-1</a>
</td>
</tr>
<tr>
<td><strong>rewrite_histogram.rs</strong><dd><code>Use custom interval
in histogram rewrite</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-fa40d6f792f0ca212f799b0136f0f216c7f34cb3130738903a26c45749a81450 ">+14/-6</a>
</td>
</tr>
<tr>
<td><strong>flight.rs</strong><dd><code>Apply aggregation cache setting
in flight</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-dbffb1a03b65f6a9163b18c5bb1241ba2966735657be39bbe9f4d0e3260d8c1d ">+8/-2</a>
</td>
</tr>
<tr>
<td><strong>node.rs</strong><dd><code>Forward histogram_interval in
distributed plan</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-6a811582bb8dc3a36152b94cb4984126ee4417532eed0554e042c55ea18011fb ">+3/-0</a>
</td>
</tr>
<tr>
<td><strong>leader.rs</strong><dd><code>Leverage org cache setting in
leader search</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-21a32af318adcd10e62fb0d45944993f623fb3d2d6df4bb70d882dfc8f677fdc ">+13/-2</a>
</td>
</tr>
<tr>
<td><strong>follower.rs</strong><dd><code>Include histogram_interval in
follower requests</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-59e0cc386582cf8baf201977475fd9a7e479fd8ed000bbaa6746a51ecb28632f ">+1/-0</a>
</td>
</tr>
<tr>
<td><strong>General.vue</strong><dd><code>UI toggle for aggregation
cache</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-a191d0eb2843df5efa7f18d411a216e86558b49f7b6cdfa9501d69414b933fc3 ">+27/-1</a>
</td>
</tr>
<tr>
<td><strong>MainLayout.vue</strong><dd><code>Bind aggregation cache in
layout</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-91e4134141264c4624d4eb4cfa987b33ed31eb6f551e089c0b26f2610dd54362 ">+2/-0</a>
</td>
</tr>
<tr>
<td><strong>usePanelDataLoader.ts</strong><dd><code>Fetch
histogram_interval in panel loader</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-5a42e9493a7bcd722b88e61fd38883c4f61001bc9cafa399f65f8eafda3aace9 ">+24/-26</a>
</td>
</tr>
<tr>
<td><strong>useLogs.ts</strong><dd><code>Set histogram_interval in log
queries</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-1040f61354f92711e0e77ed4e9bfa15586d45a94c7e2ab06cc37372068030e7b ">+5/-0</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>en.json</strong><dd><code>Add enableAggregationCache
translation</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-892aa3d75ab6e129ef9116aa21bec1b9a15ba69ce5366d2a19128078c690d824 ">+2/-1</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>6 files</summary><table>
<tr>
<td><strong>export.rs</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-b9ca11eac019064e747b0c75157c280c8e8fa6d75edb83ca9ae46777e9668cc0 ">+1/-7</a>
</td>
</tr>
<tr>
<td><strong>plan.proto</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-4f1a05aba1b09b2db2ffae983dcdf4ed294ed3698204af80d50ae2d7b711551b ">+1/-0</a>
</td>
</tr>
<tr>
<td><strong>search.proto</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-789f17326b818d5fbd1b5b752bed17e5341fde3d3261951634edcf78cacf3dbe ">+13/-12</a>
</td>
</tr>
<tr>
<td><strong>cluster.rs</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-542d8f27a174c845740ca1c3fe0b697db89c3db666437c1c4dd8c9745510080c ">+4/-0</a>
</td>
</tr>
<tr>
<td><strong>mod.rs</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-ba9b65130898444f7815fd6068bdb0dc590612f74cc893f79d91b0afc44cc851 ">+1/-0</a>
</td>
</tr>
<tr>
<td><strong>wal.rs</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7315/files#diff-f47892ffc5d3076d37a66f49f55db4e83cb6f42df517da68c001a42c04adac72 ">+1/-0</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
---------
Co-authored-by: hengfei yang <hengfei.yang@gmail.com >
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech >
Co-authored-by: omkark06 <omkar@zinclabs.io >
2025-06-24 13:47:42 +05:30
Shyam Panjiyar
e2b9334aa9
test: adding organizations revamp playwright ( #7261 )
...
### **PR Type**
adding organizations revamp playwright
___
### **Description**
- Enabled "Add Organization Successfully" test
- Enabled empty-name save-disabled test
- Enabled cancel prevents addition test
- Enabled blank-name error message test
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>usersOrg.spec.js</strong><dd><code>Unskip organization
add tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/usersOrg.spec.js
<li>Removed <code>test.skip</code> on org-add success test<br> <li>
Removed skip on empty-name save-disabled test<br> <li> Removed skip on
cancel prevents addition test<br> <li> Removed skip on blank-name error
message test
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7261/files#diff-01a0201901f4022cf6708a20432f8a70bc20ac5ccdb9943fd5a6b41eaf0e550b ">+4/-4</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-20 11:18:07 +05:30
Sai Nikhil
19a37e5992
fix: org related changes ( #7187 )
...
### **User description**
1. This PR fixes 2 issues
Fetching user roles for OSS is not supported
Introduce organization to oss
___
### **PR Type**
Bug fix, Enhancement
___
### **Description**
- Restrict fetchUserRoles to enterprise/cloud
- Add organizations tab in OSS IAM view
- Introduce organizations route for OSS
- Remove duplicate org route in enterprise
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>AddUser.vue</strong><dd><code>Conditional
fetchUserRoles for OSS</code>
</dd></summary>
<hr>
web/src/components/iam/users/AddUser.vue
<li>Wrapped fetchUserRoles under environment check<br> <li> Prevent
roles fetching in OSS mode
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7187/files#diff-47543c0488c8cb5bcf77e2bb4af9d0a5dd249993cd9577c4852f7950c7aaec91 ">+3/-1</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>IdentityAccessManagement.vue</strong><dd><code>Add
organizations tab for OSS</code>
</dd></summary>
<hr>
web/src/views/IdentityAccessManagement.vue
- Added "organizations" to OSS tabs list
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7187/files#diff-60b63024c98ee8927e12f9ebec93e99ba7ff419038cfe1cc57d49de1f6f342d6 ">+1/-1</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>useEnterpriseRoutes.ts</strong><dd><code>Add
organizations route for OSS</code>
</dd></summary>
<hr>
web/src/composables/shared/useEnterpriseRoutes.ts
<li>Added OSS "organizations" route entry<br> <li> Removed duplicate
enterprise org route
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7187/files#diff-962367ed3d329e73232da2c262cf10c60b14820dd43e95e94302cdcb2f080cbe ">+10/-8</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-20 10:04:52 +05:30
Neha P
5357c034b0
test: limit-pagination-test ( #7258 )
2025-06-19 21:06:19 +05:30
c2c7ea6a95
test: match_all queries pytest ( #7208 )
...
### **User description**
match_all queries pytest
___
### **PR Type**
Tests
___
### **Description**
- Add tests for match_all streaming queries
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>test_streaming.py</strong><dd><code>Add match_all
streaming test cases</code>
</dd></summary>
<hr>
tests/api-testing/tests/test_streaming.py
<li>Added "match_all query one" test case<br> <li> Added "match_all
query two" test case<br> <li> Added "match_all query three" test case
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7208/files#diff-f15e9b733130f72112380fda658264545435fbf956b08869b0ad5a9435d222f7 ">+21/-3</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
---------
Co-authored-by: Taiming Liu <liutaiming3@gmail.com >
Co-authored-by: Shrinath Rao <shnath@openobserve.ai >
2025-06-19 11:57:32 +05:30
Shrinath Rao
7fe850326a
test: Folder Structure changes for Alerts, updated yml file for running multiple spec files instead of one ( #7212 )
...
### **PR Type**
Tests, Enhancement
___
### **Description**
- Fix import paths in Alerts page classes
- Add template import and creation methods
- Introduce new Alerts E2E, import, UI tests
- Update CI workflow with new test specs
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><details><summary>2 files</summary><table>
<tr>
<td><strong>alertDestinationsPage.js</strong><dd><code>fix import path
for common actions</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-57e5c53b4ef998b3d8708149620ff94dcc46807927f1a3a9e9f28ed3ebe25b0a ">+1/-1</a>
</td>
</tr>
<tr>
<td><strong>changeOrg.spec.js</strong><dd><code>update AlertsPage import
path reference</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-607c77ca637716a5b8d37ec25dbaf7dc91cddd7d981b72f9c460f54498d14351 ">+1/-1</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Enhancement</strong></td><td><details><summary>2
files</summary><table>
<tr>
<td><strong>alertTemplatesPage.js</strong><dd><code>add template import
locators and methods</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-f4ebd248b2140051e74dbbbd1aabe344f01c80704ce5857e9c28a04350e018f3 ">+71/-0</a>
</td>
</tr>
<tr>
<td><strong>alertsPage.js</strong><dd><code>improve locators and add
timeouts</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-79ee01d6d7f145f19207b93b87143b545a1188cfc6a82bc8c45fecfbf68f8a1d ">+8/-6</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Tests</strong></td><td><details><summary>5
files</summary><table>
<tr>
<td><strong>alerts-e2e-flow.spec.js</strong><dd><code>add end-to-end
alerts flow tests</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-32972e38c1fe0e8bb887f9f254b3130916a36f96ea924f9987493d44efefeab9 ">+162/-0</a>
</td>
</tr>
<tr>
<td><strong>alerts-import.spec.js</strong><dd><code>add import/export
alerts functionality tests</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-62b6ec4818685eacc0a934d68aaadfd73b512ef4f4be25fcd5135b97c2844912 ">+129/-0</a>
</td>
</tr>
<tr>
<td><strong>alerts-ui-operations.spec.js</strong><dd><code>add alerts UI
operations validation tests</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-c9b523b5f5dea834b69abdf20f4acef361bdf37b1585c450e10238b1d1984f2e ">+255/-0</a>
</td>
</tr>
<tr>
<td><strong>emailTemplateImport.json</strong><dd><code>add email
template import fixture</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-2f3913b2a88452f900baf8bec360cca87b30e26819c98483028ec98dc09a23d2 ">+7/-0</a>
</td>
</tr>
<tr>
<td><strong>webhookTemplateImport.json</strong><dd><code>add webhook
template import fixture</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-7b0a644740e335227bc785d900c70972619e669ec2e0669f521d50de9d0425ba ">+7/-0</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Miscellaneous</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>alerts.spec.js</strong><dd><code>comment out legacy alerts
spec file</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-a51e6bab2ebb7ff9069a707fd7da5bb3e0948db8013765b4a934ba594c1bcf57 ">+426/-354</a></td>
</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>playwright.yml</strong><dd><code>include new alerts spec
files in CI</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7212/files#diff-7afcd2d8f7b49bda74843f209eefb7b2da45f7e7803bf2e4bd636699b76aa2d3 ">+3/-1</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-19 11:15:59 +05:30
Loakesh Indiran and Hengfei Yang
600c0d3b7e
feat: aggregation cache ( #6923 )
...
Cache Intermediate record batches for aggregate sql queries
## TODO
- [ ] Add in memory cache file index
- [ ] Modify exiting delete stream results api to also delete
`aggregations` cache
- [ ] use bounded Chanel for `CACHE_QUEUE` and and an env for queue size
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com >
2025-06-17 21:08:48 +05:30
Shrinath Rao
e2f9e799f9
test: Alerts Module Revamp - Removed old files, accommodated new template changes on the ui in automation scripts ( #7199 )
...
### **User description**
… page, removed redundant old alert module code files, updated
playwright yml file
___
### **PR Type**
Enhancement, Tests
___
### **Description**
- Refactor AlertsPage with unified locator methods
- Restructure alert tests into modular suites
- Enhance AlertTemplatesPage with robust flows
- Tweak scroll logic and update workflow
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>3
files</summary><table>
<tr>
<td><strong>alertsPage.js</strong><dd><code>Rewrite AlertsPage with
unified locator methods</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-c5fc79c6d2dcc83e20d69c46fdcf69449dade50c3e7cd5bf65d88369f5083cce ">+593/-316</a></td>
</tr>
<tr>
<td><strong>alertTemplatesPage.js</strong><dd><code>Enhance
AlertTemplatesPage navigation and flows</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-85075c8512133f05cc1a149872574c9e498613329c17e36521a0dfbff1d83e2e ">+76/-21</a>
</td>
</tr>
<tr>
<td><strong>commonActions.js</strong><dd><code>Adjust scroll behaviour
and add delays</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-4d726dd2bdb34b2c90a31798ff49b6df5bc952bd049b7c38bebb18b6db0076e2 ">+5/-4</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Tests</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>alerts.spec.js</strong><dd><code>Restructure alert tests
into modular suites</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-a51e6bab2ebb7ff9069a707fd7da5bb3e0948db8013765b4a934ba594c1bcf57 ">+306/-176</a></td>
</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>playwright.yml</strong><dd><code>Update workflow alert spec
filename</code>
</dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-7afcd2d8f7b49bda74843f209eefb7b2da45f7e7803bf2e4bd636699b76aa2d3 ">+1/-1</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>6 files</summary><table>
<tr>
<td><strong>alertDestination.js</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-f41f8d6b2aee510dccda3dc62f6b3601a737e2e214338389a156e1f97dc93c2c ">+0/-94</a>
</td>
</tr>
<tr>
<td><strong>alertTemplate.js</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-bd0d61b026c09ab61a5fe5848002f3055c2d18f267c178da468c9536734c4308 ">+0/-76</a>
</td>
</tr>
<tr>
<td><strong>alertsNew.js</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-e30d87f85be81e5bfe97cd508ee6f357ca0d8c07510781a6af1b1e1ddb1108e3 ">+0/-597</a>
</td>
</tr>
<tr>
<td><strong>alertImportTDA.spec.js</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-002bc3f0dc90790836282141f166106796f25dfa5ba1198a4817e334e9fbe60c ">+0/-433</a>
</td>
</tr>
<tr>
<td><strong>alertsNew.spec.js</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-1ee99432f0206c9da5686514ac4b941aedb70f75a75539488ed0e2aeb01071e3 ">+0/-344</a>
</td>
</tr>
<tr>
<td><strong>alertsfolders.spec.js</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7199/files#diff-8fe0cba8c6c487d2a0cf8309769adaebddcfc1932080d4cbb4a448902d14123a ">+0/-312</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-17 10:04:55 +05:30
Neha P
36189a421d
test: search partition and pipeline dynamic name tests ( #7172 )
...
### **User description**
Added test cases to verify:
1. Search Partition:
- Verify search partition and search API calls for histogram query
2. Pipeline Dynamic Stream Names:
- Verify pipeline with dynamic destination name using {dynamicname}
- Verify pipeline with dynamic destination name using
test_{dynamicname}_test with underscores
- Verify pipeline with dynamic destination name using
test{dynamicname}test directly
___
### **PR Type**
Tests, Other
___
### **Description**
Add Playwright E2E tests for dynamic pipeline names
Add Playwright E2E test for search partition histogram query
Update CI workflow to include new tests
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>pipeline-dynamic.spec.js</strong><dd><code>Add pipeline
dynamic stream name tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/pipeline-dynamic.spec.js
<li>Introduce E2E tests for dynamic pipeline stream names<br> <li> Add
helper functions: login, ingestion, navigation<br> <li> Cover three
dynamic naming scenarios<br> <li> Verify pipeline creation and deletion
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7172/files#diff-a661fdc01b51aa8d44953a9b3452cc4407b0e3770309d6541355d251a58c1ace ">+175/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>searchparition.spec.js</strong><dd><code>Add search
partition histogram tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/searchparition.spec.js
<li>Add E2E test for search partition histogram query<br> <li> Implement
helpers: login, ingestion, applyQueryButton<br> <li> Validate
_search_partition API response fields<br> <li> Verify matching search
calls per partition
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7172/files#diff-d6855518e0bc277da8b3696ac75727cc1fb40b96012b270f12b85f17f5a47434 ">+151/-0</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>playwright.yml</strong><dd><code>Include new tests in
CI workflow</code>
</dd></summary>
<hr>
.github/workflows/playwright.yml
- Include new test files in CI workflow job
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7172/files#diff-7afcd2d8f7b49bda74843f209eefb7b2da45f7e7803bf2e4bd636699b76aa2d3 ">+3/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-16 21:37:00 +05:30
Shrinath Rao and Shyam Panjiyar
1aaffd0585
test: Updated Alerts Module Test Cases and added a couple tests ( #7151 )
...
### **PR Type**
Tests, Enhancement
___
### **Description**
Add AlertDestinationsPage, AlertTemplatesPage, AlertsNewPage
New E2E tests for template, destination, alerts
Skip outdated organization tests in usersOrg.spec.js
Test Cases added and covered in this -

___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>alertDestinationsPage.js</strong><dd><code>Add
AlertDestinationsPage page object</code>
</dd></summary>
<hr>
tests/ui-testing/pages/alertDestinationsPage.js
<li>Create AlertDestinationsPage class<br> <li> Add navigation and
creation locators<br> <li> Implement createDestination with assertions
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-3c9cc3c2853f55de304cb4ba26f9841e720774435f5ed890b40cd085d2aef108 ">+49/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>alertTemplatesPage.js</strong><dd><code>Add
AlertTemplatesPage page object</code>
</dd></summary>
<hr>
tests/ui-testing/pages/alertTemplatesPage.js
<li>Create AlertTemplatesPage class<br> <li> Define create, edit,
search, delete methods<br> <li> Add assertion checks for template
operations
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-85075c8512133f05cc1a149872574c9e498613329c17e36521a0dfbff1d83e2e ">+97/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>alertsNew.js</strong><dd><code>Add AlertsNewPage page
object</code>
</dd></summary>
<hr>
tests/ui-testing/pages/alertsNew.js
<li>Create AlertsNewPage class<br> <li> Implement folder and alert
management methods<br> <li> Add stream selection and clone operations
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-e30d87f85be81e5bfe97cd508ee6f357ca0d8c07510781a6af1b1e1ddb1108e3 ">+193/-0</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>alertsNew.spec.js</strong><dd><code>Add alerts module
E2E test suite</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/alertsNew.spec.js
<li>Add tests for template and destination creation<br> <li> Add folder
and alert lifecycle test suite<br> <li> Setup API log ingestion in
beforeEach hook
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-1ee99432f0206c9da5686514ac4b941aedb70f75a75539488ed0e2aeb01071e3 ">+142/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>usersOrg.spec.js</strong><dd><code>Skip outdated
organization tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/usersOrg.spec.js
<li>Convert organization tests to test.skip<br> <li> Disable Add Org and
related scenarios
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-01a0201901f4022cf6708a20432f8a70bc20ac5ccdb9943fd5a6b41eaf0e550b ">+4/-4</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
---------
Co-authored-by: Shyam Panjiyar <shyam@openobserve.ai >
2025-06-16 11:26:36 +05:30
Shyam Panjiyar
111298017c
test: pagination pytest ( #7126 )
...
### **PR Type**
Tests, Enhancement
___
### **Description**
- Comment out SQL mode calls in streaming tests
- Disable Chromium browser tests in config
- Add WebKit (Safari) project configuration
- Adjust viewport settings for Safari tests
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>streaming.spec.js</strong><dd><code>Disable SQL mode in
streaming tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/streaming.spec.js
<li>Commented out <code>await logsPage.enableSQLMode()</code> calls<br>
<li> Removed SQL mode requirement from streaming tests
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7126/files#diff-7ee1f433f2c0f92476e64e6777e719a3cbfd2c60c7e1b4fb77891445e3cd7b91 ">+13/-13</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>playwright.config.js</strong><dd><code>Add Safari
(WebKit) project to Playwright config</code>
</dd></summary>
<hr>
tests/ui-testing/playwright.config.js
<li>Commented out Chromium project configuration<br> <li> Added WebKit
(Safari) project settings<br> <li> Set viewport for Desktop Safari
device
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7126/files#diff-91cb9615068914b2e4f5d66fcbed50d3e9771ea2d882f8e8048bbe54eab3c414 ">+13/-6</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-13 17:20:03 +05:30
Abhay Padamani
664a05e75e
fix: escape quote for variable values ( #7134 )
...
### **User description**
- Config to enable escape quotes.

- Needs to enable it if variable value contains single quote.
For example variable value is `EFhoAf&fugy=P'fG;LR;Hr=jTe3fr).p%"`
then will require to escape single quote from value.

- For custom typed variables, added some validations:
1. At least one option must there.
2. At lease one option should be selected as default value.
___
### **PR Type**
Enhancement, Bug fix
___
### **Description**
- Add `escapeSingleQuotes` flag to variable config
- Provide UI toggle with explanatory tooltip
- Update query loader to escape quotes conditionally
- Prevent removing last option and enforce default selection
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>mod.rs</strong><dd><code>Add escape_single_quotes field
to config</code>
</dd></summary>
<hr>
src/config/src/meta/dashboards/v5/mod.rs
<li>Introduce <code>escape_single_quotes</code> boolean field<br> <li>
Mark field as optional in <code>VariableList</code> struct
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7134/files#diff-da49585bbcb02bf0f737bb68739ebc248edd15c7ad9427c0e68f7728bb4a8c17 ">+2/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>AddSettingVariable.vue</strong><dd><code>Enhance
variable settings UI for quote escaping</code>
</dd></summary>
<hr>
web/src/components/dashboards/settings/AddSettingVariable.vue
<li>Add <code>escapeSingleQuotes</code> toggle with tooltip<br> <li>
Initialize default <code>escapeSingleQuotes</code> value to false<br>
<li> Disable remove button when only one option remains<br> <li>
Validate at least one default selection for custom variables
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7134/files#diff-e622f54c1f7629ee67d29ed2fc87008d07eb9246767a05435cc42c3c17ce459a ">+53/-1</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>usePanelDataLoader.ts</strong><dd><code>Implement
conditional quote escaping in loader</code>
</dd></summary>
<hr>
web/src/composables/dashboard/usePanelDataLoader.ts
<li>Import <code>escapeSingleQuotes</code> utility<br> <li>
Conditionally escape single quotes in variable values<br> <li> Apply
escaping for both array and scalar values
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7134/files#diff-5a42e9493a7bcd722b88e61fd38883c4f61001bc9cafa399f65f8eafda3aace9 ">+14/-2</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>en.json</strong><dd><code>Add translation for
escapeSingleQuotes</code>
</dd></summary>
<hr>
web/src/locales/languages/en.json
- Add `"escapeSingleQuotes": "Escape Single Quotes"` entry
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7134/files#diff-892aa3d75ab6e129ef9116aa21bec1b9a15ba69ce5366d2a19128078c690d824 ">+1/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-06-11 22:21:55 +05:30
Shyam Panjiyar and hengfei yang
4081b3959f
test: users and organizations playwright ( #7104 )
...
### **User description**
users and organizations test cases
___
### **PR Type**
Tests, Enhancement
___
### **Description**
- Introduce `UserPage` page object for IAM flows
- Add interactive CRUD operations for users
- Implement Playwright tests for user scenarios
- errors, creation, duplicate, cancel, delete, update
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>userPage.js</strong><dd><code>Add UserPage interactions
and locators</code>
</dd></summary>
<hr>
tests/ui-testing/pages/userPage.js
<li>Introduces <code>UserPage</code> class for IAM navigation<br> <li>
Adds form interaction and CRUD methods<br> <li> Defines selectors for
user fields and buttons<br> <li> Includes alerts and existence
verification methods
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7104/files#diff-6436e468818bd5517200c83a5bbe6edf60da28e81f53a73b8aa9d57eaf20c2e6 ">+129/-0</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>usersOrg.spec.js</strong><dd><code>Add users and org
Playwright tests</code>
</dd></summary>
<hr>
tests/ui-testing/playwright-tests/usersOrg.spec.js
<li>Adds <code>Users and Organizations</code> test suite<br> <li> Covers
email/role validation and error messages<br> <li> Tests user creation,
duplicates, cancel flows<br> <li> Includes delete and update test
scenarios
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7104/files#diff-01a0201901f4022cf6708a20432f8a70bc20ac5ccdb9943fd5a6b41eaf0e550b ">+213/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
---------
Co-authored-by: hengfei yang <hengfei.yang@gmail.com >
2025-06-11 13:08:41 +08:00
Sai Nikhil
813ed37efd
fix: add alert page redesign ( #6730 )
...
1. This PR implements the add alert page latest UI revamp
2. This changes the add alert page introducing new UI with expandable /
collapsable sections
3. This introduces the new condition and condition group so we now
support or condition as well as condition group so user can create
condition groups upto 3 level of depth
4. the functionality of add alert page is same just the UI and the
conditions has been changed with this PR
2025-06-09 10:21:24 +05:30
Shyam Panjiyar
138e7e296d
test: re_match, partition search and values API pytest ( #7051 )
...
re_match, partition search and values API pytest
2025-06-06 21:45:42 +05:30
Yashodhan Joshi and Yashodhan Joshi
54a3fda236
feat: support hec format for ingestion ( #7043 )
...
closes #6996
This adds support for HEC data format in ingestion via `/org_id/_hec`
api path. See the issue for more details.
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com >
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com >
2025-06-06 20:00:20 +05:30
Omkar Kesarkhane and ShyamOOAI
0af20fd283
fix: fixed http partition pagination ( #6879 )
...
Co-authored-by: ShyamOOAI <shyam@openobserve.ai >
2025-06-06 16:34:23 +05:30
ktx-akshay
f523d56f2f
fix: missing code coverage import in test-file ( #7013 )
2025-06-04 08:09:19 +05:30
ktx-akshay
f2c0e26de0
fix: missing coverage import in test-file ( #7011 )
2025-06-03 16:59:06 +05:30
Shyam Panjiyar
40d38524c7
test: Have updated for Description in service account playwright ( #6999 )
...
Have updated for Description in place of First Name and Last Name for
service account playwright
2025-06-02 17:14:45 +05:30
Sai Nikhil
2db1d49fc3
fix: log page download count issue , service account description field added ( #6892 )
...
1. This PR fixes the log page download count mismatch issue so when user
tries to get 1 to 100 records we are actually sending from as 1 which is
incorrect because BE expects from 0 so modified we now send -1 from user
input eg: user enters 1 we send it as 0 , user sends 50 send 49 this
will make sure that actual records are being downloaded
2. This PR also fixes the service account issue so we dont need first
name and last name for the service account so we removed that and added
description in place of that , removed them in the service account list
as well |
#6887
#6837
2025-06-02 11:27:52 +05:30
Neha P
415816d98b
test: logs-historgram-error-assertions ( #6806 )
...
- Verify error handling and no results found with histogram
- Verify error handling with histogram toggle off and on
- Verify histogram toggle persistence after multiple queries
- Verify histogram toggle with empty query
- Verify histogram toggle with complex query
2025-05-30 20:10:12 +05:30
Omkar Kesarkhane
0fb48ae80b
fix: Logs UI Issues ( #6796 )
2025-05-30 21:50:47 +08:00
Shyam Panjiyar and Hengfei Yang
dc99038a32
test: Updated change organisation validation playwright ( #6912 )
...
Updated Page change organisation validation
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com >
2025-05-30 16:59:23 +05:30
ktx-akshay
4f08efd8ea
fix: dashboard visualization-vrl flaky test case ( #6877 )
2025-05-30 15:43:34 +05:30
Omkar Kesarkhane and Sai Nikhil
666dfcdb62
fix: Updated UI unit test setup ( #6520 )
...
Co-authored-by: Sai Nikhil <nikhil@openobserve.ai >
2025-05-30 13:21:40 +05:30
Shyam Panjiyar
3fbe1e17dc
test: Resolved issues after Integrating organization pytest ( #6942 )
...
Resolved issues after Integrating organization pytest
2025-05-28 12:13:21 +05:30
Yashodhan Joshi and Yashodhan Joshi
7540824633
fix: use _all_ in org related api call perm checks ( #6920 )
...
Fixes permission check for organization related api. In ofga when we set
a role with org perms, it sets to `org:_all_{org}` but in the check , we
check for permission on `org:{org}` which causes users with role having
permission on org, not be able to rename org. This fixes it by updating
it to correct check.
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com >
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com >
2025-05-28 11:02:01 +05:30
Shyam Panjiyar and Subhradeep Chakraborty
289d6234e5
test: new org created pytest ( #6926 )
...
New organizations created
---------
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com >
2025-05-27 17:54:43 +05:30
+2
0d9f47966b
feat: Organization revamp ( #5579 )
...
Fixes #5131
Addresses #5408
### Revamp
- Created a new table to store organizations in the `organizations`
table. Earlier, we never stored organizations in any table, rather we
used to store the organizations in the meta table as part of the `user`
json.
- The users and organization membership relations are now moved to its
own separate tables - `users` and `org_users`.
### New changes
**API changes** -
- `/organizations` - `POST` api to create an org and save it in the meta
table. In non-enterprise version, currently only the root user can
create the org. For enterprise version with rbac enabled, anyone with
`CREATE` access for organizations can create the organization and
becomes an admin. Root user can always create an organization.
- `/{org_id}/rename` - `PUT` api to rename the existing org. Only root
user and the admins of the org can access this API.
The payload for following APIs are changed -
- `POST api/{org_id}/roles` - `{"name":"new_role"}` is changed to
`{"role":"new_role"}
- `POST api/{org_id}/users/{user}` -
`{"role":"viewer","custom_role":["role_name"]}` is the new payload where
`custom_role` is optional and is array of custom roles (only works in
enterprise with rbac enabled) which will be assigned to the user. The
value of `role` can be standard role or as well as any custom role (when
it is custom role, the standard role assigned to the user is decided
based on the enterprise env variable - `O2_DEX_DEFAULT_ROLE`).
- `POST api/{org_id}/users`- the payload -
```
{"email":"user@user.com ","role":"viewer","custom_role":["create_org_permission"],"password":"12345678", "first_name": "", "last_name":""}
```
- `PUT api//{org_id}/users/{email_id}` the payload -
```
{"first_name":"Hello","last_name":"j","role":"viewer","isExternal":false,"change_password":false,"password":"","custom_role":["create_org_permission"]}
```
A new ENV variable is introduced - `ZO_CREATE_ORG_THROUGH_INGESTION`
(default `false`) which if true, an org will automatically created when
ingesting data to a new org. If false, user can not create org by
ingesting data to new org, they need to first call the `POST
/organizations` API.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
**New Features**
- Added a `cloud` feature for enhanced organizational management
capabilities.
- Introduced new methods for managing organizational users and
asynchronous message processing.
- Enhanced user invitation and membership features, including improved
role handling.
- Implemented configurable ingestion URL support across various
components.
- Added new functionality for user management and organization handling
in the super cluster architecture.
**Improvements**
- Refined user authentication and authorization processes, including
error handling.
- Updated database schema to support multi-organization architecture.
- Enhanced pagination settings and UI components for better user
experience.
- Improved handling of organization names and user roles in
notifications and alerts.
- Streamlined service account token management with visibility
enhancements.
- Enhanced the `AddUpdateOrganization` component with improved user
input handling and validation.
- Updated the `AppOrganizations` component to dynamically load the
appropriate organization management interface.
- Improved the `ServiceAccountsList` component with updated pagination
options and token handling logic.
**Bug Fixes**
- Resolved issues with user role assignments and organization management
inconsistencies.
- Corrected routing and navigation logic for login and logout processes.
- Addressed various error handling scenarios in user and organization
processes.
- Fixed issues with the visibility of service account options in the
`EditGroup` and `EditRole` components based on the cloud configuration.
**Breaking Changes**
- Significant restructuring of user and organization data models.
- Changes to authentication workflows and configuration handling.
- Removal of certain components related to user and organization
management.
- Updated the logic for determining the ingestion URL across various
components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com >
Co-authored-by: Bhargav <BJP232004@GMAIL.COM >
Co-authored-by: Taiming Liu <liutaiming3@gmail.com >
Co-authored-by: hengfei yang <hengfei.yang@gmail.com >
Co-authored-by: harshiv-7 <harshiv@openobserve.ai >
Co-authored-by: Huaijin <haohuaijin@gmail.com >
Co-authored-by: Zhao.wei <weizhao029@gmail.com >
Co-authored-by: ShyamOOAI <shyam@openobserve.ai >
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com >
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai >
Co-authored-by: Yashodhan Joshi <yashodhan@openobserve.ai >
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com >
2025-05-25 21:53:55 -07:00
Shyam Panjiyar
68f9193bec
test: validate max_query_range for 1 hour pytest ( #6890 )
...
Validate max_query_range for 1 hour pytest
1. HTTP Cache False
2. HTTP Cache True
3. Streaming Search Cache False
4. Streaming Search Cache True
2025-05-23 11:33:31 +05:30
Abhay Padamani and ktx-akshay
c87a7b7a90
fix: pass query as single line for partition and search API call ( #6815 )
...
- #6816
---------
Co-authored-by: ktx-akshay <akshay.patil@kiara.tech >
2025-05-23 10:46:48 +05:30
Shyam Panjiyar
c84792d3eb
test: streaming search pytest ( #6803 )
...
Streaming Search PyTest
2025-05-20 16:22:24 +05:30
Shyam Panjiyar
53459dcecc
test: enabled streaming search playwright ( #6795 )
...
log search after streaming search enabled playwright
2025-05-20 12:04:30 +05:30
Neha P
e40ecdcdcd
test: e2e-cmd+enter-test ( #6802 )
...
- Verify search results are triggered when pressing Cmd+Enter or
Ctrl+Enter
- Verify query executes with keyboard shortcut after clicking elsewhere
- Verify different query executes with keyboard shortcut
- Verify SQL query executes with keyboard shortcut
2025-05-14 15:01:41 +05:30
ktx-akshay
8eed07fbb6
test: fix dashboard filter testcase ( #6790 )
...
Fixed the skipped test cases by using an appropriate selector instead of
force: true.
2025-05-14 12:13:35 +05:30
Abhay Padamani and ktx-akshay
7d6b828646
fix: dashboard panel error msg automation issue ( #6787 )
...
Co-authored-by: ktx-akshay <akshay.patil@kiara.tech >
2025-05-12 17:47:28 +05:30
Neha P
3ff97016cf
test: e2e-stream-name ( #6764 )
...
Added a test to add stream name and assert if stream with uppercase
exists
add a stream with lowercase and assert if stream name with lowercase
exists
2025-05-08 20:16:03 +05:30
Hengfei Yang
cb18d89e44
fix: is_querier error for super cluster ( #6761 )
2025-05-08 21:40:26 +08:00
ktx-akshay
dbd6c1017b
test(dashboard): add geomap and map test cases ( #6722 )
2025-05-06 19:14:13 +05:30
40f932198a
feat: separate out ddl client and commands ( #6675 )
...
fixes https://github.com/openobserve/openobserve/issues/6621
This separates the functions which execute ddl statements, and only runs
them if certain entry in meta is mis-matching with what we have in our
code. Introduces a new env var `ZO_META_DDL_DSN` , which is optional and
falls back to the original DSN if not specified. Added a new client to
Postgres and Mysql both which uses this DDL DSN, and that is used only
for the ddl statements.
Also added another command to cli `upgrade-db` which runs the db
initialization functions.
For sqlite, there is no change, as it does not have concept of users.
Primarily tested on Postgres to validate that the behavior with
read-write and admin users is as expected.
`DB_SCHEMA_VERSION` is hardcoded in code, and devs are expected to
manually uptick it everytime we do any changes to db schema, similar to
how we maintain ofga.
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com >
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com >
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com >
2025-05-01 16:56:37 +05:30
ktx-akshay
7cc36e986b
test: add dashboard methods for pom ( #6671 )
2025-04-30 12:31:50 +05:30
bff9364ac7
feat: add EventProgress server event ( #6668 )
...
- [x] add `percent` calc, based on the query duration
---------
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech >
Co-authored-by: omkark06 <omkar@zinclabs.io >
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech >
2025-04-29 17:38:58 +05:30
Ashish Kolhe
1f47ac2614
fix: base64 encode cookies ( #6596 )
...
fixes : [6564](https://github.com/openobserve/openobserve/issues/6564 )
2025-04-28 18:08:48 +05:30
ktx-akshay
034d1d4c53
test: multi y-axis test case fix ( #6641 )
2025-04-28 12:19:14 +05:30
Shyam Panjiyar and Taiming Liu
c3364cbab0
test: Import destination alert playwright ( #6631 )
...
1. Import webhook and email destination
2. Import scheduled and realtime alert
---------
Co-authored-by: Taiming Liu <liutaiming3@gmail.com >
2025-04-28 10:45:46 +05:30
ktx-akshay
76582d67d5
test: visualize test cases ( #6619 )
2025-04-23 20:25:17 +05:30