Skip to content

Converge 'hub-native' naming to 'hub-managed'#280

Merged
ptone merged 5 commits into
GoogleCloudPlatform:mainfrom
ptone:scion/cleanup-hub-managed-naming
May 31, 2026
Merged

Converge 'hub-native' naming to 'hub-managed'#280
ptone merged 5 commits into
GoogleCloudPlatform:mainfrom
ptone:scion/cleanup-hub-managed-naming

Conversation

@ptone
Copy link
Copy Markdown
Member

@ptone ptone commented May 31, 2026

Summary

Closes ptone#96

Converges the inconsistent "hub-native" / "Hub Workspace" naming to the canonical "hub-managed" terminology across the entire codebase.

  • Go constants & functions: Renamed ProjectTypeHubNativeProjectTypeHubManaged (value "hub-native""hub-managed"), hubNativeProjectPathhubManagedProjectPath, initHubNativeProjectinitHubManagedProject, findAgentInHubNativeProjectsfindAgentInHubManagedProjects, syncHubNativeWorkspaceBacksyncHubManagedWorkspaceBack
  • Go comments: All ~100 comment references updated from "hub-native"/"Hub-native" to "hub-managed"/"Hub-managed"
  • Web UI: ProjectType changed from 'hub-native' to 'hub-managed'; label changed from "Hub Workspace" to "Hub-managed Workspace" in create dialog and git-remote display
  • Documentation: Updated all occurrences across docs-site, design docs, changelogs, and project glossaries
  • Tests: Renamed test functions/helpers, updated test fixture names to match

Wire-value note

The projectType API response field changes from "hub-native" to "hub-managed". This value is computed (not stored in DB) by populateProjectType(), so no data migration is needed. Per CLAUDE.md, the project is in alpha and does not require graceful deprecation for behavioral changes.

Test plan

  • go vet ./... passes
  • go build ./... compiles cleanly
  • All tests pass for affected packages (pkg/store, pkg/hub, pkg/runtimebroker, pkg/storage)
  • No remaining hub-native/HubNative/hubNative references in .go or .ts source files (verified via grep)

ptone added 5 commits May 31, 2026 16:35
Converge naming for hub-created projects from the inconsistent
"hub-native" to the canonical "hub-managed" terminology.

Changes:
- Rename constant ProjectTypeHubNative → ProjectTypeHubManaged
  (value "hub-native" → "hub-managed")
- Rename functions: hubNativeProjectPath → hubManagedProjectPath,
  initHubNativeProject → initHubManagedProject,
  findAgentInHubNativeProjects → findAgentInHubManagedProjects,
  syncHubNativeWorkspaceBack → syncHubManagedWorkspaceBack
- Rename test helpers and test function names accordingly
- Update all comments from "hub-native"/"Hub-native" to
  "hub-managed"/"Hub-managed"

Part of #96
- Change ProjectType from 'hub-native' to 'hub-managed' in types.ts
- Rename "Hub Workspace" label to "Hub-managed Workspace" in project
  creation form
- Update git-remote-display fallback text to "Hub-managed workspace"

Part of #96
Update all occurrences of "hub-native", "Hub-native", "Hub-Native",
"Hub Workspace" to their "hub-managed"/"Hub-managed" equivalents
across documentation, design docs, changelogs, and glossaries.

Part of #96
Update test fixture names from "Hub Native" to "Hub Managed" so that
auto-derived slugs match expected values in assertions.

Part of #96
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request unifies and converges the naming terminology across the entire codebase, replacing references to "hub-native" and "Hub Workspace" with the canonical "hub-managed" and "Hub-managed Workspace". This renaming affects Go identifiers, comments, constants, TypeScript types, web UI labels, tests, and documentation. There are no review comments to address, and I have no additional feedback to provide.

@ptone ptone merged commit 94a6235 into GoogleCloudPlatform:main May 31, 2026
8 of 10 checks passed
@scion-gteam scion-gteam Bot deleted the scion/cleanup-hub-managed-naming branch May 31, 2026 18:11
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.

Converge 'hub-native' / 'Hub Workspace' naming to 'Hub-managed'

1 participant