Commit c0a9602
fix: use py_<YYMMDD_HHMMSS>_<branch>_<hash> schema naming to prevent CI collisions (#2126)
* fix: use py_<yymmdd>_<branch>_<hash> schema naming to prevent CI collisions
Replace the old truncation-based schema naming with a hash-based approach
that prevents cross-branch collisions when concurrent CI jobs share the
same warehouse. Uses py_ prefix to identify the Python package CI
(matching dbt_ prefix in dbt-data-reliability).
Format: py_<YYMMDD>_<branch≤29>_<8-char-hash>
The hash is derived from the concurrency group key.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* style: collapse consecutive underscores in SAFE_BRANCH (CodeRabbit nitpick)
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* feat: add HHMM to schema timestamp for per-run uniqueness
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* style: use explicit UTC for timestamp (date -u)
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* style: add seconds to timestamp (YYMMDD_HHMMSS) per maintainer request
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Itamar Hartstein <haritamar@gmail.com>1 parent c65cd98 commit c0a9602
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
121 | 135 | | |
122 | 136 | | |
123 | 137 | | |
124 | 138 | | |
125 | | - | |
| 139 | + | |
126 | 140 | | |
127 | 141 | | |
128 | 142 | | |
| |||
0 commit comments