Skip to content

Add validate-release workflow#1361

Open
xschildw wants to merge 4 commits intoSage-Bionetworks:developfrom
xschildw:dev-validate-workflow
Open

Add validate-release workflow#1361
xschildw wants to merge 4 commits intoSage-Bionetworks:developfrom
xschildw:dev-validate-workflow

Conversation

@xschildw
Copy link
Copy Markdown
Contributor

Problem:

  • We used to run a Jenkins job to validate the python client against the staging repo and prevent releasing
    breaking changes. The Jenkins server has been sunset, I ran integration tests from my laptop but need
    a permanent solution.

Solution:

  • I would like to create dispatch workflow in the SynapsePython client repo to run a single pass integration test.

Testing:

  • None, I just trimmed an existing workflow. Considered testing in my fork but that means adding secrets etc., since
    this is a dispatch workflow it should have no effect on existing operations and can be debugged in the SageBio repo.

@xschildw xschildw requested a review from a team as a code owner April 17, 2026 05:08
Copilot AI review requested due to automatic review settings April 17, 2026 05:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a manually triggered GitHub Actions workflow intended to validate the Synapse Python client against a Synapse backend (replacing a retired Jenkins-based release validation path).

Changes:

  • Add a new workflow_dispatch workflow to run unit tests and (optionally) integration tests when secrets are available.
  • Bump the bandit pre-commit hook revision.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.pre-commit-config.yaml Updates the Bandit hook version used by pre-commit.
.github/workflows/validate-release.yml Introduces a manual “validate release” workflow that installs dependencies, runs unit tests, and conditionally runs integration tests using decrypted config secrets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/validate-release.yml Outdated
Comment thread .github/workflows/validate-release.yml Outdated
Comment thread .github/workflows/validate-release.yml
Comment thread .github/workflows/validate-release.yml Outdated
Comment thread .github/workflows/validate-release.yml Outdated
Comment thread .github/workflows/validate-release.yml
@BryanFauble BryanFauble self-requested a review April 17, 2026 16:55
Comment thread .github/workflows/validate-release.yml Outdated
Comment thread .github/workflows/validate-release.yml
Comment thread .github/workflows/validate-release.yml Outdated
Copy link
Copy Markdown
Member

@BryanFauble BryanFauble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes to make

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.

4 participants