Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions elementary/monitor/dbt_project/package-lock.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
packages:
- package: dbt-labs/dbt_utils
version: 0.8.6
- package: elementary-data/elementary
version: 0.19.4
sha1_hash: 5354a38209c635db10cbc4e465e7cd679167c74b
- git: https://github.com/elementary-data/dbt-data-reliability.git
revision: cbabcb2c348be2b4c45ad72c3b94e7800a52a542
sha1_hash: 90d912df8d9c6a435f1936c7d93e4bf6c0efc4dd
4 changes: 2 additions & 2 deletions elementary/monitor/dbt_project/packages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
packages:
- package: dbt-labs/dbt_utils
version: [">=0.8.0", "<0.9.0"]
- package: elementary-data/elementary
version: 0.19.4
- git: https://github.com/elementary-data/dbt-data-reliability.git
revision: cbabcb2c348be2b4c45ad72c3b94e7800a52a542
Comment on lines +4 to +5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Good move: pin to a commit for determinism; verify the ref and installation in CI.

  • Pin looks correct (git + revision). Please:
    • Verify the commit exists upstream and is reachable.
    • Run dbt deps in CI to ensure install succeeds and macros remain compatible with this repo’s dbt/core + dbt_utils versions.
    • Commit packages.lock (if your policy allows) to freeze dbt_utils resolution alongside this git pin.

Script to verify the commit exists:

Optional inline rationale comment:

 packages:
   - package: dbt-labs/dbt_utils
     version: [">=0.8.0", "<0.9.0"]
-  - git: https://github.com/elementary-data/dbt-data-reliability.git
+  # Pin to a specific commit due to unreleased CLI compatibility requirements.
+  - git: https://github.com/elementary-data/dbt-data-reliability.git
     revision: cbabcb2c348be2b4c45ad72c3b94e7800a52a542

🏁 Script executed:

#!/bin/bash
set -euo pipefail
REMOTE=https://github.com/elementary-data/dbt-data-reliability.git
REV=cbabcb2c348be2b4c45ad72c3b94e7800a52a542
git ls-remote "$REMOTE" | grep -qi "$REV" && echo "OK: revision found" || { echo "ERR: revision not found"; exit 1; }

Length of output: 329


Invalid pinned revision in packages.yml
The commit cbabcb2c348be2b4c45ad72c3b94e7800a52a542 is not found in https://github.com/elementary-data/dbt-data-reliability.git, so dbt deps will fail.

  • Update to a valid commit SHA, tag, or branch and confirm with git ls-remote.
  • Rerun dbt deps in CI to ensure installation succeeds and macros remain compatible with this repo’s dbt/core + dbt_utils versions.
  • Commit the updated packages.lock to lock dbt_utils resolution alongside this pin.
🤖 Prompt for AI Agents
In elementary/monitor/dbt_project/packages.yml around lines 4-5 the pinned git
revision cbabcb2c348be2b4c45ad72c3b94e7800a52a542 is invalid; replace that
revision with a valid commit SHA, tag, or branch from
https://github.com/elementary-data/dbt-data-reliability.git (verify with git
ls-remote <repo> to pick a valid ref), then run dbt deps locally/CI to confirm
installation and macro compatibility with this repo’s dbt/core + dbt_utils
versions, update and commit the resulting packages.lock to lock the resolved
dbt_utils version, and push the changes.


# NOTE - for unreleased CLI versions we often need to update the package version to a commit hash (please leave this
# commented, so it will be easy to access)
Expand Down