@cat-factory/gitlab 0.23.17 → 0.23.19
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.
|
@@ -12,7 +12,7 @@ export interface FetchGitLabClientDependencies {
|
|
|
12
12
|
/**
|
|
13
13
|
* Warned when a listing hits the {@link MAX_PAGES} page cap with more results still available,
|
|
14
14
|
* and when a read falls back to a deprecated endpoint — so a truncated sync is surfaced rather
|
|
15
|
-
* than silently dropped (
|
|
15
|
+
* than silently dropped (AGENTS.md "no silent caps"). Optional so the client stays constructible
|
|
16
16
|
* standalone in a unit test; normalised ONCE to `noopLogger`, never null-checked per call. The
|
|
17
17
|
* FACADE-facing builders in `index.ts` take it as REQUIRED, which is what stops a composition
|
|
18
18
|
* root from quietly running the whole GitLab path on a no-op.
|
|
@@ -21,7 +21,7 @@ export interface FetchGitLabClientDependencies {
|
|
|
21
21
|
}
|
|
22
22
|
export declare class FetchGitLabClient implements VcsClient {
|
|
23
23
|
private readonly deps;
|
|
24
|
-
/** Normalised once (
|
|
24
|
+
/** Normalised once (AGENTS.md's logging convention), so no call site null-checks the sink. */
|
|
25
25
|
private readonly log;
|
|
26
26
|
constructor(deps: FetchGitLabClientDependencies);
|
|
27
27
|
listRepos(connection: VcsConnectionRef): Promise<Paged<GitHubRepo>>;
|
|
@@ -18,7 +18,7 @@ const REBASE_POLL_ATTEMPTS = 30;
|
|
|
18
18
|
const REBASE_POLL_INTERVAL_MS = 1000;
|
|
19
19
|
export class FetchGitLabClient {
|
|
20
20
|
deps;
|
|
21
|
-
/** Normalised once (
|
|
21
|
+
/** Normalised once (AGENTS.md's logging convention), so no call site null-checks the sink. */
|
|
22
22
|
log;
|
|
23
23
|
constructor(deps) {
|
|
24
24
|
this.deps = deps;
|
|
@@ -739,7 +739,7 @@ export class FetchGitLabClient {
|
|
|
739
739
|
// No advance, no error ⇒ already up to date (a clean no-op).
|
|
740
740
|
return 'merged';
|
|
741
741
|
}
|
|
742
|
-
// Still in progress after the cap: surface it (
|
|
742
|
+
// Still in progress after the cap: surface it (AGENTS.md "no silent caps") and treat the
|
|
743
743
|
// branch as updated — a genuine conflict still surfaces on the gate's next mergeability
|
|
744
744
|
// probe, so we never wedge the gate on a slow rebase.
|
|
745
745
|
this.deps.logger?.warn(`GitLab MR !${number} rebase still in progress after ${REBASE_POLL_ATTEMPTS} polls; treating as updated.`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/gitlab",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.19",
|
|
4
4
|
"description": "Opt-in GitLab VCS provider for cat-factory. Implements the provider-neutral VcsClient / webhook / provisioning ports against the GitLab REST v4 API and registers itself via registerVcsProvider('gitlab'). Depends only on @cat-factory/kernel + @cat-factory/contracts.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@cat-factory/contracts": "0.356.0",
|
|
28
|
-
"@cat-factory/kernel": "0.
|
|
28
|
+
"@cat-factory/kernel": "0.351.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"typescript": "7.0.2",
|