ci: GitHub Actions CI/CD (lint, types, tests, multimodal + token/usage, secret scan)#17
Merged
Merged
Conversation
Khurdhula-Harshavardhan
requested changes
Jul 20, 2026
Khurdhula-Harshavardhan
left a comment
Contributor
There was a problem hiding this comment.
please help resolve the following.
…e, secret scan) + PyPI publish
Abhinavexist
force-pushed
the
ci/github-actions
branch
from
July 21, 2026 00:09
3167a71 to
d9ad590
Compare
Khurdhula-Harshavardhan
requested changes
Jul 21, 2026
Khurdhula-Harshavardhan
left a comment
Contributor
There was a problem hiding this comment.
please help resolve the following.
…efore first PyPI release (review #17)
Collaborator
Author
|
Bumped |
…port is exercised (review #17)
Collaborator
Author
|
Update: added a core-only py3.9 leg in 0b53faa, so Locally exercised 3.9 first across the risky surfaces before wiring it up:
|
Khurdhula-Harshavardhan
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds CI/CD for the SDK.
ci.yml— runs on push tomainand every PRruff check(src/tests/scripts)mypy --strictpytestacross a Python 3.9–3.13 matrixgitleaksover the working tree (fails on any leaked key/token; verified clean locally)qa-live.yml— end-to-end against the real Interfaze APIGated:
workflow_dispatch+ weekly schedule, using theINTERFAZE_API_KEYrepo secret (never on PRs — secrets aren't available to forks and it hits the live API). Runsscripts/qa_live.py, which covers text, structured output,json_objectfence, tools, streaming/reasoning, precontext, guardrails, every task, the full multimodal input matrix (image / pdf / audio / video, URL and base64), and now token/usage.Coverage this PR adds (so CI genuinely exercises the asks)
videoand base64-imageinput builders (image/file/audio already covered); the live matrix covers real image/pdf/audio/video URL+base64.usage(prompt_tokens/completion_tokens/total_tokens) is surfaced, plus a livetoken usageassertion inqa_live.py. And gitleaks guards against leaked auth tokens.Unit suite: 27 passing;
ruff+mypy --strictclean.Notes / follow-ups
ruff format --checkis intentionally not gated yet —mainhas pre-existing format drift (6 files); the in-flight fix PRs (fix: tolerate raw tool-call entries in precontext (#1) #7–feat: ChatInterfaze — in-repo LangChain chat model (#5) #12, fix: OpenAI 1:1 spec-compat reconciliation (interfaze#218) #16) carryruff formaton the files they touch, somainnormalizes as those land. Addruff format --checktoci.ymlonce it's clean.requires-pythonsays>=3.8(EOL) and thelangchainextra needs 3.10+ (its marker skips it on 3.9). Worth bumping the floor to>=3.9.qa-liveneeds theINTERFAZE_API_KEYsecret set on the repo.astral-sh/setup-uv@v6; pinsgitleaksv8.21.2.