GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — bug: RBAC loader logs "plugin found but failed to load" when @triggerdotdev/plugins is simply not installed · Issue #5083 · triggerdotdev/trigger.dev Open DescriptionProvide environment informationSelf-hosted, official Helm chart Describe the bugOn every webapp boot a self-hosted instance logs this at error level: The plugin was not found, it is simply not installed. Per the comments in the loader, that case should be silent unless The cause is the check that tells the two cases apart (rbac/src/index.ts#L167-L209): const moduleName = "@triggerdotdev/plugins/rbac"; // ... const isPluginItselfMissing = isModuleNotFound && message.includes(moduleName); When the whole package is absent, Node's error names only the package, not the subpath: The SSO and billing loaders use the same check (sso/src/index.ts#L60-L93, billing/src/index.ts#L78). We only saw the RBAC line, presumably because those load lazily. The code is unchanged on Expected: no error log when Reproduction repoN/A: reproduces with the official chart/image; code links above. To reproduce
Suggested fixAlso accept the quoted package name when deciding whether the plugin itself is missing, e.g. const isPluginItselfMissing = isModuleNotFound && (message.includes(moduleName) || message.includes("'@triggerdotdev/plugins'")); and the same in the SSO and billing loaders. Matching the quoted name, not the bare one, keeps a broken plugin loud: if an installed plugin's own dependency is missing, the message quotes that dependency's name, and Additional informationHarmless at runtime (the fallback is the documented self-hosted behaviour), but an error-level line on every boot sends self-hosters looking for a broken install. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |