Skip to content

Harden Eventful for production releases - #12

Draft
aidankhogg wants to merge 1 commit into
mainfrom
codex/production-hardening
Draft

Harden Eventful for production releases#12
aidankhogg wants to merge 1 commit into
mainfrom
codex/production-hardening

Conversation

@aidankhogg

Copy link
Copy Markdown
Contributor

Outcome

Moves Eventful from an undocumented pre-alpha posture to a bounded, production-capable 0.3 release candidate. This deliberately does not claim exactly-once delivery or a frozen 1.0 API.

Runtime hardening

Release and supply-chain hardening

  • adds tag-only trusted PyPI publishing through the protected pypi environment
  • requires tag/package version agreement
  • creates build-provenance attestations
  • adds CodeQL, pip-audit, and weekly dependency/action updates
  • constrains workflow permissions, concurrency, and timeouts
  • bounds supported optional dependency major versions
  • adds project metadata URLs and raises the package status to beta

Operational contract

  • adds a production-readiness matrix for core, Redis, PostgreSQL, file, and ASGI use
  • records delivery/durability boundaries, operator responsibilities, and explicit non-guarantees
  • expands the security and deprecation policies
  • establishes a 75% coverage floor

Verification

Verified locally on CPython 3.13.14:

  • Ruff: passed
  • strict mypy: passed (38 source files)
  • pytest: 120 passed, 18 expected external-service skips
  • coverage: 76.03% (75% floor)
  • annotation and public-docstring checks: passed
  • wheel and sdist builds: passed
  • MkDocs strict build: passed

CI additionally exercises Python 3.13 and 3.14 and service-backed Redis/PostgreSQL installations from built artifacts.

Supersedes #10 because its complete ASGI lifecycle change set is included here.

Integrate deterministic ASGI lifecycle handling and add production release,
security, dependency, packaging, compatibility, documentation, and coverage gates.
@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.

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