GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add downstream-check CI (builds Strata-CLI against Python PRs) by shigoel · Pull Request #3 · strata-org/Strata-Python

Conversation

@shigoel

@shigoel shigoel commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Advisory, non-blocking cross-repo check: when a Strata-Python PR is ready (or a collaborator comments !downstream-check), build Strata-CLI against this PR's Strata-Python code (CLI requires StrataPython) to catch breakage before it lands on main. Result shows up as a Downstream / Strata-CLI job on the PR.

Strata-CLI has no lake testDriver, so verification mirrors CLI's own ci.yml: build, then lake exe strata --help + ./scripts/run_examples.sh.

Mechanism

Checks out the PR's Strata-Python, clones Strata-CLI, rewrites CLI's require "StrataPython" to a local path (fork-safe), then lake update StrataPython + build + checks. CLI's other requires (Strata, StrataDDM at main) resolve normally — only the StrataPython edge is overridden. Reuses Strata's composite actions via @main.

Depends on

⚠️ strata-org/Strata#1387 must land first (the composite actions must exist on Strata main). Until then this check will error (expected). See #1387 for the full design.

Draft for early feedback.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@shigoel
Add downstream-check CI (builds Strata-CLI against Python PRs)
cd92868
Advisory, non-blocking check: builds Strata-CLI against this PR's
Strata-Python code (CLI requires StrataPython) to catch breakage before it
lands on main. CLI has no lake testDriver, so it verifies via the binary +
examples, mirroring CLI's own ci.yml. Reuses Strata's composite actions via @main.

Depends on strata-org/Strata#1387 landing first.
github-advanced-security[bot]
github-advanced-security Bot found potential problems Jun 18, 2026
View reviewed changes
Comment thread .github/workflows/downstream-check.yml Fixed

Uh oh!

There was an error while loading. Please reload this page.

@shigoel
downstream-check: drop issue_comment trigger (fix cache poisoning)
8df6b94
The issue_comment trigger runs in the privileged default-branch context;
building untrusted PR code there is a cache-poisoning / code-execution vector
(CodeQL actions/cache-poisoning/poisonable-step). Run only on pull_request,
which builds the same code in an isolated, unprivileged context.

Collapses the gate job into a job-level draft check and reads the PR head SHA
from the event payload (no shared gate action needed).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@github-advanced-security github-advanced-security[bot] github-advanced-security[bot] left review comments
Reviewers whose approvals may not affect merge requirements

At least 2 approving reviews are required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@shigoel @github-advanced-security
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.