feat: on behalf of (#5058)

* feat: on behalf of

* fix

* revert mistakke

* temp ee ref

* renaming + CLI

* sqlx

* nits + ee ref
This commit is contained in:
HugoCasa
2025-01-14 18:32:25 +01:00
committed by GitHub
parent 9152b237c5
commit 175379fbe9
56 changed files with 947 additions and 361 deletions
+3 -1
View File
@@ -309,6 +309,7 @@ export async function handleFile(
//@ts-ignore
codebase: codebase?.digest,
timeout: typed?.timeout,
on_behalf_of_email: typed?.on_behalf_of_email,
};
if (remote) {
@@ -343,7 +344,8 @@ export async function handleFile(
typed.timeout == remote.timeout &&
//@ts-ignore
typed.concurrency_key == remote["concurrency_key"] &&
typed.codebase == remote.codebase)
typed.codebase == remote.codebase &&
typed.on_behalf_of_email == remote.on_behalf_of_email)
) {
log.info(colors.green(`Script ${remotePath} is up to date`));
return true;