diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/git/authorization.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/git/authorization.rs b/src/git/authorization.rs index e7ea99b..fbddb98 100644 --- a/src/git/authorization.rs +++ b/src/git/authorization.rs | |||
| @@ -134,8 +134,13 @@ pub async fn authorize_push( | |||
| 134 | e | 134 | e |
| 135 | ))); | 135 | ))); |
| 136 | } | 136 | } |
| 137 | |||
| 138 | // Create placeholder for git-data-first scenario | ||
| 139 | // This allows cleanup if the PR event never arrives | ||
| 140 | purgatory.add_pr_placeholder(event_id_hex.to_string(), new_oid.clone()); | ||
| 141 | |||
| 137 | debug!( | 142 | debug!( |
| 138 | "No purgatory entry for {} - validated against database", | 143 | "Created placeholder for {} - awaiting PR event (will expire in 30min if event doesn't arrive)", |
| 139 | event_id_hex | 144 | event_id_hex |
| 140 | ); | 145 | ); |
| 141 | } | 146 | } |