Skip to content

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Oct 12, 2025

Regarding GPG_BIN:

1. A GPG client. By default it will look at the `GPG_BIN` environment variable,
and fallback to `gpg` if not provided.

Caching getMergedConfig as it typically gets called 4 times when starting git-node:

Error: Encrypted config detected, spawning gpg to decrypt it...
    at getConfig (…/lib/config.js:32:18)
    at getMergedConfig (…/lib/config.js:22:24)
    at …/components/git/metadata.js:11:16
    at ModuleJob.run (node:internal/modules/esm/module_job:345:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:651:26)
    at async Promise.all (index 2)
Error: Encrypted config detected, spawning gpg to decrypt it...
    at getConfig (…/lib/config.js:32:18)
    at getMergedConfig (…/lib/config.js:22:24)
    at auth (…/lib/auth.js:73:30)
    at …/lib/auth.js:39:19
    at main (…/components/git/land.js:167:29)
    at land (…/components/git/land.js:158:21)
    at Object.handler (…/components/git/land.js:143:12)
    at …/node_modules/yargs/build/lib/command.js:206:54
    at maybeAsyncResult (…/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at CommandInstance.handleValidationAndGetResult (…/node_modules/yargs/build/lib/command.js:205:25)
Error: Encrypted config detected, spawning gpg to decrypt it...
    at getConfig (…/lib/config.js:32:18)
    at getMergedConfig (…/lib/config.js:22:24)
    at proxy (…/lib/proxy.js:9:18)
    at new Request (…/lib/request.js:22:23)
    at main (…/components/git/land.js:170:15)
Error: Encrypted config detected, spawning gpg to decrypt it...
    at getConfig (…/lib/config.js:32:18)
    at getMergedConfig (…/lib/config.js:22:24)
    at new Session (…/lib/session.js:22:24)
    at new LandingSession (…/lib/landing_session.js:25:5)
    at main (…/components/git/land.js:171:17)

Copy link

codecov bot commented Oct 13, 2025

Codecov Report

❌ Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.77%. Comparing base (9b642b0) to head (926f90d).

Files with missing lines Patch % Lines
lib/config.js 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #991      +/-   ##
==========================================
+ Coverage   79.73%   79.77%   +0.03%     
==========================================
  Files          39       39              
  Lines        4664     4672       +8     
==========================================
+ Hits         3719     3727       +8     
  Misses        945      945              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants