Skip to content

Activation Audit: Add build artifacts and release workflow - #19

Draft
4444J99 wants to merge 2 commits into
mainfrom
activation-ship-soon-17162102006010684361
Draft

4444J99 wants to merge 2 commits into
mainfrom
activation-ship-soon-17162102006010684361

Conversation

@4444J99

@4444J99 4444J99 commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

Define build artifacts and publication target in Makefile and .github/workflows/release.yml, attach wheel and sdist artifacts to tagged builds, document one-command validation in README.md, and update seed.yaml metadata.

Fixes #7


PR created automatically by Jules for task 17162102006010684361 started by @4444J99

Summary by Sourcery

Enable reproducible package artifact builds and automated publication for tagged releases.

New Features:

  • Add tagged-release automation that builds Python wheel and source distributions and publishes them to GitHub Releases.

Enhancements:

  • Add a Makefile target for building package artifacts.
  • Document a single command for running tests and the full governance analysis.
  • Record release publication, validation, and artifact metadata in seed.yaml.

Chores:

  • Register the release workflow and package distributions in the project metadata.

Co-authored-by: 4444J99 <24796448+4444J99@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Sep 23, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR adds reproducible Python package builds and a GitHub tag-based release pipeline that attaches wheel and sdist artifacts to releases, exposes local builds through Make, documents one-command validation, and aligns seed metadata with the new CI/release and publication model.

File-Level Changes

Change Details Files
Adds a tagged-release workflow that builds and publishes Python distribution artifacts to GitHub Releases.
  • Triggers on version tags and manual dispatch.
  • Sets up Python 3.12, installs the build frontend, and runs the package build.
  • Uploads wheel and source archive files while generating release notes.
.github/workflows/release.yml
Exposes a Make target for producing package distributions locally.
  • Adds a documented make build command invoking python3 -m build.
  • Marks the new build and existing analysis targets as phony.
Makefile
Documents the repository’s single-command validation workflow.
  • Adds the combined pytest and full-analysis command to the README.
README.md
Updates project metadata to describe validation, publication, and release outputs.
  • Records the validation command, GitHub Release target, release URL, and wheel path.
  • Switches the CI workflow reference and registers the tag-triggered release agent.
  • Declares wheel and sdist distributions as release artifacts.
  • Updates the last validation date.
seed.yaml

Assessment against linked issues

Issue Objective Addressed Explanation
#7 Define a build artifact and publication target in the project configuration and release workflow. ✅
#7 Build wheel and source distribution artifacts and attach them to releases created from tagged builds for user consumption. ✅
#7 Provide a one-command validation procedure in the README and publish the validation/release result link in seed metadata. ✅

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

4444J99 commented Sep 23, 2026

Copy link
Copy Markdown
Owner Author

@jules Correction for current head b1f8af83179510eda1acb28cd020e97f989492f0: revise this SAME PR to the bounded source/CI-preparation scope; do not create a replacement task or PR.

Required changes:

  • Remove .github/workflows/release.yml, contents: write, GitHub Release creation/publication, tag/manual release behavior, softprops/action-gh-release, and all metadata/docs claiming a published release. Publication remains a separate human-authorized predicate.
  • Repair the ACTUAL packaging defect first: ensure setuptools discovery includes the real package/modules so the built wheel is non-empty and importable. Keep the smallest pyproject/setup change needed; do not invent new architecture.
  • Put artifact verification in the EXISTING CI path: build wheel + sdist, inspect wheel contents for the expected runtime package/modules, install the built wheel into a clean environment, and run deterministic offline import/CLI smoke checks. Upload dist files as CI artifacts only.
  • Pin every Action touched/added to a full immutable commit SHA with a readable version comment.
  • Revert unrelated/generated governance/seed publication metadata and fabricated release URL/status/date changes; preserve generated-file policy.
  • Keep README to truthful local build/validation commands and clearly state no release/publication has occurred.
  • Change Fixes #7 to Refs #7; issue ACTIVATION AUDIT: ship-soon #7 remains open until the external publication predicate is separately authorized and verified.

Run focused tests, package build/content inspection, clean-install smoke, and workflow/static validation at the resulting head and report exact results. Do not publish, tag, release, deploy, alter settings, or use credentials.

Co-authored-by: 4444J99 <24796448+4444J99@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

ACTIVATION AUDIT: ship-soon

1 participant