santifer/career-ops · info

⚠️ : skipping

Error message

⚠️  ${label}: skipping — ${reason}

What it means

warnSkip in the plugin engine prints a standardized notice that a plugin (or an environment/credential set identified by `label`) is being skipped, with a human-readable `reason`. It is purely informational output used by the engine's gating logic — it does not throw and does not stop other plugins from running.

Solutions

  1. Read the `reason` part of the message — it states the exact unmet precondition.
  2. Provide the missing credentials/config for that plugin if you want it to run.
  3. If the skip is intentional (e.g. AWS_* vars are used by something else), it is safe to ignore; the engine continues with the remaining plugins.

Example fix

// before
// ⚠️  gmail: skipping — missing credentials
// after: configure the plugin's env, then re-run
GMAIL_CREDENTIALS_PATH=./creds.json node plugin-runner.mjs
Defensive patterns

Strategy: validation

Validate before calling

for (const name of plugin.requiredEnv || []) {
  if (!process.env[name]) console.warn(`⚠️  ${plugin.label}: skipping — missing env ${name}`);
}

Prevention

When it happens

Trigger: The engine evaluates a plugin/entry and its preconditions fail: required credentials absent (including reserved AWS_* env vars via isReservedEnv), a dependency unavailable, or configuration marking the plugin disabled — each produces a warnSkip call.

Common situations: Running the gmail plugin without Google credentials; AWS_* variables present in the environment triggering the reserved-env guard; a plugin requiring an optional integration that isn't configured.

Understand the failure class

Background: "missing required config value" errors: why libraries refuse to start when a configuration key is empty, unset, or blank — this error's family across 48 libraries.

Related errors


AI-assisted analysis of santifer/career-ops@aac998c7ed (2026-09-16). Data as JSON: /api/errors/d480811f0afbc291. Report an issue: GitHub.

Appendix: source

Thrown at plugins/_engine.mjs:62

export const RESERVED_ENV = new Set([
  'GEMINI_API_KEY', 'GEMINI_MODEL',
  'OPENROUTER_API_KEY', 'CAREER_OPS_MODEL',
  'OPENAI_API_KEY', 'OPENAI_BASE_URL', 'OPENAI_MODEL',
  'ANTHROPIC_API_KEY',
  'CAREER_OPS_PORTALS', 'CAREER_OPS_PROFILE',
  'PATH', 'HOME', 'NODE_OPTIONS', 'LD_PRELOAD', 'NODE_EXTRA_CA_CERTS',
]);

const ID_RE = /^[a-z0-9][a-z0-9-]*$/;
const DEFAULT_HOOK_TIMEOUT_MS = 15_000;
const MAX_REDIRECTS = 5;

function isReservedEnv(name) {
  return RESERVED_ENV.has(name) || /^AWS_/.test(name);
}

function warnSkip(label, reason) {
  console.warn(`⚠️  ${label}: skipping — ${reason}`);
}

function isWithinDirectory(rootAbs, candidateAbs) {
  const rel = path.relative(rootAbs, candidateAbs);
  return rel === '' || (!rel.startsWith(`..${path.sep}`) && rel !== '..' && !path.isAbsolute(rel));
}

function nearestExistingPath(absPath) {
  let current = path.resolve(absPath);
  while (!existsSync(current)) {
    const parent = path.dirname(current);
    if (parent === current) return null;
    current = parent;
  }
  return current;
}

function isSafePluginPath(rootAbs, candidateAbs) {

View on GitHub (pinned to aac998c7ed)