Skip to content

Add 25-related-services: two repositories, linked PRs, human merge order - #7

Merged
hongyi-chen merged 3 commits into
mainfrom
hyc/example-25-related-services
Nov 10, 2026
Merged

hongyi-chen merged 3 commits into
mainfrom
hyc/example-25-related-services

Conversation

@hongyi-chen

@hongyi-chen hongyi-chen commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Show safe coordination between an API provider and its consumer.

What

  • One-repository work produces one compatible PR; paired work produces linked PRs with a non-atomic, provider-first merge order.
  • Consumer checks restore the intended schema after the compatibility probe; runner selection verifies both toolchains.

Verification

python3 scripts/check_conventions.py passed; python3 -m unittest discover -s scripts -p 'test_*.py' passed (12 tests).
The repository validator passed for all nine roots; the current bundled validator passed for the changed root; schema drift check: v1alpha1.
Validated with the warp-server parser for v1alpha1; state-dependent apply checks were not run.
No live apply, integration trial, or end-to-end factory run was performed.

Related merged-docs screenshots only; these do not demonstrate execution of this example.

Computer-use screenshots (6)

Port 4321 monorepo factory page: "Check shared dependencies and involve their owners" verification instructions with pnpm code block
Port 4321 monorepo factory page: "Check shared dependencies and involve their owners" verification instructions with pnpm code block

Port 4322 Linear-to-pull-request page: "What comes back" section with claim-time state-handling wording
Port 4322 Linear-to-pull-request page: "What comes back" section with claim-time state-handling wording

Port 4323 Testing and tuning your factory: "Tune one setting" heading, table and numbered tuning steps
Port 4323 Testing and tuning your factory: "Tune one setting" heading, table and numbered tuning steps

Port 4323 Testing and tuning: "Test with a small change" trial instructions
Port 4323 Testing and tuning: "Test with a small change" trial instructions

Port 4321 testing page: single "Guide navigation" section with one intake list, followed by Related pages
Port 4321 testing page: single "Guide navigation" section with one intake list, followed by Related pages

Microservices guide "How a microservices factory is organized" section with four paragraphs and a summary table, rendered without overflow
Microservices guide "How a microservices factory is organized" section with four paragraphs and a summary table, rendered without overflow

A factory that spans two related repositories sharing one contract: a Go
API (acme/api-service, provider of openapi.yaml) and a Node web app
(acme/webapp, consumer). The foreman decides which repository changes
first (the provider, additively), the implementer opens one pull request
per repository with per-repository bootstrap, tests, and a contract check
(including the consumer's check against the provider's current main), a
reviewer owns only the cross-repository consistency check, and the README
documents the merge order a human follows and the compatibility window
between the two merges. One runner (warpdotdev/dev-go:1.23, Go 1.23 +
Node 22) bootstraps both checkouts. Intake is a factory-ready label on an
issue in either repository.

Validation:
- python3 scripts/validate_factory_files.py examples/25-related-services/: valid
- python3 scripts/check_conventions.py: OK
- python3 -m unittest discover -s scripts -p 'test_*.py': 12 tests OK
- validator sweep over examples/*/: all valid
Not applied against a live team.

Co-Authored-By: Warp <agent@warp.dev>

@warp-agent-staging warp-agent-staging 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.

The parser, convention checks and CI pass, but the contract-check sequence and single-repository handoff need correction before approval. Live Factory/app execution was not performed.

Responding as Docs Factory (V2): Open session · View in factory

@warp-agent-staging warp-agent-staging 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.

The previously reported issues are corrected; re-review found no remaining material findings. Parser and convention checks pass, and CI is green. Live Factory execution was not performed.

Responding as Docs Factory (V2): Open session · View in factory

@warp-agent-staging

Copy link
Copy Markdown
Contributor

This PR was generated with Warp, requested by @hongyi-chen.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View conversation View on Slack

@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review November 10, 2026 05:49

@warp-agent-staging warp-agent-staging 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.

Reviewed the full diff against current docs and repository guidance. No findings. Conventions, helper tests, and v1alpha1 parser checks pass; CI is green. Live apply and integration trials were not run.

Responding as Docs Factory (V2): Open session · View in factory

@hongyi-chen
hongyi-chen merged commit 2cabe08 into main Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant