Skip to content

Add module wiring demo doc - #174

Merged
kpenfound merged 1 commit into
mainfrom
module-wiring
Aug 28, 2026
Merged

Add module wiring demo doc#174
kpenfound merged 1 commit into
mainfrom
module-wiring

Conversation

@kpenfound

Copy link
Copy Markdown
Owner

Summary

  • Adds MODULE_WIRING.md, a demo doc in the style of DEBUGGER_AGENT.md / SWE_AGENT.md, explaining how the reusable go and playwright modules get this project's services through dagger.toml settings (base = "backend:go-test-base", service = "frontend:serve") instead of custom check functions
  • Covers why the wiring matters (e2e tests skip without a service, and a skip looks like a pass), the deliberate shape of GoTestBase(), and a "How do I try it?" walkthrough
  • Links the doc from the README Demos list

Verification

Every command in the doc was run on DAGGER_X_RELEASE=v1.0.0-beta.11:

  • dagger check go:test-all -v → 6 passed with greetings-api running as a service
  • dagger api call backend go-test-base → resolves to a Container
  • with base commented out, dagger check go:test-all -vvv4 skipped, 2 passed, as the final step describes

Docs only; no code or config changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EHKHLqZyQHq9YD267tEHNY

Explain how the go and playwright modules get this project's services
through dagger.toml settings (backend:go-test-base, frontend:serve),
in the style of the other demo markdowns, and link it from the README.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EHKHLqZyQHq9YD267tEHNY
@github-actions

Copy link
Copy Markdown
Contributor

Test this PR by running the following command:

dagger -W github.com/kpenfound/greetings-api@pull/174/head check

Run this branch locally:

dagger -W github.com/kpenfound/greetings-api@pull/174/head up

@kpenfound
kpenfound merged commit 36aee31 into main Aug 28, 2026
11 checks passed
@kpenfound
kpenfound deleted the module-wiring branch August 28, 2026 20:15
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.

1 participant