Skip to content

Boundary Docs: Add workers to the domain model - #3084

Open
stellarsquall wants to merge 3 commits into
mainfrom
rab-boundary-workers-domain-model
Open

Boundary Docs: Add workers to the domain model#3084
stellarsquall wants to merge 3 commits into
mainfrom
rab-boundary-workers-domain-model

Conversation

@stellarsquall

@stellarsquall stellarsquall commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Description

Description

Adds a workers page to the Boundary domain model documentation, and updates the
domain model overview and navigation to include it.

Workers were the only major Boundary resource without a domain model page, even
though the other pages reference them (targets have egress_worker_filter and
ingress_worker_filter, storage buckets have worker_filter). This fills that
gap and gives those references somewhere to point.

Engineers have previously requested that we add this page.

The new page workers domain model page includes:

  • What a worker is and what it does (session proxying, controller proxy for
    private Vault, SSH protocol decryption)
  • Global-scope placement and the name constraints
  • The three registration methods, and how the method you use determines whether
    name and description are writable through the API
  • Configurable attributes, plus a separate list of the output-only attributes
    Boundary populates from the worker's config file or reported status
  • Config tags vs. API tags, and how they combine into canonical tags for filtering

Page content is grounded in the source:

Claim Source
Global scope only server_worker.scope_id FK to iam_scope_global; scope validation in worker_service.go
Name lowercase, unique, required for KMS workers name_must_be_lowercase and worker_name_must_be_set_by_status table constraints; uniqueness error path in repository_worker.go
Attribute list and value sets internal/proto/controller/api/resources/workers/v1/worker.proto
pki/kms type mapped to registration method CreateWorker sets PkiWorkerType; KMS status upsert sets KmsWorkerType

Versions

Added to v1.0.x and back ported to v0.21.x, v0.20.x, v0.19.x, and v0.18.x.

The worker API resource is unchanged across this range. worker.proto is
identical from v0.18 through v1.0.0.

The 0.18.x copy differs because that docs set predates the docs restructure and
keeps the domain model under concepts/. It uses concepts/domain-model paths
and links to the worker docs that existed at the time:

Link 0.19.x–1.0.x 0.18.x
Registration workers/registration configuration/worker/worker-configuration
Multi-hop workers/multi-hop concepts/workers#multi-hop-sessions
Tags workers/worker-tags concepts/filtering/worker-tags

Pages to review

  • /boundary/docs/domain-model/workers (v1.0.x, v0.21.x, v0.20.x, v0.19.x)
  • /boundary/docs/concepts/domain-model/workers (v0.18.x)
  • /boundary/docs/domain-model — new Workers section and summary entry

Links

Jira ticket
Domain model overview preview
Domain model workers preview

Contributor checklists

Review urgency:

  • ASAP: Bug fixes, broken content, imminent releases
  • 3 days: Small changes, easy reviews
  • 1 week: Default expectation
  • Best effort: No urgency

Pull request:

  • Verify that the PR is set to merge into the correct base branch
  • Verify that all status checks passed
  • Verify that the preview environment deployed successfully
  • Add additional reviewers if they are not part of assigned groups

Content:

  • I added redirects for any moved or removed pages
  • I followed the Education style guide
  • I looked at the local or Vercel build to make sure the content rendered correctly

Adds a workers resource page to the Boundary 1.0.x domain model docs,
adding attributes, referenced by, service API docs, and reference-style
links.

- Global-scope-only placement, from the server_worker.scope_id foreign
  key to iam_scope_global and the scope validation in worker_service.go
- Name constraints (lowercase, unique per scope, required for workers
  registered via KMS), from the server_worker table constraints and the
  uniqueness error path in repository_worker.go
- Configurable and output-only attributes, from worker.proto, including
  the local_storage_state and remote_storage_state value sets
- The pki/kms type values mapped to their registration methods, from
  CreateWorker and the KMS status upsert in repository_worker.go

Also updates the domain model index page with a workers section and a
summary entry, and adds the page to the docs navigation.
…, and 0.18 docs sets

Backports the workers domain model page, the index page updates, and the
navigation entry to the 0.21.x, 0.20.x, 0.19.x, and 0.18.x docs sets.

The worker API resource is unchanged across these versions: worker.proto
is identical from v0.18 through v1.0.0 apart from the action sets,
global-scope validation, name constraints, and pki/kms type assignment.

The 0.18 docs set predates the docs restructure and keeps the domain
model under concepts/, so that copy uses concepts/domain-model paths and
points at the worker docs that existed at the time: worker-configuration
for registration, concepts/workers for multi-hop, and
concepts/filtering/worker-tags for tags.
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Thu Aug 13 18:32:07 UTC 2026
Unified Docs API ✅ Ready (Inspect) Visit Preview Thu Aug 13 18:27:54 UTC 2026

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Broken Link Checker

This PR contains broken links, but won't be blocked. Use this report to improve content quality:

Quick Actions

  • Internal links (HashiCorp sites): Please fix these - they impact user experience
  • External links: Consider if these are essential or can be updated/removed
  • Temporary issues: External sites may recover - check again before merging

Need Help?


Internal Links

Full Github Actions output

External Links

Summary

Status Count
🔍 Total 196
✅ Successful 0
⏳ Timeouts 0
🔀 Redirected 1
👻 Excluded 195
❓ Unknown 0
🚫 Errors 0
⛔ Unsupported 0

Redirects per input

Redirects in content/boundary/v0.18.x/content/docs/concepts/domain-model/index.mdx

Full Github Actions output

@stellarsquall stellarsquall changed the title Boundary Docs Boundary Docs: Add workers to the domain model Aug 11, 2026
@stellarsquall
stellarsquall marked this pull request as ready for review August 11, 2026 15:58
@stellarsquall
stellarsquall requested review from a team as code owners August 11, 2026 15:58

@yhyakuna yhyakuna 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.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants