Commit Graph
136 Commits
Author SHA1 Message Date
Hengfei Yang 0291e39bd5 ci: remove mimalloc on windows (#3951) 2024-07-11 11:02:31 +08:00
Ankur Srivastava c890ceb932 feat: parallelize the tests (#3930)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
  - Reorganized the workflow jobs for better structure and efficiency.
  - Renamed the `ui_integration_tests` job to `build_binary`.
- Added steps to upload and download artifacts with defined path and
retention settings.
- Included a step to clone the current repository using
actions/checkout.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-09 14:14:45 +02:00
dependabot[bot] 8e627cc1da chore(deps): bump eifinger/setup-rye from 3 to 4 (#3925) 2024-07-09 12:20:03 +08:00
Hengfei Yang 03f1b192c2 feat: ugprade rust to 2024-07-07 (#3922) 2024-07-08 20:56:56 +08:00
Huaijin 5572cb3e72 perf: disable repartition when sort by timestamp desc (#3918) 2024-07-08 19:05:34 +08:00
Taiming Liu 842dbdb647 fix: unnecessary null field during compaction (#3917) 2024-07-08 17:43:39 +08:00
Neha P 315d2c54c6 test: e2e-stream-multiselect (#3831)
- Added stream multiselect tests

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
- Enhanced UI tests for the login process and multistream selection
logic.
- Adjusted element interactions, timeouts, and added verification steps
in multistream selection tests.
- Included the multiselect stream test in the Playwright workflow
configuration.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-26 16:11:32 +05:30
Neha PandHengfei Yang 406ddb1384 test: e2e schema test fix (#3811)
- Fixed breaking schema testcase due to logs max query range changes

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Enhanced login function tests with additional timeouts and
interactions with date-time elements and log search buttons.
- Adjusted timeouts for waiting during login and dropdown selection
operations in sanity tests.
- **Chores**
  - Updated environment variables configuration in Playwright workflow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-06-25 14:23:29 +05:30
dependabot[bot] c156e68a07 chore(deps): bump docker/build-push-action from 5 to 6 (#3753) 2024-06-18 23:17:47 +08:00
Hengfei Yang 611f2e1c29 perf: improve ingestion (#3678) 2024-06-12 22:01:03 +08:00
Neha P c15a4acc48 test: e2e-backfill-logdata (#3663)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added new test cases for checking JSON responses with timestamps and
assertions for response statuses.

- **Bug Fixes**
  - Updated query functions for stream exploration to improve accuracy.

- **Chores**
- Added a new environment variable `ZO_INGEST_ALLOWED_UPTO` with a value
of `5`.

- **Tests**
- Enhanced UI tests with new functions and assertions to improve test
coverage and reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-03 13:09:42 +05:30
Hengfei Yang 569bb121ce feat: add new node role flatten_compactor (#3589) 2024-05-30 18:34:41 +08:00
abe6206361 fix: logs page histogram optimisation (#3586)
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: omkark06 <omkar@zinclabs.io>
2024-05-25 18:57:48 +05:30
Neha P 4ccb02c081 test: e2e-reports-testcases (#3571)
- Verify if user is able to create and delete Once - type report
- Verify if user is able to create and delete Hourly - type report
- Verify if user is able to create and delete weekly- type report
- Verify if user is able to create and delete monthly - type report
- Verify if user is able to create a new dashboards for all the reports
and delete it
- Verify if user is able to delete all the reports after creating
2024-05-23 19:12:57 +05:30
dependabot[bot] af00810f00 chore(deps): bump eifinger/setup-rye from 2 to 3 (#3503) 2024-05-22 21:21:41 +08:00
Hengfei Yang d84726e5db refactor: merge parquet files interface (#3547)
Prepare for vertical partition compact, change the interface first.
2024-05-20 15:31:25 +08:00
Neha P e1380c7a5e test: add-dashboard-image-tests (#3510)
**Testcases covered** 
- Create an area type dashboard
- Take a screenshot of this dashboard
- Compare this image with an existing image 
- Delete the panel
- Delete the dashboard
2024-05-14 18:06:04 +05:30
Neha P 4d7cc602dc test: e2e-user-defined-schema (#3494)
Automation for below scenarios-

- Verify if Add to defined schema fields is displayed on UI
- Verify if on clicking the checkbox for items, the button gets enabled
- Verify on adding on user defined schema the selected fields are
displayed.
- Verify after updating these settings user is able to navigate to
stream via stream explorer
- Verify if user is able to click on log search results after updating
schema settings
- Verify if the updated schema displayed under results as ALL post new
data ingestion
- Verify if user is able to remove the fields and update the settings
- Verify after removing, the fields do not display under all in UI
2024-05-12 21:16:57 +05:30
Neha P 4f42c98253 test: e2e-region-testcases (#3490)
Tests for following scenarios
- Verify if user is able to view region tab
- Verify if user is able to click on region tab
- Verify if 2 options displayed under region tab
- Verify if 1 Region saved under saved view is displayed when the view
applied
- Verify if user is able to select stream explorer and click on saved
view only 1 selected option to be displayed
- Verify if saved view is deleted after adding only1 region should click
on region, change
2024-05-12 14:13:17 +05:30
Ankur Srivastava a8346c20ea ci: generate meaningful commit run-ids (#3474) 2024-05-10 19:31:58 +02:00
Neha P 2135fc1a3d test: e2e-pipeline-testcases (#3472)
- Function creation and deletion for pipeline changes (bug fix)
- Created a function for pipeline delete
#3464
2024-05-10 19:38:41 +05:30
Neha P 6eb8c8b489 test: e2e pipeline testcases (#3451)
- Verify if user is able to click on pipeline via menu
- Verify if user is able to click on pipeline from the tabs via pipeline
menu
- Verify if user is able to select a stream on pipeline UI
- Verify if user is able to add name on pipeline UI
- Verify if user is able to close pipeline UI
- Verify if user is able to save a new pipeline
- Verify user is able to edit and delete a new pipeline
- Verify if functions is displayed when editing pipeline
- Verify if route is displayed on editing pipeline
- Verify functions drag drop works on pipeline UI
- Verify route drag drop works on pipeline UI
- Verify if error displayed on adding invalid functions on pipeline UI
- Verify if user is able add a new function successfully via pipeline
functions
- Verify if cancel button works on function additon UI
- Verify if error displayed when route created with only spaces
- Verify if user able to create route and then delete the pipeline post
creation of route
- Verify if error displayed on clicking save button directly without
adding name for function under pipeline
2024-05-09 21:19:59 +05:30
42982877e5 test: logs quickmode playwright tests (#3143)
- testing playwright testcases for logs quickmode

---------

Co-authored-by: Ankur Srivastava <best.ankur@gmail.com>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2024-05-09 11:18:45 +02:00
Ankur Srivastava 5cf8a0c201 ci: initiate enterprise build (#3424)
For each incoming PR, build the enterprise container too.
2024-05-08 08:39:25 +02:00
Ankur Srivastava c1a43a7bf6 ci: build arm64 and amd64 for the PR (#3403) 2024-05-05 13:57:29 +02:00
Ankur Srivastava 53f260b3bc fix: bump up node to 20 and test (#3389) 2024-05-01 10:02:38 +08:00
Ankur Srivastava a70bd69ab5 fix: allow a few more licenses for js code (#3386) 2024-04-30 12:09:25 +02:00
dependabot[bot] b418d175e2 chore(deps): bump EmbarkStudios/cargo-deny-action from 1.6.2 to 1.6.3 (#3377) 2024-04-30 13:04:48 +08:00
Ankur Srivastava bc50a515b0 ci: use the GIT_SHA which was requested by the /ok-to-test cmd (#3303) 2024-04-21 15:55:52 +02:00
Ankur Srivastava 36ab65b9bc ci: use the sha as the ref (#3302) 2024-04-21 01:00:58 +02:00
Ankur Srivastava 4f9a1579da ci: use the sha as the ref (#3301) 2024-04-21 00:50:40 +02:00
Ankur Srivastava 7b8d002d91 ci: try with actions v4 (#3300) 2024-04-21 00:45:28 +02:00
Ankur Srivastava ac4f7a1c57 ci: update the status of the run (#3299) 2024-04-21 00:19:49 +02:00
Ankur Srivastava ece7729e5a ci: update the status of the run (#3298) 2024-04-20 23:30:22 +02:00
Ankur Srivastava 94b3e857e3 ci: force retrieve the missing tags with git-describe (#3297) 2024-04-20 22:52:16 +02:00
Ankur Srivastava d89fd900cc ci: force retrieve the missing tags and use v3 of checkout (#3296) 2024-04-20 22:38:13 +02:00
Ankur Srivastava 001a23f17d ci: force retrieve the missing tags (#3295) 2024-04-20 22:20:14 +02:00
Ankur Srivastava 2a0aa3e653 ci: try to fetch the git-tag early with merge-commit (#3294) 2024-04-20 20:22:19 +02:00
Ankur Srivastava d9a813932e fix: for forked pull-requests pick up the correct git ref (#3293)
Since this workflow runs via a repository_dispatch event the payload
contains all the data behind `github.event.client_payload.pull_request`
2024-04-20 17:40:11 +02:00
Ankur Srivastava d29fed6792 ci: bump up the dependencies of ok-to-test (#3292) 2024-04-20 15:33:47 +02:00
Ankur Srivastava 08cda2ae33 ci: integrate an ok-to-test pull-request command (#3287)
Several of the contributors who sent a PR see several failures in the CI
especially the part where a docker container image is built and pushed
to public aws-ecr.

This PR ensures that whenever a PR comes from an external contributor, a
developer after carefully reviewing the code, writes `/ok-to-test
<commit-to-test>` This comment will trigger a repository_dispatch event
which will run a new workflow `build-fork-pr-image.yml` in the context
of a privileged user, thus building and pushing the image to ECR and in
the end it also updates the status of the existing pipelines.

Finally, the `build-pr-image.yml` will now run for only the members of
the Openobserve organization.
2024-04-20 08:46:09 +02:00
Ankur Srivastava 055da8c543 ci: support javascript license file checker (#3203) 2024-04-10 01:31:53 +02:00
Ankur Srivastava 931f55f4a4 test: disable recording of tests (#3145) 2024-04-02 22:00:07 +08:00
Ankur Srivastava 6d20dd88a0 fix: try with workflow-dispatch event (#3142) 2024-04-02 12:40:09 +02:00
dependabot[bot] 0a55c32c8f chore(deps): bump EmbarkStudios/cargo-deny-action from 1.6.1 to 1.6.2 (#3100) 2024-03-30 21:40:55 +08:00
Neha P 898cb1cc47 test: testcases for quick mode (#3124)
- Verify if quick mode is displayed
- Verify if user is able to click on interesting fields
- Verify on clicking interesting fields user is able to view the field
in sql mode
- Verify if on clicking interesting field when histogram is enabled,
expected results are displayed
- Verify if error displayed on entering random text in histogram mode
when quick mode is on
- Verify should display order by as default when switched to sql mode
- Verify if on page refresh the orderby is still present by default in
sql mode
- Verify if on page adding removing the interesting field removes in
from sql mode and the results too
2024-03-30 11:07:21 +05:30
Ankur Srivastava 22fd621f40 test: run the forks on default github-runners (#3116)
For the incoming PRs from external contributors run the action on github
managed runners and everything else on ubicloud-runners
2024-03-27 18:13:39 +01:00
Ankur Srivastava 0c9ad5f357 test: use full name before checking out the repo (#3115) 2024-03-27 16:23:34 +01:00
Ankur Srivastava 77c34185b5 test: Improve secret handling in forks (#3111)
ensure that recording functionality is skipped during the forked PRs for
the cypress tests.
2024-03-27 13:12:15 +01:00
Hengfei Yang fd49360f49 feat: add quick mode fields (#3068) 2024-03-22 15:54:39 +08:00