feat: add git sync support for workspace dependencies (#8144)

* feat: add git sync support for workspace dependencies

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: implement git sync for workspace dependencies

Signed-off-by: pyranota <pyra@duck.com>

* remove deno.lock

Signed-off-by: pyranota <pyra@duck.com>

* update ee

Signed-off-by: pyranota <pyra@duck.com>

* add tests to cli

Signed-off-by: pyranota <pyra@duck.com>

* sqlx

* chore: update ee-repo-ref to 09dfb247f6f59c61b7f2431932c4557fb26c22d8

This commit updates the EE repository reference after PR #446 was merged in windmill-ee-private.

Previous ee-repo-ref: 8a8832ae5d7efab85b3a57a740308ececa0e2aac

New ee-repo-ref: 09dfb247f6f59c61b7f2431932c4557fb26c22d8

Automated by sync-ee-ref workflow.

* fix test

---------

Signed-off-by: pyranota <pyra@duck.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Pyra <92104930+pyranota@users.noreply.github.com>
Co-authored-by: pyranota <pyra@duck.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
This commit is contained in:
Ruben Fiszel
2026-03-10 11:29:11 +00:00
committed by GitHub
co-authored by Claude Opus 4.6 Pyra pyranota windmill-internal-app[bot]
parent 5bc3507e25
commit e3d26dc589
17 changed files with 1128 additions and 28 deletions
@@ -33,6 +33,7 @@ export class GitSyncSettingsConverter {
includeGroups: includeTypes.includes("group"),
includeSettings: includeTypes.includes("settings"),
includeKey: includeTypes.includes("key"),
skipWorkspaceDependencies: !includeTypes.includes("workspacedependencies"),
};
// Only include extraIncludes if it has content
@@ -61,6 +62,7 @@ export class GitSyncSettingsConverter {
if (opts.includeGroups) includeTypes.push("group");
if (opts.includeSettings) includeTypes.push("settings");
if (opts.includeKey) includeTypes.push("key");
if (!opts.skipWorkspaceDependencies) includeTypes.push("workspacedependencies");
const result: BackendGitSyncSettings = {
include_path: opts.includes || [],
@@ -99,6 +101,7 @@ export class GitSyncSettingsConverter {
includeGroups: opts.includeGroups ?? false,
includeSettings: opts.includeSettings ?? false,
includeKey: opts.includeKey ?? false,
skipWorkspaceDependencies: opts.skipWorkspaceDependencies ?? false,
};
}
@@ -122,6 +125,7 @@ export class GitSyncSettingsConverter {
includeGroups: opts.includeGroups,
includeSettings: opts.includeSettings,
includeKey: opts.includeKey,
skipWorkspaceDependencies: opts.skipWorkspaceDependencies,
};
}
@@ -37,6 +37,7 @@ export const GIT_SYNC_FIELDS = [
"includeGroups",
"includeSettings",
"includeKey",
"skipWorkspaceDependencies",
] as const;
export type GitSyncField = typeof GIT_SYNC_FIELDS[number];
@@ -57,6 +58,7 @@ export const INCLUDE_TYPE_MAPPINGS = {
group: "includeGroups",
settings: "includeSettings",
key: "includeKey",
workspacedependencies: "skipWorkspaceDependencies",
} as const;
// Write mode for branch-based configuration