Skip to content

chore(deps): bump docker/login-action from 3 to 4 - #147

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/github_actions/docker/login-action-4
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/github_actions/docker/login-action-4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps docker/login-action from 3 to 4.

Release notes

Sourced from docker/login-action's releases.

v4.0.0

Full Changelog: docker/login-action@v3.7.0...v4.0.0

v3.7.0

Full Changelog: docker/login-action@v3.6.0...v3.7.0

v3.6.0

Full Changelog: docker/login-action@v3.5.0...v3.6.0

v3.5.0

Full Changelog: docker/login-action@v3.4.0...v3.5.0

v3.4.0

Full Changelog: docker/login-action@v3.3.0...v3.4.0

... (truncated)

Commits
  • 650006c Merge pull request #960 from docker/dependabot/npm_and_yarn/aws-sdk-dependenc...
  • 99df1a3 chore: update generated content
  • 3ab375f build(deps): bump the aws-sdk-dependencies group across 1 directory with 2 up...
  • 39d8580 Merge pull request #970 from docker/dependabot/npm_and_yarn/docker/actions-to...
  • 4eefcd3 chore: update generated content
  • 56d092c build(deps): bump @​docker/actions-toolkit from 0.86.0 to 0.90.0
  • e2e31ca Merge pull request #976 from docker/dependabot/npm_and_yarn/actions/core-3.0.1
  • 0bced94 chore: update generated content
  • 3e75a0f build(deps): bump @​actions/core from 3.0.0 to 3.0.1
  • 365bebd Merge pull request #984 from docker/dependabot/github_actions/aws-actions/con...
  • Additional commits viewable in compare view

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 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 [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 2, 2026
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

⚠️ Review could not complete. Cora produced an empty result. Check the workflow logs for errors.


Review powered by cora-cli · BYOK · MIT

@ajianaz

ajianaz commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Superseded by consolidated dependency update PR

@ajianaz ajianaz closed this Jun 2, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

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/github_actions/docker/login-action-4 branch June 2, 2026 07:37
ajianaz added a commit that referenced this pull request Jun 17, 2026
, #147, #155)

Two real issues from review:

1. base_url validation (#155): OpenAiEmbedder/OllamaEmbedder stored
   base_url verbatim and only failed later during the HTTP call. Add
   crate::embed::validate_base_url() — rejects empty, schemeless, or
   unparseable URLs at construction time so callers see a clear
   Validation error instead of a confusing 404 later. Called from both
   OpenAiEmbedder::new and OllamaEmbedder::new.

2. Dimensions param (#146): OpenAiEmbedder accepted a dims field but
   never sent it in the request body. A user who set dims=3072 with a
   model defaulting to 1536 would silently get 1536d vectors from the
   API while the index believed it was 3072d. Now we include
   'dimensions: N' in the request JSON when dims > 0. text-embedding-3-*
   honor this field; older models ignore unknown fields so this is safe
   to send unconditionally.

Docs:
- configuration.md Azure OpenAI example had an unclosed quote (#156).
  Fixed.

Tests: +1 (rejects_invalid_base_url) covering schemeless, empty, and
unparseable URLs. 187 core tests pass. Clippy clean. fmt clean.
ajianaz added a commit that referenced this pull request Jun 17, 2026
* feat: OpenAI + Ollama embedding backends (#337)

Three backends now supported via [embedding] backend config:
- onnx (default, fully offline, EmbeddingGemma Q4 768d)
- openai (text-embedding-3-small 1536d default, Azure-compatible)
- ollama (nomic-embed-text 768d default, local server)

New files:
- crates/uteke-core/src/embed/openai.rs (OpenAiEmbedder + 5 tests)
- crates/uteke-core/src/embed/ollama.rs (OllamaEmbedder + 5 tests)

Core changes (uteke-core):
- EmbedderEnv resolver reads backend config from env vars without
  pulling the CLI config crate into core.
- ensure_embedder() dispatch now constructs OpenAI/Ollama backends
  with defaults when model/base_url/dims are empty.
- Dim mismatch detection: if backend dims != index dims on first
  embed call, return a clear Validation error pointing at 'uteke
  repair' instead of silently producing garbage vectors.
- VectorIndex::dims() exposed (wraps usearch Index::dimensions()).
- reqwest 0.12 gains 'json' feature (always included, no feature flag).

CLI config changes (uteke-cli):
- EmbeddingConfig extended: api_key, base_url, dims.
- SUPPORTED_BACKENDS now [onnx, openai, ollama].
- merge_from_file handles the 3 new fields.
- apply_env_overrides handles UTEKE_EMBEDDING_BACKEND/MODEL/API_KEY/
  BASE_URL/DIMS. API key falls back to OPENAI_API_KEY.
- +6 new config tests (full openai merge, env precedence, fallback,
  invalid dims).

Docs:
- configuration.md: expanded Embedding Backend section with
  backend-specific defaults table, Azure OpenAI recipe, and a dim
  mismatch error example. Env var table extended with the 5 new
  UTEKE_EMBEDDING_* vars.
- CHANGELOG entry.

Acceptance criteria (from issue #337):
[x] OpenAiEmbedder implements Embedder trait with HTTP call
[x] OllamaEmbedder implements Embedder trait with HTTP call
[x] Config [embedding] backend/api_key/base_url/model/dims supported
[x] Env vars override config (UTEKE_EMBEDDING_*)
[x] ONNX remains default (backward compatible)
[x] Dim mismatch detection with clear error message
[x] reqwest always included (no feature flags)
[x] Documentation updated (configuration.md)
[x] Tests for backend selection logic

212 tests pass. Clippy clean. cargo fmt clean.

Closes #337.

* fix(embedding): plumb uteke.toml settings into backend dispatch

CodeCora found that lazy backend dispatch read only env vars via
EmbedderEnv::resolve, silently ignoring [embedding] api_key/base_url/
model/dims from uteke.toml. Users who set those in config (without env
vars) would see backend defaults used instead.

Fix:
- Replace EmbedderEnv with a public EmbeddingSettings struct + a
  resolve_with_defaults() helper that layers env vars on top of
  caller-supplied config values.
- Add Uteke::open_with_embedding() constructor that takes the merged
  CLI config as EmbeddingSettings. Stored on the Uteke struct so
  ensure_embedder() can read it at lazy-init time.
- finish_open() gains the embedding_settings param. All other
  constructors forward EmbeddingSettings::default() (no behavior change
  for library users who don't supply settings).
- VectorIndex::dims() exposed for dim-mismatch detection.
- CLI main.rs now calls open_with_embedding() and forwards
  config.embedding.{api_key,base_url,model,dims} from uteke.toml.

+3 core regression tests covering: defaults-empty, env-overrides-config,
config-only-when-env-absent. Ensures the plumbing precedence
(env > uteke.toml > backend default) is locked in.

215 tests pass. Clippy clean. cargo fmt clean.

* fix(embedding): validate base_url + send dimensions param (CodeCora #146, #147, #155)

Two real issues from review:

1. base_url validation (#155): OpenAiEmbedder/OllamaEmbedder stored
   base_url verbatim and only failed later during the HTTP call. Add
   crate::embed::validate_base_url() — rejects empty, schemeless, or
   unparseable URLs at construction time so callers see a clear
   Validation error instead of a confusing 404 later. Called from both
   OpenAiEmbedder::new and OllamaEmbedder::new.

2. Dimensions param (#146): OpenAiEmbedder accepted a dims field but
   never sent it in the request body. A user who set dims=3072 with a
   model defaulting to 1536 would silently get 1536d vectors from the
   API while the index believed it was 3072d. Now we include
   'dimensions: N' in the request JSON when dims > 0. text-embedding-3-*
   honor this field; older models ignore unknown fields so this is safe
   to send unconditionally.

Docs:
- configuration.md Azure OpenAI example had an unclosed quote (#156).
  Fixed.

Tests: +1 (rejects_invalid_base_url) covering schemeless, empty, and
unparseable URLs. 187 core tests pass. Clippy clean. fmt clean.

* fix(embedding): add UTEKE_ALLOW_DIM_MISMATCH escape hatch for repair

CodeCora finding #154: the dim-mismatch guard blocked any embed-based
operation once a user switched backends on an existing store, including
'uteke repair' which is the recovery path. Chicken-and-egg.

Fix: skip the check when UTEKE_ALLOW_DIM_MISMATCH=1 is set. The error
message now points at this flag directly:
  'Rebuild the index (UTEKE_ALLOW_DIM_MISMATCH=1 uteke repair) or switch backend.'

Docs: configuration.md dim-mismatch section shows the exact recovery
incantation.

187 core tests pass. Clippy clean. fmt clean.

* fix(embedding): treat empty env vars as unset + Azure api-version doc

CodeCora finding: std::env::var returns Ok("") for explicitly empty
variables, so setting UTEKE_EMBEDDING_API_KEY="" would silently
overwrite a non-empty api_key from [embedding] in uteke.toml.

Fix: in both lib.rs::EmbeddingSettings::resolve_with_defaults and
cli/config.rs::apply_env_overrides, empty env-var values are now
filtered out via .filter(|v| !v.is_empty()) before falling through to
the config-provided value.

Docs: the Azure OpenAI example now includes the required api-version
query param (?api-version=2024-10-21) since Azure rejects requests
without it.

+1 core regression test (empty env does not overwrite config).
188 core tests pass. Clippy clean. fmt clean.
ajianaz added a commit that referenced this pull request Aug 13, 2026
* feat: OpenAI + Ollama embedding backends (#337)

Three backends now supported via [embedding] backend config:
- onnx (default, fully offline, EmbeddingGemma Q4 768d)
- openai (text-embedding-3-small 1536d default, Azure-compatible)
- ollama (nomic-embed-text 768d default, local server)

New files:
- crates/uteke-core/src/embed/openai.rs (OpenAiEmbedder + 5 tests)
- crates/uteke-core/src/embed/ollama.rs (OllamaEmbedder + 5 tests)

Core changes (uteke-core):
- EmbedderEnv resolver reads backend config from env vars without
  pulling the CLI config crate into core.
- ensure_embedder() dispatch now constructs OpenAI/Ollama backends
  with defaults when model/base_url/dims are empty.
- Dim mismatch detection: if backend dims != index dims on first
  embed call, return a clear Validation error pointing at 'uteke
  repair' instead of silently producing garbage vectors.
- VectorIndex::dims() exposed (wraps usearch Index::dimensions()).
- reqwest 0.12 gains 'json' feature (always included, no feature flag).

CLI config changes (uteke-cli):
- EmbeddingConfig extended: api_key, base_url, dims.
- SUPPORTED_BACKENDS now [onnx, openai, ollama].
- merge_from_file handles the 3 new fields.
- apply_env_overrides handles UTEKE_EMBEDDING_BACKEND/MODEL/API_KEY/
  BASE_URL/DIMS. API key falls back to OPENAI_API_KEY.
- +6 new config tests (full openai merge, env precedence, fallback,
  invalid dims).

Docs:
- configuration.md: expanded Embedding Backend section with
  backend-specific defaults table, Azure OpenAI recipe, and a dim
  mismatch error example. Env var table extended with the 5 new
  UTEKE_EMBEDDING_* vars.
- CHANGELOG entry.

Acceptance criteria (from issue #337):
[x] OpenAiEmbedder implements Embedder trait with HTTP call
[x] OllamaEmbedder implements Embedder trait with HTTP call
[x] Config [embedding] backend/api_key/base_url/model/dims supported
[x] Env vars override config (UTEKE_EMBEDDING_*)
[x] ONNX remains default (backward compatible)
[x] Dim mismatch detection with clear error message
[x] reqwest always included (no feature flags)
[x] Documentation updated (configuration.md)
[x] Tests for backend selection logic

212 tests pass. Clippy clean. cargo fmt clean.

Closes #337.

* fix(embedding): plumb uteke.toml settings into backend dispatch

CodeCora found that lazy backend dispatch read only env vars via
EmbedderEnv::resolve, silently ignoring [embedding] api_key/base_url/
model/dims from uteke.toml. Users who set those in config (without env
vars) would see backend defaults used instead.

Fix:
- Replace EmbedderEnv with a public EmbeddingSettings struct + a
  resolve_with_defaults() helper that layers env vars on top of
  caller-supplied config values.
- Add Uteke::open_with_embedding() constructor that takes the merged
  CLI config as EmbeddingSettings. Stored on the Uteke struct so
  ensure_embedder() can read it at lazy-init time.
- finish_open() gains the embedding_settings param. All other
  constructors forward EmbeddingSettings::default() (no behavior change
  for library users who don't supply settings).
- VectorIndex::dims() exposed for dim-mismatch detection.
- CLI main.rs now calls open_with_embedding() and forwards
  config.embedding.{api_key,base_url,model,dims} from uteke.toml.

+3 core regression tests covering: defaults-empty, env-overrides-config,
config-only-when-env-absent. Ensures the plumbing precedence
(env > uteke.toml > backend default) is locked in.

215 tests pass. Clippy clean. cargo fmt clean.

* fix(embedding): validate base_url + send dimensions param (CodeCora #146, #147, #155)

Two real issues from review:

1. base_url validation (#155): OpenAiEmbedder/OllamaEmbedder stored
   base_url verbatim and only failed later during the HTTP call. Add
   crate::embed::validate_base_url() — rejects empty, schemeless, or
   unparseable URLs at construction time so callers see a clear
   Validation error instead of a confusing 404 later. Called from both
   OpenAiEmbedder::new and OllamaEmbedder::new.

2. Dimensions param (#146): OpenAiEmbedder accepted a dims field but
   never sent it in the request body. A user who set dims=3072 with a
   model defaulting to 1536 would silently get 1536d vectors from the
   API while the index believed it was 3072d. Now we include
   'dimensions: N' in the request JSON when dims > 0. text-embedding-3-*
   honor this field; older models ignore unknown fields so this is safe
   to send unconditionally.

Docs:
- configuration.md Azure OpenAI example had an unclosed quote (#156).
  Fixed.

Tests: +1 (rejects_invalid_base_url) covering schemeless, empty, and
unparseable URLs. 187 core tests pass. Clippy clean. fmt clean.

* fix(embedding): add UTEKE_ALLOW_DIM_MISMATCH escape hatch for repair

CodeCora finding #154: the dim-mismatch guard blocked any embed-based
operation once a user switched backends on an existing store, including
'uteke repair' which is the recovery path. Chicken-and-egg.

Fix: skip the check when UTEKE_ALLOW_DIM_MISMATCH=1 is set. The error
message now points at this flag directly:
  'Rebuild the index (UTEKE_ALLOW_DIM_MISMATCH=1 uteke repair) or switch backend.'

Docs: configuration.md dim-mismatch section shows the exact recovery
incantation.

187 core tests pass. Clippy clean. fmt clean.

* fix(embedding): treat empty env vars as unset + Azure api-version doc

CodeCora finding: std::env::var returns Ok("") for explicitly empty
variables, so setting UTEKE_EMBEDDING_API_KEY="" would silently
overwrite a non-empty api_key from [embedding] in uteke.toml.

Fix: in both lib.rs::EmbeddingSettings::resolve_with_defaults and
cli/config.rs::apply_env_overrides, empty env-var values are now
filtered out via .filter(|v| !v.is_empty()) before falling through to
the config-provided value.

Docs: the Azure OpenAI example now includes the required api-version
query param (?api-version=2024-10-21) since Azure rejects requests
without it.

+1 core regression test (empty env does not overwrite config).
188 core tests pass. Clippy clean. fmt clean.
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 github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant