Skip to content

Modernize examples and OSS maintenance#1

Merged
MPIsaac-Per merged 2 commits into
mainfrom
feat/oss-hardening
Jul 14, 2026
Merged

Modernize examples and OSS maintenance#1
MPIsaac-Per merged 2 commits into
mainfrom
feat/oss-hardening

Conversation

@MPIsaac-Per

Copy link
Copy Markdown
Owner

What changed

  • Update the Langfuse, Anthropic, OpenTelemetry, OpenAI, and LiteLLM examples to current APIs and import-safe functions.
  • Harden the proxy examples with pinned container digests, loopback binding, health checks, log limits, explicit secrets, and validated key and budget inputs.
  • Add a locked Python toolchain, executable tests, contributor and security policy files, release guidance, issue forms, Dependabot, CI, CodeQL, dependency review, and OpenSSF Scorecard.

Why

Several snippets performed provider work during import, used obsolete SDK patterns, or presented production configuration without failure and secret-handling controls. There was no automated way to detect drift.

Impact

Readers can import and test examples without credentials or network calls. The Docker Compose path validates from the documented fragments, and dependency/API drift is covered by CI.

Validation

  • 22 pytest tests passed
  • 95.65% branch coverage
  • Ruff, formatter, standalone mypy checks, shellcheck, and pip-audit passed
  • Docker Compose expansion passed
  • actionlint passed
  • zizmor pedantic online audit passed with zero findings

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@MPIsaac-Per
MPIsaac-Per marked this pull request as ready for review July 14, 2026 15:40
@MPIsaac-Per
MPIsaac-Per merged commit 09e0ca8 into main Jul 14, 2026
6 checks passed
@MPIsaac-Per
MPIsaac-Per deleted the feat/oss-hardening branch July 14, 2026 15:41
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.

3 participants