@databricks-solutions/lakebase-scm-utils 0.2.50 → 0.2.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scripts/index.cjs +6 -6
- package/dist/scripts/index.js +6 -6
- package/dist/scripts/lakebase/ci-resolve-branch.cli.cjs +2 -2
- package/dist/scripts/lakebase/ci-resolve-branch.cli.js +2 -2
- package/dist/scripts/lakebase/collapse-heads.cli.cjs +2 -2
- package/dist/scripts/lakebase/collapse-heads.cli.js +2 -2
- package/dist/scripts/lakebase/detect-language.cli.cjs +2 -2
- package/dist/scripts/lakebase/detect-language.cli.js +2 -2
- package/dist/scripts/lakebase/doctor.cli.cjs +2 -2
- package/dist/scripts/lakebase/doctor.cli.js +2 -2
- package/dist/scripts/lakebase/get-connection.cli.cjs +2 -2
- package/dist/scripts/lakebase/get-connection.cli.js +2 -2
- package/dist/scripts/lakebase/index.cjs +6 -6
- package/dist/scripts/lakebase/index.js +6 -6
- package/dist/scripts/lakebase/infra-runner.cli.cjs +2 -2
- package/dist/scripts/lakebase/infra-runner.cli.js +2 -2
- package/dist/scripts/lakebase/new-migration.cli.cjs +2 -2
- package/dist/scripts/lakebase/new-migration.cli.js +2 -2
- package/dist/scripts/lakebase/schema-diff.cli.cjs +2 -2
- package/dist/scripts/lakebase/schema-diff.cli.js +2 -2
- package/dist/scripts/lakebase/schema-migrate.cli.cjs +2 -2
- package/dist/scripts/lakebase/schema-migrate.cli.js +2 -2
- package/dist/scripts/lakebase/scm-claim-feature.cli.cjs +2 -2
- package/dist/scripts/lakebase/scm-claim-feature.cli.js +2 -2
- package/dist/scripts/lakebase/scm-doctor.cli.cjs +2 -2
- package/dist/scripts/lakebase/scm-doctor.cli.js +2 -2
- package/dist/scripts/lakebase/scm-merge.cli.cjs +2 -2
- package/dist/scripts/lakebase/scm-merge.cli.js +2 -2
- package/dist/scripts/lakebase/scm-reconcile-tier.cli.cjs +2 -2
- package/dist/scripts/lakebase/scm-reconcile-tier.cli.js +2 -2
- package/dist/scripts/util/index.cjs +2 -2
- package/dist/scripts/util/index.js +2 -2
- package/package.json +1 -1
- package/scripts/lakebase/create-project.ts +8 -10
- package/templates/project/common/.gitignore.base +7 -0
package/dist/scripts/index.cjs
CHANGED
|
@@ -88933,8 +88933,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
88933
88933
|
var cached;
|
|
88934
88934
|
function substrateSelfVersion() {
|
|
88935
88935
|
if (cached !== void 0) return cached;
|
|
88936
|
-
if ("0.2.
|
|
88937
|
-
cached = "0.2.
|
|
88936
|
+
if ("0.2.51".length > 0) {
|
|
88937
|
+
cached = "0.2.51";
|
|
88938
88938
|
return cached;
|
|
88939
88939
|
}
|
|
88940
88940
|
cached = "unknown";
|
|
@@ -92841,7 +92841,7 @@ async function createProject(input, progress) {
|
|
|
92841
92841
|
tierCount > 1 ? `${tierCount} tiers (prod${tierCount >= 2 ? " + staging" : ""}${tierCount >= 3 ? " + dev" : ""})` : null
|
|
92842
92842
|
].filter(Boolean);
|
|
92843
92843
|
report(
|
|
92844
|
-
`Setting up "${input.projectName}"
|
|
92844
|
+
`Setting up "${input.projectName}". This creates: ${bits.join(", ")}. The Consort toolkit downloads on first use. Progress:`
|
|
92845
92845
|
);
|
|
92846
92846
|
}
|
|
92847
92847
|
report("Checking Databricks authentication...");
|
|
@@ -92896,7 +92896,7 @@ Last probe error:
|
|
|
92896
92896
|
fs19.mkdirSync(projectDir, { recursive: true });
|
|
92897
92897
|
await gitInit(projectDir);
|
|
92898
92898
|
}
|
|
92899
|
-
report("Creating Lakebase database (provisioning Postgres
|
|
92899
|
+
report("Creating Lakebase database (provisioning Postgres)...", lakebaseProjectId);
|
|
92900
92900
|
await createLakebaseProject({ projectId: lakebaseProjectId, host });
|
|
92901
92901
|
return await withLakebaseRollback(
|
|
92902
92902
|
{ projectId: lakebaseProjectId, host, report },
|
|
@@ -92976,7 +92976,7 @@ Last probe error:
|
|
|
92976
92976
|
}
|
|
92977
92977
|
}
|
|
92978
92978
|
if (useGithub && runnerType === "self-hosted") {
|
|
92979
|
-
report("Setting up the self-hosted CI runner
|
|
92979
|
+
report("Setting up the self-hosted CI runner: downloading, extracting, and registering it...");
|
|
92980
92980
|
try {
|
|
92981
92981
|
await setupRunner({
|
|
92982
92982
|
fullRepoName,
|
|
@@ -93048,7 +93048,7 @@ Last probe error:
|
|
|
93048
93048
|
}
|
|
93049
93049
|
}
|
|
93050
93050
|
report(
|
|
93051
|
-
"Consort toolkit downloads on first use
|
|
93051
|
+
"The Consort toolkit downloads on first use , run `./scripts/lk --refresh`, or just your first `./scripts/lk` command, and it installs then."
|
|
93052
93052
|
);
|
|
93053
93053
|
}
|
|
93054
93054
|
const langLabels = {
|
package/dist/scripts/index.js
CHANGED
|
@@ -9725,8 +9725,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
9725
9725
|
var cached;
|
|
9726
9726
|
function substrateSelfVersion() {
|
|
9727
9727
|
if (cached !== void 0) return cached;
|
|
9728
|
-
if ("0.2.
|
|
9729
|
-
cached = "0.2.
|
|
9728
|
+
if ("0.2.51".length > 0) {
|
|
9729
|
+
cached = "0.2.51";
|
|
9730
9730
|
return cached;
|
|
9731
9731
|
}
|
|
9732
9732
|
cached = "unknown";
|
|
@@ -13633,7 +13633,7 @@ async function createProject(input, progress) {
|
|
|
13633
13633
|
tierCount > 1 ? `${tierCount} tiers (prod${tierCount >= 2 ? " + staging" : ""}${tierCount >= 3 ? " + dev" : ""})` : null
|
|
13634
13634
|
].filter(Boolean);
|
|
13635
13635
|
report(
|
|
13636
|
-
`Setting up "${input.projectName}"
|
|
13636
|
+
`Setting up "${input.projectName}". This creates: ${bits.join(", ")}. The Consort toolkit downloads on first use. Progress:`
|
|
13637
13637
|
);
|
|
13638
13638
|
}
|
|
13639
13639
|
report("Checking Databricks authentication...");
|
|
@@ -13688,7 +13688,7 @@ Last probe error:
|
|
|
13688
13688
|
fs18.mkdirSync(projectDir, { recursive: true });
|
|
13689
13689
|
await gitInit(projectDir);
|
|
13690
13690
|
}
|
|
13691
|
-
report("Creating Lakebase database (provisioning Postgres
|
|
13691
|
+
report("Creating Lakebase database (provisioning Postgres)...", lakebaseProjectId);
|
|
13692
13692
|
await createLakebaseProject({ projectId: lakebaseProjectId, host });
|
|
13693
13693
|
return await withLakebaseRollback(
|
|
13694
13694
|
{ projectId: lakebaseProjectId, host, report },
|
|
@@ -13768,7 +13768,7 @@ Last probe error:
|
|
|
13768
13768
|
}
|
|
13769
13769
|
}
|
|
13770
13770
|
if (useGithub && runnerType === "self-hosted") {
|
|
13771
|
-
report("Setting up the self-hosted CI runner
|
|
13771
|
+
report("Setting up the self-hosted CI runner: downloading, extracting, and registering it...");
|
|
13772
13772
|
try {
|
|
13773
13773
|
await setupRunner({
|
|
13774
13774
|
fullRepoName,
|
|
@@ -13840,7 +13840,7 @@ Last probe error:
|
|
|
13840
13840
|
}
|
|
13841
13841
|
}
|
|
13842
13842
|
report(
|
|
13843
|
-
"Consort toolkit downloads on first use
|
|
13843
|
+
"The Consort toolkit downloads on first use , run `./scripts/lk --refresh`, or just your first `./scripts/lk` command, and it installs then."
|
|
13844
13844
|
);
|
|
13845
13845
|
}
|
|
13846
13846
|
const langLabels = {
|
|
@@ -79629,8 +79629,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79629
79629
|
var cached;
|
|
79630
79630
|
function substrateSelfVersion() {
|
|
79631
79631
|
if (cached !== void 0) return cached;
|
|
79632
|
-
if ("0.2.
|
|
79633
|
-
cached = "0.2.
|
|
79632
|
+
if ("0.2.51".length > 0) {
|
|
79633
|
+
cached = "0.2.51";
|
|
79634
79634
|
return cached;
|
|
79635
79635
|
}
|
|
79636
79636
|
cached = "unknown";
|
|
@@ -721,8 +721,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
721
721
|
var cached;
|
|
722
722
|
function substrateSelfVersion() {
|
|
723
723
|
if (cached !== void 0) return cached;
|
|
724
|
-
if ("0.2.
|
|
725
|
-
cached = "0.2.
|
|
724
|
+
if ("0.2.51".length > 0) {
|
|
725
|
+
cached = "0.2.51";
|
|
726
726
|
return cached;
|
|
727
727
|
}
|
|
728
728
|
cached = "unknown";
|
|
@@ -79290,8 +79290,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79290
79290
|
var cached;
|
|
79291
79291
|
function substrateSelfVersion() {
|
|
79292
79292
|
if (cached !== void 0) return cached;
|
|
79293
|
-
if ("0.2.
|
|
79294
|
-
cached = "0.2.
|
|
79293
|
+
if ("0.2.51".length > 0) {
|
|
79294
|
+
cached = "0.2.51";
|
|
79295
79295
|
return cached;
|
|
79296
79296
|
}
|
|
79297
79297
|
cached = "unknown";
|
|
@@ -393,8 +393,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
393
393
|
var cached;
|
|
394
394
|
function substrateSelfVersion() {
|
|
395
395
|
if (cached !== void 0) return cached;
|
|
396
|
-
if ("0.2.
|
|
397
|
-
cached = "0.2.
|
|
396
|
+
if ("0.2.51".length > 0) {
|
|
397
|
+
cached = "0.2.51";
|
|
398
398
|
return cached;
|
|
399
399
|
}
|
|
400
400
|
cached = "unknown";
|
|
@@ -79290,8 +79290,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79290
79290
|
var cached;
|
|
79291
79291
|
function substrateSelfVersion() {
|
|
79292
79292
|
if (cached !== void 0) return cached;
|
|
79293
|
-
if ("0.2.
|
|
79294
|
-
cached = "0.2.
|
|
79293
|
+
if ("0.2.51".length > 0) {
|
|
79294
|
+
cached = "0.2.51";
|
|
79295
79295
|
return cached;
|
|
79296
79296
|
}
|
|
79297
79297
|
cached = "unknown";
|
|
@@ -393,8 +393,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
393
393
|
var cached;
|
|
394
394
|
function substrateSelfVersion() {
|
|
395
395
|
if (cached !== void 0) return cached;
|
|
396
|
-
if ("0.2.
|
|
397
|
-
cached = "0.2.
|
|
396
|
+
if ("0.2.51".length > 0) {
|
|
397
|
+
cached = "0.2.51";
|
|
398
398
|
return cached;
|
|
399
399
|
}
|
|
400
400
|
cached = "unknown";
|
|
@@ -79382,8 +79382,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79382
79382
|
var cached;
|
|
79383
79383
|
function substrateSelfVersion() {
|
|
79384
79384
|
if (cached !== void 0) return cached;
|
|
79385
|
-
if ("0.2.
|
|
79386
|
-
cached = "0.2.
|
|
79385
|
+
if ("0.2.51".length > 0) {
|
|
79386
|
+
cached = "0.2.51";
|
|
79387
79387
|
return cached;
|
|
79388
79388
|
}
|
|
79389
79389
|
cached = "unknown";
|
|
@@ -484,8 +484,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
484
484
|
var cached;
|
|
485
485
|
function substrateSelfVersion() {
|
|
486
486
|
if (cached !== void 0) return cached;
|
|
487
|
-
if ("0.2.
|
|
488
|
-
cached = "0.2.
|
|
487
|
+
if ("0.2.51".length > 0) {
|
|
488
|
+
cached = "0.2.51";
|
|
489
489
|
return cached;
|
|
490
490
|
}
|
|
491
491
|
cached = "unknown";
|
|
@@ -79285,8 +79285,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79285
79285
|
var cached;
|
|
79286
79286
|
function substrateSelfVersion() {
|
|
79287
79287
|
if (cached !== void 0) return cached;
|
|
79288
|
-
if ("0.2.
|
|
79289
|
-
cached = "0.2.
|
|
79288
|
+
if ("0.2.51".length > 0) {
|
|
79289
|
+
cached = "0.2.51";
|
|
79290
79290
|
return cached;
|
|
79291
79291
|
}
|
|
79292
79292
|
cached = "unknown";
|
|
@@ -389,8 +389,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
389
389
|
var cached;
|
|
390
390
|
function substrateSelfVersion() {
|
|
391
391
|
if (cached !== void 0) return cached;
|
|
392
|
-
if ("0.2.
|
|
393
|
-
cached = "0.2.
|
|
392
|
+
if ("0.2.51".length > 0) {
|
|
393
|
+
cached = "0.2.51";
|
|
394
394
|
return cached;
|
|
395
395
|
}
|
|
396
396
|
cached = "unknown";
|
|
@@ -81594,8 +81594,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
81594
81594
|
var cached;
|
|
81595
81595
|
function substrateSelfVersion() {
|
|
81596
81596
|
if (cached !== void 0) return cached;
|
|
81597
|
-
if ("0.2.
|
|
81598
|
-
cached = "0.2.
|
|
81597
|
+
if ("0.2.51".length > 0) {
|
|
81598
|
+
cached = "0.2.51";
|
|
81599
81599
|
return cached;
|
|
81600
81600
|
}
|
|
81601
81601
|
cached = "unknown";
|
|
@@ -92552,7 +92552,7 @@ async function createProject(input, progress) {
|
|
|
92552
92552
|
tierCount > 1 ? `${tierCount} tiers (prod${tierCount >= 2 ? " + staging" : ""}${tierCount >= 3 ? " + dev" : ""})` : null
|
|
92553
92553
|
].filter(Boolean);
|
|
92554
92554
|
report(
|
|
92555
|
-
`Setting up "${input.projectName}"
|
|
92555
|
+
`Setting up "${input.projectName}". This creates: ${bits.join(", ")}. The Consort toolkit downloads on first use. Progress:`
|
|
92556
92556
|
);
|
|
92557
92557
|
}
|
|
92558
92558
|
report("Checking Databricks authentication...");
|
|
@@ -92607,7 +92607,7 @@ Last probe error:
|
|
|
92607
92607
|
fs19.mkdirSync(projectDir, { recursive: true });
|
|
92608
92608
|
await gitInit(projectDir);
|
|
92609
92609
|
}
|
|
92610
|
-
report("Creating Lakebase database (provisioning Postgres
|
|
92610
|
+
report("Creating Lakebase database (provisioning Postgres)...", lakebaseProjectId);
|
|
92611
92611
|
await createLakebaseProject({ projectId: lakebaseProjectId, host });
|
|
92612
92612
|
return await withLakebaseRollback(
|
|
92613
92613
|
{ projectId: lakebaseProjectId, host, report },
|
|
@@ -92687,7 +92687,7 @@ Last probe error:
|
|
|
92687
92687
|
}
|
|
92688
92688
|
}
|
|
92689
92689
|
if (useGithub && runnerType === "self-hosted") {
|
|
92690
|
-
report("Setting up the self-hosted CI runner
|
|
92690
|
+
report("Setting up the self-hosted CI runner: downloading, extracting, and registering it...");
|
|
92691
92691
|
try {
|
|
92692
92692
|
await setupRunner({
|
|
92693
92693
|
fullRepoName,
|
|
@@ -92759,7 +92759,7 @@ Last probe error:
|
|
|
92759
92759
|
}
|
|
92760
92760
|
}
|
|
92761
92761
|
report(
|
|
92762
|
-
"Consort toolkit downloads on first use
|
|
92762
|
+
"The Consort toolkit downloads on first use , run `./scripts/lk --refresh`, or just your first `./scripts/lk` command, and it installs then."
|
|
92763
92763
|
);
|
|
92764
92764
|
}
|
|
92765
92765
|
const langLabels = {
|
|
@@ -2521,8 +2521,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
2521
2521
|
var cached;
|
|
2522
2522
|
function substrateSelfVersion() {
|
|
2523
2523
|
if (cached !== void 0) return cached;
|
|
2524
|
-
if ("0.2.
|
|
2525
|
-
cached = "0.2.
|
|
2524
|
+
if ("0.2.51".length > 0) {
|
|
2525
|
+
cached = "0.2.51";
|
|
2526
2526
|
return cached;
|
|
2527
2527
|
}
|
|
2528
2528
|
cached = "unknown";
|
|
@@ -13479,7 +13479,7 @@ async function createProject(input, progress) {
|
|
|
13479
13479
|
tierCount > 1 ? `${tierCount} tiers (prod${tierCount >= 2 ? " + staging" : ""}${tierCount >= 3 ? " + dev" : ""})` : null
|
|
13480
13480
|
].filter(Boolean);
|
|
13481
13481
|
report(
|
|
13482
|
-
`Setting up "${input.projectName}"
|
|
13482
|
+
`Setting up "${input.projectName}". This creates: ${bits.join(", ")}. The Consort toolkit downloads on first use. Progress:`
|
|
13483
13483
|
);
|
|
13484
13484
|
}
|
|
13485
13485
|
report("Checking Databricks authentication...");
|
|
@@ -13534,7 +13534,7 @@ Last probe error:
|
|
|
13534
13534
|
fs18.mkdirSync(projectDir, { recursive: true });
|
|
13535
13535
|
await gitInit(projectDir);
|
|
13536
13536
|
}
|
|
13537
|
-
report("Creating Lakebase database (provisioning Postgres
|
|
13537
|
+
report("Creating Lakebase database (provisioning Postgres)...", lakebaseProjectId);
|
|
13538
13538
|
await createLakebaseProject({ projectId: lakebaseProjectId, host });
|
|
13539
13539
|
return await withLakebaseRollback(
|
|
13540
13540
|
{ projectId: lakebaseProjectId, host, report },
|
|
@@ -13614,7 +13614,7 @@ Last probe error:
|
|
|
13614
13614
|
}
|
|
13615
13615
|
}
|
|
13616
13616
|
if (useGithub && runnerType === "self-hosted") {
|
|
13617
|
-
report("Setting up the self-hosted CI runner
|
|
13617
|
+
report("Setting up the self-hosted CI runner: downloading, extracting, and registering it...");
|
|
13618
13618
|
try {
|
|
13619
13619
|
await setupRunner({
|
|
13620
13620
|
fullRepoName,
|
|
@@ -13686,7 +13686,7 @@ Last probe error:
|
|
|
13686
13686
|
}
|
|
13687
13687
|
}
|
|
13688
13688
|
report(
|
|
13689
|
-
"Consort toolkit downloads on first use
|
|
13689
|
+
"The Consort toolkit downloads on first use , run `./scripts/lk --refresh`, or just your first `./scripts/lk` command, and it installs then."
|
|
13690
13690
|
);
|
|
13691
13691
|
}
|
|
13692
13692
|
const langLabels = {
|
|
@@ -79290,8 +79290,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79290
79290
|
var cached;
|
|
79291
79291
|
function substrateSelfVersion() {
|
|
79292
79292
|
if (cached !== void 0) return cached;
|
|
79293
|
-
if ("0.2.
|
|
79294
|
-
cached = "0.2.
|
|
79293
|
+
if ("0.2.51".length > 0) {
|
|
79294
|
+
cached = "0.2.51";
|
|
79295
79295
|
return cached;
|
|
79296
79296
|
}
|
|
79297
79297
|
cached = "unknown";
|
|
@@ -393,8 +393,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
393
393
|
var cached;
|
|
394
394
|
function substrateSelfVersion() {
|
|
395
395
|
if (cached !== void 0) return cached;
|
|
396
|
-
if ("0.2.
|
|
397
|
-
cached = "0.2.
|
|
396
|
+
if ("0.2.51".length > 0) {
|
|
397
|
+
cached = "0.2.51";
|
|
398
398
|
return cached;
|
|
399
399
|
}
|
|
400
400
|
cached = "unknown";
|
|
@@ -79290,8 +79290,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79290
79290
|
var cached;
|
|
79291
79291
|
function substrateSelfVersion() {
|
|
79292
79292
|
if (cached !== void 0) return cached;
|
|
79293
|
-
if ("0.2.
|
|
79294
|
-
cached = "0.2.
|
|
79293
|
+
if ("0.2.51".length > 0) {
|
|
79294
|
+
cached = "0.2.51";
|
|
79295
79295
|
return cached;
|
|
79296
79296
|
}
|
|
79297
79297
|
cached = "unknown";
|
|
@@ -393,8 +393,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
393
393
|
var cached;
|
|
394
394
|
function substrateSelfVersion() {
|
|
395
395
|
if (cached !== void 0) return cached;
|
|
396
|
-
if ("0.2.
|
|
397
|
-
cached = "0.2.
|
|
396
|
+
if ("0.2.51".length > 0) {
|
|
397
|
+
cached = "0.2.51";
|
|
398
398
|
return cached;
|
|
399
399
|
}
|
|
400
400
|
cached = "unknown";
|
|
@@ -79288,8 +79288,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79288
79288
|
var cached;
|
|
79289
79289
|
function substrateSelfVersion() {
|
|
79290
79290
|
if (cached !== void 0) return cached;
|
|
79291
|
-
if ("0.2.
|
|
79292
|
-
cached = "0.2.
|
|
79291
|
+
if ("0.2.51".length > 0) {
|
|
79292
|
+
cached = "0.2.51";
|
|
79293
79293
|
return cached;
|
|
79294
79294
|
}
|
|
79295
79295
|
cached = "unknown";
|
|
@@ -389,8 +389,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
389
389
|
var cached;
|
|
390
390
|
function substrateSelfVersion() {
|
|
391
391
|
if (cached !== void 0) return cached;
|
|
392
|
-
if ("0.2.
|
|
393
|
-
cached = "0.2.
|
|
392
|
+
if ("0.2.51".length > 0) {
|
|
393
|
+
cached = "0.2.51";
|
|
394
394
|
return cached;
|
|
395
395
|
}
|
|
396
396
|
cached = "unknown";
|
|
@@ -79324,8 +79324,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79324
79324
|
var cached;
|
|
79325
79325
|
function substrateSelfVersion() {
|
|
79326
79326
|
if (cached !== void 0) return cached;
|
|
79327
|
-
if ("0.2.
|
|
79328
|
-
cached = "0.2.
|
|
79327
|
+
if ("0.2.51".length > 0) {
|
|
79328
|
+
cached = "0.2.51";
|
|
79329
79329
|
return cached;
|
|
79330
79330
|
}
|
|
79331
79331
|
cached = "unknown";
|
|
@@ -427,8 +427,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
427
427
|
var cached;
|
|
428
428
|
function substrateSelfVersion() {
|
|
429
429
|
if (cached !== void 0) return cached;
|
|
430
|
-
if ("0.2.
|
|
431
|
-
cached = "0.2.
|
|
430
|
+
if ("0.2.51".length > 0) {
|
|
431
|
+
cached = "0.2.51";
|
|
432
432
|
return cached;
|
|
433
433
|
}
|
|
434
434
|
cached = "unknown";
|
|
@@ -79783,8 +79783,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79783
79783
|
var cached;
|
|
79784
79784
|
function substrateSelfVersion() {
|
|
79785
79785
|
if (cached !== void 0) return cached;
|
|
79786
|
-
if ("0.2.
|
|
79787
|
-
cached = "0.2.
|
|
79786
|
+
if ("0.2.51".length > 0) {
|
|
79787
|
+
cached = "0.2.51";
|
|
79788
79788
|
return cached;
|
|
79789
79789
|
}
|
|
79790
79790
|
cached = "unknown";
|
|
@@ -864,8 +864,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
864
864
|
var cached;
|
|
865
865
|
function substrateSelfVersion() {
|
|
866
866
|
if (cached !== void 0) return cached;
|
|
867
|
-
if ("0.2.
|
|
868
|
-
cached = "0.2.
|
|
867
|
+
if ("0.2.51".length > 0) {
|
|
868
|
+
cached = "0.2.51";
|
|
869
869
|
return cached;
|
|
870
870
|
}
|
|
871
871
|
cached = "unknown";
|
|
@@ -88240,8 +88240,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
88240
88240
|
var cached;
|
|
88241
88241
|
function substrateSelfVersion() {
|
|
88242
88242
|
if (cached !== void 0) return cached;
|
|
88243
|
-
if ("0.2.
|
|
88244
|
-
cached = "0.2.
|
|
88243
|
+
if ("0.2.51".length > 0) {
|
|
88244
|
+
cached = "0.2.51";
|
|
88245
88245
|
return cached;
|
|
88246
88246
|
}
|
|
88247
88247
|
cached = "unknown";
|
|
@@ -9393,8 +9393,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
9393
9393
|
var cached;
|
|
9394
9394
|
function substrateSelfVersion() {
|
|
9395
9395
|
if (cached !== void 0) return cached;
|
|
9396
|
-
if ("0.2.
|
|
9397
|
-
cached = "0.2.
|
|
9396
|
+
if ("0.2.51".length > 0) {
|
|
9397
|
+
cached = "0.2.51";
|
|
9398
9398
|
return cached;
|
|
9399
9399
|
}
|
|
9400
9400
|
cached = "unknown";
|
|
@@ -88825,8 +88825,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
88825
88825
|
var cached;
|
|
88826
88826
|
function substrateSelfVersion() {
|
|
88827
88827
|
if (cached !== void 0) return cached;
|
|
88828
|
-
if ("0.2.
|
|
88829
|
-
cached = "0.2.
|
|
88828
|
+
if ("0.2.51".length > 0) {
|
|
88829
|
+
cached = "0.2.51";
|
|
88830
88830
|
return cached;
|
|
88831
88831
|
}
|
|
88832
88832
|
cached = "unknown";
|
|
@@ -9978,8 +9978,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
9978
9978
|
var cached;
|
|
9979
9979
|
function substrateSelfVersion() {
|
|
9980
9980
|
if (cached !== void 0) return cached;
|
|
9981
|
-
if ("0.2.
|
|
9982
|
-
cached = "0.2.
|
|
9981
|
+
if ("0.2.51".length > 0) {
|
|
9982
|
+
cached = "0.2.51";
|
|
9983
9983
|
return cached;
|
|
9984
9984
|
}
|
|
9985
9985
|
cached = "unknown";
|
|
@@ -79288,8 +79288,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
79288
79288
|
var cached;
|
|
79289
79289
|
function substrateSelfVersion() {
|
|
79290
79290
|
if (cached !== void 0) return cached;
|
|
79291
|
-
if ("0.2.
|
|
79292
|
-
cached = "0.2.
|
|
79291
|
+
if ("0.2.51".length > 0) {
|
|
79292
|
+
cached = "0.2.51";
|
|
79293
79293
|
return cached;
|
|
79294
79294
|
}
|
|
79295
79295
|
cached = "unknown";
|
|
@@ -389,8 +389,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
389
389
|
var cached;
|
|
390
390
|
function substrateSelfVersion() {
|
|
391
391
|
if (cached !== void 0) return cached;
|
|
392
|
-
if ("0.2.
|
|
393
|
-
cached = "0.2.
|
|
392
|
+
if ("0.2.51".length > 0) {
|
|
393
|
+
cached = "0.2.51";
|
|
394
394
|
return cached;
|
|
395
395
|
}
|
|
396
396
|
cached = "unknown";
|
|
@@ -1667,8 +1667,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
1667
1667
|
var cached;
|
|
1668
1668
|
function substrateSelfVersion() {
|
|
1669
1669
|
if (cached !== void 0) return cached;
|
|
1670
|
-
if ("0.2.
|
|
1671
|
-
cached = "0.2.
|
|
1670
|
+
if ("0.2.51".length > 0) {
|
|
1671
|
+
cached = "0.2.51";
|
|
1672
1672
|
return cached;
|
|
1673
1673
|
}
|
|
1674
1674
|
cached = "unknown";
|
|
@@ -1630,8 +1630,8 @@ var PKG_NAME = "@databricks-solutions/lakebase-scm-utils";
|
|
|
1630
1630
|
var cached;
|
|
1631
1631
|
function substrateSelfVersion() {
|
|
1632
1632
|
if (cached !== void 0) return cached;
|
|
1633
|
-
if ("0.2.
|
|
1634
|
-
cached = "0.2.
|
|
1633
|
+
if ("0.2.51".length > 0) {
|
|
1634
|
+
cached = "0.2.51";
|
|
1635
1635
|
return cached;
|
|
1636
1636
|
}
|
|
1637
1637
|
cached = "unknown";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks-solutions/lakebase-scm-utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.51",
|
|
4
4
|
"description": "Lakebase SCM + substrate engine: database branching, paired-branch SCM workflows, connection/credential minting, schema migration, project scaffold + deploy primitives, and the git/github utility layer. Extracted from consort for portable, standalone consumption by lakebase-scm-extension and the SFTDD orchestration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -257,9 +257,8 @@ export async function createProject(
|
|
|
257
257
|
? `${input.githubOwner}/${input.projectName}`
|
|
258
258
|
: "";
|
|
259
259
|
|
|
260
|
-
//
|
|
261
|
-
//
|
|
262
|
-
// like a hang. (Each step below also reports as it runs.)
|
|
260
|
+
// State what the one-time provisioning creates up front; each step below reports as it
|
|
261
|
+
// runs. Say what is happening, not how long it takes (no duration/ETA/slow framing).
|
|
263
262
|
{
|
|
264
263
|
const usesGithub = !!input.githubOwner && input.createGithubRepo !== false;
|
|
265
264
|
const tierCount = input.tiers ?? 1;
|
|
@@ -271,9 +270,8 @@ export async function createProject(
|
|
|
271
270
|
tierCount > 1 ? `${tierCount} tiers (prod${tierCount >= 2 ? " + staging" : ""}${tierCount >= 3 ? " + dev" : ""})` : null,
|
|
272
271
|
].filter(Boolean);
|
|
273
272
|
report(
|
|
274
|
-
`Setting up "${input.projectName}"
|
|
275
|
-
`
|
|
276
|
-
`Then the Consort toolkit downloads on first use (~1-2 min, one-time). Progress:`,
|
|
273
|
+
`Setting up "${input.projectName}". This creates: ${bits.join(", ")}. ` +
|
|
274
|
+
`The Consort toolkit downloads on first use. Progress:`,
|
|
277
275
|
);
|
|
278
276
|
}
|
|
279
277
|
|
|
@@ -342,7 +340,7 @@ export async function createProject(
|
|
|
342
340
|
}
|
|
343
341
|
|
|
344
342
|
// ── Step 3: Lakebase project ──────────────────────────────────
|
|
345
|
-
report("Creating Lakebase database (provisioning Postgres
|
|
343
|
+
report("Creating Lakebase database (provisioning Postgres)...", lakebaseProjectId);
|
|
346
344
|
await createLakebaseProject({ projectId: lakebaseProjectId, host });
|
|
347
345
|
|
|
348
346
|
// From here on the Lakebase project EXISTS. If any later step throws, roll it
|
|
@@ -457,7 +455,7 @@ export async function createProject(
|
|
|
457
455
|
|
|
458
456
|
// ── Step 7: Self-hosted runner (GitHub + self-hosted only) ────
|
|
459
457
|
if (useGithub && runnerType === "self-hosted") {
|
|
460
|
-
report("Setting up the self-hosted CI runner
|
|
458
|
+
report("Setting up the self-hosted CI runner: downloading, extracting, and registering it...");
|
|
461
459
|
try {
|
|
462
460
|
await setupRunner({
|
|
463
461
|
fullRepoName,
|
|
@@ -572,8 +570,8 @@ export async function createProject(
|
|
|
572
570
|
}
|
|
573
571
|
}
|
|
574
572
|
report(
|
|
575
|
-
"Consort toolkit downloads on first use
|
|
576
|
-
"or just your first `./scripts/lk` command, and it installs then
|
|
573
|
+
"The Consort toolkit downloads on first use , run `./scripts/lk --refresh`, " +
|
|
574
|
+
"or just your first `./scripts/lk` command, and it installs then.",
|
|
577
575
|
);
|
|
578
576
|
}
|
|
579
577
|
|
|
@@ -15,6 +15,10 @@ application-local.properties
|
|
|
15
15
|
.consort/agent-log.jsonl
|
|
16
16
|
.consort/run-config.json
|
|
17
17
|
.consort/drive-live.log
|
|
18
|
+
# The detached drive's live pid file (consort-drive --detach writes it, consort-watch reads it).
|
|
19
|
+
# Per-run scratch; an untracked drive.pid otherwise re-dirties the tree and re-blocks the next
|
|
20
|
+
# experiment cut's clean-tree check.
|
|
21
|
+
.consort/drive.pid
|
|
18
22
|
.consort/diagnostics/
|
|
19
23
|
# next.json is the drive's stop-state pointer, rewritten on EVERY stop. Committing it dirties the
|
|
20
24
|
# tree on the next stop and re-blocks the experiment cut's clean-tree check , it is per-run state,
|
|
@@ -46,6 +50,9 @@ application-local.properties
|
|
|
46
50
|
.consort/.recorder-state.json
|
|
47
51
|
.consort/routing-decisions.jsonl
|
|
48
52
|
.consort/turns/
|
|
53
|
+
# Playwright-MCP's browser scratch (screenshots/traces a UX/review turn drops). Transient
|
|
54
|
+
# tool output, not corpus; ignore it so it never dirties the tree before an experiment cut.
|
|
55
|
+
.playwright-mcp/
|
|
49
56
|
.sftdd/agent-log.jsonl
|
|
50
57
|
.sftdd/run-config.json
|
|
51
58
|
.tdd/agent-log.jsonl
|