Skip to content

fix: circuit breaker silent mode not working for in-mem snapshot#219

Merged
petruki merged 1 commit intomasterfrom
staging
May 6, 2026
Merged

fix: circuit breaker silent mode not working for in-mem snapshot#219
petruki merged 1 commit intomasterfrom
staging

Conversation

@petruki
Copy link
Copy Markdown
Member

@petruki petruki commented May 6, 2026

This pull request includes several updates focused on dependency management, workflow improvements, and minor codebase adjustments. The main highlights are dependency upgrades for development tools, updates to CI workflows, and some small code and configuration changes.

Circuit Breaker - Silent Mode using in-memory Snapshot
This was fixed by moving the remote module initialization before Context option during context build, which includes silent-mode settings.

Dependency and Configuration Updates:

  • Upgraded development dependencies in package.json, including @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, and sinon, to their latest versions for improved linting and testing support. Also fixed the repository URL to use the .git suffix.
  • Added ignore-scripts=true to .npmrc to prevent npm from running package lifecycle scripts, which can improve security in CI/CD environments.

CI/CD Workflow Improvements:

  • Updated the SonarCloud scan GitHub Actions in both .github/workflows/master.yml and .github/workflows/sonar.yml to use sonarsource/sonarqube-scan-action@v8.0.0 instead of v7.0.0, ensuring the latest features and fixes are used in code analysis. [1] [2]

Minor Code and Documentation Changes:

  • Changed the initialization order of Auth.init in the Client class constructor in src/client.js to ensure authentication is set up before options are built.
  • Modified the assume method in Bypasser (src/lib/bypasser/index.js) to call Bypasser.forget(key) before creating a new bypassed key, ensuring old keys are removed before adding new ones.
  • Removed the Snyk vulnerability badge from README.md and removed the patreon entry from .github/FUNDING.yml for documentation and funding clarity. [1] [2]

@petruki petruki added this to the v4.5.1 milestone May 6, 2026
@petruki petruki self-assigned this May 6, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@petruki petruki merged commit 1236918 into master May 6, 2026
13 checks passed
@petruki petruki deleted the staging branch May 6, 2026 00:10
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.

1 participant