From 5fc66ab7136d4ea96be0eb29d1be01ec424ca969 Mon Sep 17 00:00:00 2001 From: drethereum <71602799+drethereum@users.noreply.github.com> Date: Wed, 7 Aug 2024 09:48:45 -0600 Subject: [PATCH] AN-5086/traces-retry (#392) * null * remove --- .github/workflows/dbt_docs_update.yml | 1 - .github/workflows/dbt_run_abi_refresh.yml | 1 - .github/workflows/dbt_run_adhoc.yml | 1 - .github/workflows/dbt_run_alter_gha_task.yml | 1 - .github/workflows/dbt_run_deployment.yml | 1 - .github/workflows/dbt_run_dev_refresh.yml | 1 - .github/workflows/dbt_run_full_observability.yml | 1 - .github/workflows/dbt_run_heal_models.yml | 1 - .github/workflows/dbt_run_operation_reorg.yml | 1 - .github/workflows/dbt_run_overflowed_traces.yml | 1 - .github/workflows/dbt_run_overflowed_traces2.yml | 1 - .github/workflows/dbt_run_scheduled_curated.yml | 1 - .github/workflows/dbt_run_scheduled_non_realtime.yml | 1 - .github/workflows/dbt_run_streamline_chainhead.yml | 1 - .github/workflows/dbt_run_streamline_decoder.yml | 1 - .../workflows/dbt_run_streamline_decoder_history_range_1.yml | 1 - .../workflows/dbt_run_streamline_decoder_history_range_2.yml | 1 - .../workflows/dbt_run_streamline_decoder_history_range_3.yml | 1 - .../workflows/dbt_run_streamline_decoder_history_range_4.yml | 1 - .../workflows/dbt_run_streamline_decoder_history_range_5.yml | 1 - .../workflows/dbt_run_streamline_decoder_history_range_6.yml | 1 - .github/workflows/dbt_run_streamline_history_adhoc.yml | 1 - .github/workflows/dbt_test_daily.yml | 1 - .github/workflows/dbt_test_intraday.yml | 1 - .github/workflows/dbt_test_monthly.yml | 1 - .github/workflows/dbt_test_tasks.yml | 1 - models/streamline/silver/core/retry/_missing_traces.sql | 3 ++- 27 files changed, 2 insertions(+), 27 deletions(-) diff --git a/.github/workflows/dbt_docs_update.yml b/.github/workflows/dbt_docs_update.yml index 6856fdb6..d70a604a 100644 --- a/.github/workflows/dbt_docs_update.yml +++ b/.github/workflows/dbt_docs_update.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true jobs: run_dbt_jobs: diff --git a/.github/workflows/dbt_run_abi_refresh.yml b/.github/workflows/dbt_run_abi_refresh.yml index 948556a8..e2b006f0 100644 --- a/.github/workflows/dbt_run_abi_refresh.yml +++ b/.github/workflows/dbt_run_abi_refresh.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true jobs: diff --git a/.github/workflows/dbt_run_adhoc.yml b/.github/workflows/dbt_run_adhoc.yml index 1fa3b9dc..3b2d63f4 100644 --- a/.github/workflows/dbt_run_adhoc.yml +++ b/.github/workflows/dbt_run_adhoc.yml @@ -43,7 +43,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_alter_gha_task.yml b/.github/workflows/dbt_run_alter_gha_task.yml index 52bcd12d..173ce69f 100644 --- a/.github/workflows/dbt_run_alter_gha_task.yml +++ b/.github/workflows/dbt_run_alter_gha_task.yml @@ -33,7 +33,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_deployment.yml b/.github/workflows/dbt_run_deployment.yml index 457eb38b..214dfd2b 100644 --- a/.github/workflows/dbt_run_deployment.yml +++ b/.github/workflows/dbt_run_deployment.yml @@ -35,7 +35,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_dev_refresh.yml b/.github/workflows/dbt_run_dev_refresh.yml index bac16ab9..d3ebb557 100644 --- a/.github/workflows/dbt_run_dev_refresh.yml +++ b/.github/workflows/dbt_run_dev_refresh.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_full_observability.yml b/.github/workflows/dbt_run_full_observability.yml index 3cb3926c..71672c0b 100644 --- a/.github/workflows/dbt_run_full_observability.yml +++ b/.github/workflows/dbt_run_full_observability.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_heal_models.yml b/.github/workflows/dbt_run_heal_models.yml index d3a187a8..efd27a0b 100644 --- a/.github/workflows/dbt_run_heal_models.yml +++ b/.github/workflows/dbt_run_heal_models.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_operation_reorg.yml b/.github/workflows/dbt_run_operation_reorg.yml index f327d4c9..2c566fe7 100644 --- a/.github/workflows/dbt_run_operation_reorg.yml +++ b/.github/workflows/dbt_run_operation_reorg.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_overflowed_traces.yml b/.github/workflows/dbt_run_overflowed_traces.yml index 6d0c86ca..ba6bf4d6 100644 --- a/.github/workflows/dbt_run_overflowed_traces.yml +++ b/.github/workflows/dbt_run_overflowed_traces.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_overflowed_traces2.yml b/.github/workflows/dbt_run_overflowed_traces2.yml index a897ec15..48c1d520 100644 --- a/.github/workflows/dbt_run_overflowed_traces2.yml +++ b/.github/workflows/dbt_run_overflowed_traces2.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_scheduled_curated.yml b/.github/workflows/dbt_run_scheduled_curated.yml index a2eac52e..7e1e02a4 100644 --- a/.github/workflows/dbt_run_scheduled_curated.yml +++ b/.github/workflows/dbt_run_scheduled_curated.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_scheduled_non_realtime.yml b/.github/workflows/dbt_run_scheduled_non_realtime.yml index 12ff4981..20890cbd 100644 --- a/.github/workflows/dbt_run_scheduled_non_realtime.yml +++ b/.github/workflows/dbt_run_scheduled_non_realtime.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_chainhead.yml b/.github/workflows/dbt_run_streamline_chainhead.yml index 6ca41b7f..ac617040 100644 --- a/.github/workflows/dbt_run_streamline_chainhead.yml +++ b/.github/workflows/dbt_run_streamline_chainhead.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder.yml b/.github/workflows/dbt_run_streamline_decoder.yml index b7eac1aa..c8cb822e 100644 --- a/.github/workflows/dbt_run_streamline_decoder.yml +++ b/.github/workflows/dbt_run_streamline_decoder.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder_history_range_1.yml b/.github/workflows/dbt_run_streamline_decoder_history_range_1.yml index bb7febd3..d1bcde2a 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history_range_1.yml +++ b/.github/workflows/dbt_run_streamline_decoder_history_range_1.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder_history_range_2.yml b/.github/workflows/dbt_run_streamline_decoder_history_range_2.yml index 70ba4e43..16887dd8 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history_range_2.yml +++ b/.github/workflows/dbt_run_streamline_decoder_history_range_2.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder_history_range_3.yml b/.github/workflows/dbt_run_streamline_decoder_history_range_3.yml index 22442730..7815ca9f 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history_range_3.yml +++ b/.github/workflows/dbt_run_streamline_decoder_history_range_3.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder_history_range_4.yml b/.github/workflows/dbt_run_streamline_decoder_history_range_4.yml index 5d172468..424a77ac 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history_range_4.yml +++ b/.github/workflows/dbt_run_streamline_decoder_history_range_4.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder_history_range_5.yml b/.github/workflows/dbt_run_streamline_decoder_history_range_5.yml index 847acc1d..8ff8bd1d 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history_range_5.yml +++ b/.github/workflows/dbt_run_streamline_decoder_history_range_5.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_decoder_history_range_6.yml b/.github/workflows/dbt_run_streamline_decoder_history_range_6.yml index 7a959aff..c367b37d 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history_range_6.yml +++ b/.github/workflows/dbt_run_streamline_decoder_history_range_6.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_run_streamline_history_adhoc.yml b/.github/workflows/dbt_run_streamline_history_adhoc.yml index b51b7d18..46d133fe 100644 --- a/.github/workflows/dbt_run_streamline_history_adhoc.yml +++ b/.github/workflows/dbt_run_streamline_history_adhoc.yml @@ -45,7 +45,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_test_daily.yml b/.github/workflows/dbt_test_daily.yml index 9cabf225..6cf505c1 100644 --- a/.github/workflows/dbt_test_daily.yml +++ b/.github/workflows/dbt_test_daily.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_test_intraday.yml b/.github/workflows/dbt_test_intraday.yml index 0224c304..03cdc30d 100644 --- a/.github/workflows/dbt_test_intraday.yml +++ b/.github/workflows/dbt_test_intraday.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_test_monthly.yml b/.github/workflows/dbt_test_monthly.yml index dbf733ab..b331cb98 100644 --- a/.github/workflows/dbt_test_monthly.yml +++ b/.github/workflows/dbt_test_monthly.yml @@ -21,7 +21,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/.github/workflows/dbt_test_tasks.yml b/.github/workflows/dbt_test_tasks.yml index 3d102034..b2861c39 100644 --- a/.github/workflows/dbt_test_tasks.yml +++ b/.github/workflows/dbt_test_tasks.yml @@ -20,7 +20,6 @@ env: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true diff --git a/models/streamline/silver/core/retry/_missing_traces.sql b/models/streamline/silver/core/retry/_missing_traces.sql index e4d6f72d..08988722 100644 --- a/models/streamline/silver/core/retry/_missing_traces.sql +++ b/models/streamline/silver/core/retry/_missing_traces.sql @@ -18,7 +18,6 @@ FROM tr ON tx.block_number = tr.block_number AND tx.tx_hash = tr.tx_hash - AND tr.block_timestamp >= DATEADD('hour', -84, SYSDATE()) WHERE tx.block_timestamp >= DATEADD('hour', -84, SYSDATE()) AND tr.tx_hash IS NULL @@ -32,3 +31,5 @@ WHERE FROM lookback ) + AND tr.block_timestamp >= DATEADD('hour', -84, SYSDATE()) + AND tr.block_timestamp IS NOT NULL \ No newline at end of file