mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 08:01:38 +00:00
f9a547b8b8
* fix(forks): tally fork changes when a deploy's lock job fails Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(forks): tally fork changes even when deploy_to is unset Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * chore: bump ee-repo-ref to the fork tally companion commit Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(forks): never tally a dependency deploy twice Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(forks): pin the ahead tally for a fork with no deploy_to Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(forks): cover the dedup case and commit the offline query cache Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(forks): let the tally settle before asserting the dedup count Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(forks): key the ahead tally on the fork lineage, not deploy_to Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * chore: update ee-repo-ref to caf6abc45afd910620ef66f7550c076c18ca4589 This commit updates the EE repository reference after PR #693 was merged in windmill-ee-private. Previous ee-repo-ref: d5c6ee8b774993aa341196746d141107aa4567d1 New ee-repo-ref: caf6abc45afd910620ef66f7550c076c18ca4589 Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
59 lines
1.4 KiB
Rust
59 lines
1.4 KiB
Rust
#[cfg(feature = "private")]
|
|
#[allow(unused)]
|
|
pub use crate::git_sync_ee::*;
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
use windmill_common::error::Result;
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
use crate::{DeployedObject, DB};
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
pub async fn handle_deployment_metadata<'c>(
|
|
_email: &str,
|
|
_created_by: &str,
|
|
_db: &DB,
|
|
_w_id: &str,
|
|
_obj: DeployedObject,
|
|
_deployment_message: Option<String>,
|
|
_skip_db_insert: bool,
|
|
_renamed_from: Option<&str>,
|
|
) -> Result<()> {
|
|
// Git sync is an enterprise feature and not part of the open-source version
|
|
return Ok(());
|
|
}
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
pub async fn tally_deployed_object_changes(
|
|
_w_id: &str,
|
|
_obj: &DeployedObject,
|
|
_db: &DB,
|
|
_renamed_from: Option<&str>,
|
|
) -> Result<()> {
|
|
// Workspace forks are an enterprise feature and not part of the open-source version
|
|
return Ok(());
|
|
}
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
pub async fn handle_fork_branch_creation<'c>(
|
|
_email: &str,
|
|
_created_by: &str,
|
|
_db: &DB,
|
|
_w_id: &str,
|
|
_fork_workspace_id: &str,
|
|
) -> Result<Vec<uuid::Uuid>> {
|
|
return Ok(vec![]);
|
|
}
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
pub async fn handle_deployment_metadata_batch<'c>(
|
|
_email: &str,
|
|
_created_by: &str,
|
|
_db: &DB,
|
|
_w_id: &str,
|
|
_objs: Vec<DeployedObject>,
|
|
_deployment_message: Option<String>,
|
|
) -> Result<()> {
|
|
return Ok(());
|
|
}
|