coleam00/Archon · error
GitLabAdapter requires a non-empty webhookSecret
Error message
GitLabAdapter requires a non-empty webhookSecret
What it means
Error "GitLabAdapter requires a non-empty webhookSecret" thrown in coleam00/Archon.
Source
Thrown at packages/adapters/src/community/forge/gitlab/adapter.ts:74
private readonly gitlabUrl: string;
private readonly token: string;
private readonly webhookSecret: string;
private readonly allowedUsers: string[];
private readonly botMention: string;
private readonly lockManager: ConversationLocker;
constructor(
token: string,
webhookSecret: string,
lockManager: ConversationLocker,
gitlabUrl?: string,
botMention?: string
) {
if (!token) {
throw new Error('GitLabAdapter requires a non-empty token');
}
if (!webhookSecret) {
throw new Error('GitLabAdapter requires a non-empty webhookSecret');
}
this.gitlabUrl = (gitlabUrl ?? 'https://gitlab.com').replace(/\/+$/, '');
this.token = token;
this.webhookSecret = webhookSecret;
this.lockManager = lockManager;
this.botMention = botMention ?? 'Archon';
this.allowedUsers = parseAllowedUsers(process.env.GITLAB_ALLOWED_USERS);
if (this.allowedUsers.length > 0) {
getLog().info({ userCount: this.allowedUsers.length }, 'gitlab.whitelist_enabled');
} else {
getLog().info('gitlab.whitelist_disabled');
}
getLog().info(
{ botMention: this.botMention, gitlabUrl: this.gitlabUrl },
'gitlab.adapter_initialized'View on GitHub (pinned to 0773b97458)
When it happens
Trigger: Thrown at packages/adapters/src/community/forge/gitlab/adapter.ts:74 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of coleam00/Archon@0773b97458 (2026-09-01).
Data as JSON: /api/errors/202a9b9004a316fb.
Report an issue: GitHub.