Skip to content

chore(deps): bump galileo-core to ^4.5.0 - #630

Merged
robinliubin merged 1 commit into
mainfrom
chore/bump-galileo-core-4.5.0
Jul 30, 2026
Merged

robinliubin merged 1 commit into
mainfrom
chore/bump-galileo-core-4.5.0

Conversation

@robinliubin

@robinliubin robinliubin commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

User description

What

Bumps the galileo-core dependency constraint from ^4.4.0 → ^4.5.0 (both the main and test/testing-extra entries) and regenerates poetry.lock.

Why

The custom HTTP headers feature merged in #629 relies on galileo-core's new extra_headers config field (now released in galileo-core 4.5.0, from orbit #1376). Until this bump, pyproject.toml still allowed ^4.4.0, so a fresh resolve could lock to a core release without extra_headers — in which case setting GALILEO_EXTRA_HEADERS silently no-ops on every egress path (the getattr(config, "extra_headers", None) fallbacks in logger.py/traces.py degrade to None, and core-backed calls omit the headers), and a gateway like IBM APIC just returns 401 — a hard-to-diagnose failure.

Raising the minimum to 4.5.0 makes the dependency match the feature's actual requirement.

This addresses the non-blocking post-merge follow-up Fernando (@fercor-cisco) raised on #629.

Notes / follow-up

  • Now that core is pinned to a release that guarantees extra_headers, the defensive getattr(config, "extra_headers", None) fallbacks in logger.py/traces.py could be simplified to direct attribute access. Left as a separate change to keep this PR a pure dependency bump.

Testing

  • poetry check --lock → All set!
  • Lock diff is limited to the galileo-core version/hash and the metadata content-hash (regenerated with the same Poetry 2.2.0 that produced the existing lock, so no unrelated marker churn).

🤖 Generated with Claude Code


Generated description

Below is a concise technical summary of the changes proposed in this PR:
Raise the galileo-core dependency constraint in pyproject.toml so the core SDK and its testing extra resolve to a release that provides extra_headers. Regenerate poetry.lock to pin galileo-core 4.5.0 and keep dependency resolution aligned.

Latest Contributors(2)
UserCommitDate
bin@galileo.aichore(deps): bump gali...July 30, 2026
ci@rungalileo.iochore(release): v2.5.1July 16, 2026
Review this PR on Baz | Customize your next review

galileo-core 4.5.0 adds the `extra_headers` field that the custom HTTP
headers feature (#629) relies on. Pinning the minimum to 4.5.0 ensures a
fresh resolve can't pick a core release that silently ignores
GALILEO_EXTRA_HEADERS (the getattr fallbacks would no-op and a gateway
would just 401). Addresses Fernando's post-merge follow-up on #629.

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.62%. Comparing base (28ef623) to head (1e75acb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #630   +/-   ##
=======================================
  Coverage   83.62%   83.62%           
=======================================
  Files         124      124           
  Lines       11037    11037           
=======================================
  Hits         9230     9230           
  Misses       1807     1807           

☔ View full report in Codecov by Harness.
📢 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.

@robinliubin
robinliubin merged commit 14755cc into main Jul 30, 2026
20 checks passed
@robinliubin
robinliubin deleted the chore/bump-galileo-core-4.5.0 branch July 30, 2026 18:35
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