Skip to content

chore: add local Go pipelines with Dagger - #8217

Draft
disintegrator wants to merge 4 commits into
mainfrom
add-local-go-pipeline
Draft

disintegrator wants to merge 4 commits into
mainfrom
add-local-go-pipeline

Conversation

@disintegrator

@disintegrator disintegrator commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Pin Dagger 1.0.0-beta.21 through mise and add a go-pipeline module with generated Go bindings.
  • Expose local Go builds, lint, tests, and server/Functions/tunnel image workflows through dagger:go and dagger:go-test, reusing the existing mise tasks.
  • Preserve test reports and exit status, support explicit build metadata and image architecture, and document local execution and caching.

Motivation

Provide reproducible, containerized Go workflows that developers can exercise locally before adopting Dagger in GitHub Actions. This establishes the local tooling first; workflow migration is deferred.


Summary by cubic

Adds local Go build, lint, test, and runtime-image workflows through a mise-pinned Dagger pipeline; GitHub Actions integration remains deferred.

  • dagger:go and dagger:go-test reuse existing scripts and are documented in .dagger/README.md.
  • Docker-dependent builds run in a disposable in-container daemon, so no host socket or persistent daemon is needed.
  • Build metadata and image architecture can be overridden, and test reports are exported without masking failures.
  • Excludes generated Dagger files and dagger.lock from Cubic reviews.

Written for commit 727d40f. Summary will update on new commits.

View guided diff Turn on auto-fix

@disintegrator disintegrator added go Pull requests that update go code automation labels Oct 28, 2026
@changeset-bot

changeset-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 727d40f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 28 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .dagger/go/images.go Resolved
Comment thread .dagger/go/images.go Resolved
Comment thread mise.toml Resolved
Comment thread .dagger/README.md Resolved
Comment thread .mise-tasks/dagger/go-test.sh Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 7 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .dagger/README.md Resolved

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

automation go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant