From 3df4497266a433790ccf0797a06651b2f6a33137 Mon Sep 17 00:00:00 2001 From: sankalp Date: Mon, 21 Aug 2023 08:46:29 -0400 Subject: [PATCH 1/4] running nightly every hour now --- .github/workflows/nightly.yml | 2 +- tests/covalent_ui_backend_tests/utils/assert_data/summary.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8497d4f60..a6fcadf18 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -22,7 +22,7 @@ name: nightly on: schedule: - - cron: "0 4 * * *" + - cron: "0 * * * *" jobs: license: diff --git a/tests/covalent_ui_backend_tests/utils/assert_data/summary.py b/tests/covalent_ui_backend_tests/utils/assert_data/summary.py index cdb71ab01..1c5bac0b1 100644 --- a/tests/covalent_ui_backend_tests/utils/assert_data/summary.py +++ b/tests/covalent_ui_backend_tests/utils/assert_data/summary.py @@ -84,7 +84,7 @@ def seed_summary_data(): "started_at": "2022-09-23T10:01:11.155428", "ended_at": "2022-09-23T10:01:11.717064", "status": "COMPLETED", - "updated_at": "2022-09-23T10:01:11.72014", + "updated_at": "2022-09-23T10:01:11.720140", }, ], "total_count": 2, @@ -111,7 +111,7 @@ def seed_summary_data(): "started_at": "2022-09-23T10:01:11.155428", "ended_at": "2022-09-23T10:01:11.717064", "status": "COMPLETED", - "updated_at": "2022-09-23T10:01:11.72014", + "updated_at": "2022-09-23T10:01:11.720140", } ], "total_count": 2, From a7de79b0dacf2a01efc05d8b8685f5d64ff97cce Mon Sep 17 00:00:00 2001 From: sankalp Date: Mon, 21 Aug 2023 08:48:28 -0400 Subject: [PATCH 2/4] updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdf31f80b..13896bbda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Reduce the number of pinned version numbers in the `setup.py`, `requirements.txt`, and `requirements-client.txt` - Updated the `wci.yml` file with new features - Bumped pre-commit versions +- Temporarily running nightly hourly to test whether the fix worked ### Added From fc06a0b35d7b8c0c41175a2fedfdbdb4cbf016dc Mon Sep 17 00:00:00 2001 From: sankalp Date: Mon, 21 Aug 2023 12:46:05 -0400 Subject: [PATCH 3/4] updated timestamps for seed data --- tests/covalent_ui_backend_tests/utils/assert_data/lattices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/covalent_ui_backend_tests/utils/assert_data/lattices.py b/tests/covalent_ui_backend_tests/utils/assert_data/lattices.py index 7686362de..2128a2de0 100644 --- a/tests/covalent_ui_backend_tests/utils/assert_data/lattices.py +++ b/tests/covalent_ui_backend_tests/utils/assert_data/lattices.py @@ -177,7 +177,7 @@ def seed_lattice_data(): "started_at": "2022-10-27T10:08:34.497285", "ended_at": "2022-10-27T10:08:35.997225", "status": "COMPLETED", - "updated_at": "2022-10-27T10:08:36.00403", + "updated_at": "2022-10-27T10:08:36.004030", }, ] }, @@ -197,7 +197,7 @@ def seed_lattice_data(): "started_at": "2022-10-27T10:08:34.497285", "ended_at": "2022-10-27T10:08:35.997225", "status": "COMPLETED", - "updated_at": "2022-10-27T10:08:36.00403", + "updated_at": "2022-10-27T10:08:36.004030", }, { "dispatch_id": "69dec597-79d9-4c99-96de-8d5f06f3d4dd", From baf721034a8da811716688f0bdc9ed6d85228e17 Mon Sep 17 00:00:00 2001 From: AlejandroEsquivel Date: Mon, 21 Aug 2023 10:42:28 -0700 Subject: [PATCH 4/4] Dump covalent logs upon failure --- .github/workflows/tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d18a6c170..c478893ba 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -283,11 +283,7 @@ jobs: - name: Dump Covalent logs if: > steps.covalent_start.outcome == 'success' - && (steps.sdk-tests.outcome == 'failed' - || steps.dispatcher-tests.outcome == 'failed' - || steps.functional-tests.outcome == 'failed' - || steps.ui-backend-tests.outcome == 'failed' - || steps.ui-frontend-tests.outcome == 'failed') + && failure() run: covalent logs - name: Upload SDK report to Codecov