Skip to content

Bump dotenv from 16.6.1 to 17.2.3#162

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dotenv-17.2.3
Closed

Bump dotenv from 16.6.1 to 17.2.3#162
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dotenv-17.2.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 10, 2025

Bumps dotenv from 16.6.1 to 17.2.3.

Changelog

Sourced from dotenv's changelog.

17.2.3 (2025-09-29)

Changed

  • Fixed typescript error definition (#912)

17.2.2 (2025-09-02)

Added

  • 🙏 A big thank you to new sponsor Tuple.app - the premier screen sharing app for developers on macOS and Windows. Go check them out. It's wonderful and generous of them to give back to open source by sponsoring dotenv. Give them some love back.

17.2.1 (2025-07-24)

Changed

  • Fix clickable tip links by removing parentheses (#897)

17.2.0 (2025-07-09)

Added

  • Optionally specify DOTENV_CONFIG_QUIET=true in your environment or .env file to quiet the runtime log (#889)
  • Just like dotenv any DOTENV_CONFIG_ environment variables take precedence over any code set options like ({quiet: false})
# .env
DOTENV_CONFIG_QUIET=true
HELLO="World"
// index.js
require('dotenv').config()
console.log(`Hello ${process.env.HELLO}`)
$ node index.js
Hello World
or
$ DOTENV_CONFIG_QUIET=true node index.js

17.1.0 (2025-07-07)

Added

  • Add additional security and configuration tips to the runtime log (#884)
  • Dim the tips text from the main injection information text

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.6.1 to 17.2.3.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v16.6.1...v17.2.3)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-version: 17.2.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 10, 2025
@joelteply joelteply closed this Nov 20, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Nov 20, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/dotenv-17.2.3 branch November 20, 2025 00:29
joelteply added a commit that referenced this pull request Jun 3, 2026
… Arc-native registry refactor

Per Joel 2026-06-03 ("Elegant intentional architecture not wrapped
hacks") + the shim that landed in slice 1D (#161): the doc-comment
on ArcAdapterShim now explicitly names task #162 as the proper
architectural fix (AdapterRegistry stores Arc<dyn ...> natively,
trait drops vestigial &mut self lifecycle methods, shim deleted).

No code change — debt tagged at its source so future-me cannot
mistake the shim for the intentional architecture and walk past
the refactor.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
joelteply added a commit that referenced this pull request Jun 3, 2026
…ely — ArcAdapterShim deleted (task #162)

Per Joel 2026-06-03 ("Elegant intentional architecture not wrapped
hacks"): the registry now stores Arc directly. The transitional
ArcAdapterShim from slice 1D (#161) is gone. Every register site
flipped to the init-then-register pattern.

## What changed in `ai/adapter.rs`

- `AdapterRegistry::adapters` is now
  `HashMap<String, Arc<dyn AIProviderAdapter>>` (was `Box`). Shared
  ownership is the production reality: supervisor + service_loop +
  cognition layer + future shared-base + LoRA paging (#122) all see
  the same instance. The registry is one of those holders, not the
  owner.
- `register(adapter: Arc<dyn AIProviderAdapter>, priority)` —
  caller has already called `initialize()` on the adapter. The
  registry trusts that registered adapters are ready to serve.
- New `get_arc(provider_id) -> Option<Arc<dyn ...>>` for callers
  that need to hold the reference past the read-lock scope
  (cognition's `evaluate_response` reads the adapter from the
  registry and holds it across the inference call so the read
  lock can drop). Cheap refcount bump.
- DELETED `get_mut` — no callers; meaningless on shared Arcs.
- DELETED `initialize_all` — registry doesn't do lifecycle.
- DELETED `shutdown_all` — same (and had zero callers).
- DELETED `ArcAdapterShim` (the slice-1D wrapper) + `register_arc`
  convenience method. The shim's doc-comment named this refactor;
  this commit honors that.

## Init-then-register pattern at the boot sites

`modules/ai_provider.rs::initialize`:

- 8 cloud-API adapters: each block becomes
  `let mut a = X::new(); match a.initialize().await { Ok => register(Arc::new(a), p), Err => log warn }`.
  On init failure we surface and skip; per
  [[no-fallbacks-ever]] no silent substitution.
- In-process llama.cpp adapter: same shape — `adapter.initialize()`
  inline, then `registry.register(Arc::new(adapter), 0)`.
- DMR adapter init + watchdog re-register: `build_dmr_adapter`
  returns a `Box<dyn ...>` (so the watchdog can call `initialize()`
  on the owned, sized handle), then `registry.register(Arc::from(box), 1)`
  flips Box→Arc in zero-copy.
- Removed `registry.initialize_all().await?` — each adapter is
  initialized inline above before registration.

`modules/agent.rs::ensure_adapter_registered`:

- 5 cloud-API adapters: same init-then-register pattern.
- Removed `registry.initialize_all().await?`.
- Added `AIProviderAdapter` to the imports so the `initialize`
  trait method is in scope at call sites.

`ai/heuristic_adapter.rs` test:

- `register(Box::new(...))` → `register(std::sync::Arc::new(...))`.

`persona/supervisor.rs::materialize_adapters`:

- `registry.register_arc(adapter.clone(), slot_index)` →
  `registry.register(adapter.clone(), slot_index)`. The shim's
  convenience method is gone; `ctx.adapter` is already an Arc.

`bin/airc_chat_demo.rs`: same — `register_arc` → `register`.

`ai/mod.rs` module doc: usage example updated to the
init-then-register pattern with `Arc::new`.

`inference/handle_module.rs:251-263`: the comment that mentioned
"AdapterRegistry stores Box<dyn ...>" updated to reflect Arc-native
storage + `get_arc()` accessor. Names the migration as a
follow-up cleanup target for that module.

`ai/adapter.rs` inline test stubs (`stub`, `stub_model`) updated
from `Box<dyn ...>` to `Arc<dyn ...>` returns.

## Doctrine the refactor honors

- [[init-once-handle-then-lease-zero-copy-refs]]: initialize at
  boot, register the ready adapter, lease per inference call. No
  registry-side lifecycle methods running over shared handles.
- [[no-fallbacks-ever]]: init failure → log + skip + no
  substitution. The provider doesn't reach "registered" state if
  its initialize fails.
- [[intent-driven-api-not-hot-patches]]: callers say what they
  want (`Arc::new(adapter)` after `initialize()`); no magic shim
  layer in between.

## Test plan

- [x] cargo check --lib → clean
- [x] cargo test --lib ai:: → 48/48 pass
- [x] cargo test --lib inference:: → 250/250 pass
- [x] cargo test --lib persona:: → 724/724 pass (8 still ignored
      from slice 1C — those are blocked on cognition-layer model
      lookup, not adapter wiring; un-ignoring them is a separate
      slice that aligns the analyze + evaluate_response model
      hardcodes with what the test heuristic adapter claims)
- [ ] Full `cargo test --lib` against entire crate skipped: GPU
      metal_monitor tests fail by design on Intel Mac CPU build
      (that's why `mac-cpu-only` feature exists), and
      `docker_tier_pool` integration tests have a pre-existing
      hang unrelated to this refactor. Both are orthogonal to the
      Box→Arc migration.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
joelteply added a commit that referenced this pull request Jun 8, 2026
…ests

Three outdated integration tests broke at the AdapterRegistry-stores-
Arc-natively refactor (task #162) and the scripted_adapter_factory
module-path drift. Pure debt — they don't compile, they don't run,
they accumulate every cycle.

DELETE: tests/multi_persona_stress_baseline.rs

References modules whose pub paths drifted (continuum_core::ai::
HeuristicInferenceAdapter requires the test-fixtures feature;
continuum_core::persona::scripted_adapter_factory + scripted_conversation
moved or never exported). The functionality it was meant to baseline
(supervisor + materialize_adapters + serve_persona_loop under load)
has unit-test coverage in the respective modules. Task #156 marked
this completed at sign-off; the artifact rotted afterward.

FIX (best-effort — Box → Arc at the registry boundary, matches the
exact compiler errors flagged in the audit; needs validation on the
next `cargo test --tests` cycle):

- tests/persona_respond_replay.rs:103 — Box::new(adapter) →
  Arc::new(adapter) for reg.register
- tests/fixture_assembly_replay.rs:509 — Arc::from(adapter) to
  convert the existing Box<dyn AIProviderAdapter> to Arc at the
  register call site

Both tests cover real prod failure modes their headers document
(max_tokens clipping mid-<think>, vision content dropped mid-flight);
keeping them in tree but making them compile is the right move
versus deletion.

Per Joel 2026-06-08: "We should have tests that are efficient in
consolidating logic calls, so less tests with more coverage. And get
rid of outdated stuff yes."

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant