Skip to content

ci: Add datasqrl-examples bump and validation workflows#2075

Merged
ferenc-csaky merged 4 commits into
mainfrom
ci/build-datasqrl-examples-snapshot
May 21, 2026
Merged

ci: Add datasqrl-examples bump and validation workflows#2075
ferenc-csaky merged 4 commits into
mainfrom
ci/build-datasqrl-examples-snapshot

Conversation

@velo
Copy link
Copy Markdown
Collaborator

@velo velo commented May 14, 2026

Summary

  • Add a manual GitHub Actions workflow to validate datasqrl-examples against a selected SQRL CLI image.
  • Default the manual validation image to datasqrl/cmd:dev, while still allowing maintainers to pass snapshot images like ghcr.io/datasqrl/cmd:pr-123.
  • Dispatch DataSQRL/datasqrl-examples build.yml, locate the downstream run by correlation_id, and wait for it to finish.
  • Keep datasqrl-examples validation detached from CircleCI instead of running it as a CircleCI job.
  • Allow CircleCI to publish PR images to GHCR with pr-* tags so they can be manually validated by the examples workflow.
  • Add a release/manual workflow that opens a PR in datasqrl-examples to bump its SQRL_VERSION.
  • Use the dedicated EXAMPLES_BOT_PAT secret for cross-repo examples operations.

…on release

Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.35%. Comparing base (e5914ac) to head (56f8276).
⚠️ Report is 11 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2075   +/-   ##
=========================================
  Coverage     13.35%   13.35%           
  Complexity      841      841           
=========================================
  Files           606      606           
  Lines         17516    17516           
  Branches       2122     2122           
=========================================
  Hits           2340     2340           
  Misses        14960    14960           
  Partials        216      216           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

velo added 2 commits May 14, 2026 12:34
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
…ircleCI

Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
Copy link
Copy Markdown
Collaborator

@ferenc-csaky ferenc-csaky left a comment

Choose a reason for hiding this comment

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

I don't think this should be executed for every PR or commit that makes it into main.

Ideally that would be nice, but IMO in real life that will be just another annoying step we just skip most of the time, and will be red until we release anyways.

WDYT?

@velo
Copy link
Copy Markdown
Collaborator Author

velo commented May 14, 2026

I don't think this should be executed for every PR or commit that makes it into main.

Ideally that would be nice, but IMO in real life that will be just another annoying step we just skip most of the time, and will be red until we release anyways.

WDYT?

well, if we don't run this on every PR, we will only know it's broken after someone manually checks

@ferenc-csaky ferenc-csaky changed the title ci: Validate datasqrl-examples against snapshot images and auto-bump on release ci: Add datasqrl-examples validation workflow May 21, 2026
@ferenc-csaky ferenc-csaky changed the title ci: Add datasqrl-examples validation workflow ci: Add datasqrl-examples bump and validation workflows May 21, 2026
@ferenc-csaky ferenc-csaky merged commit e02f74c into main May 21, 2026
19 checks passed
@ferenc-csaky ferenc-csaky deleted the ci/build-datasqrl-examples-snapshot branch May 21, 2026 12:26
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.

3 participants