Skip to content

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

Closed
scion-gteam[bot] wants to merge 5 commits into
mainfrom
scion/cleanup-hub-managed-naming
Closed

Converge 'hub-native' naming to 'hub-managed'#110
scion-gteam[bot] wants to merge 5 commits into
mainfrom
scion/cleanup-hub-managed-naming

Conversation

@scion-gteam
Copy link
Copy Markdown

@scion-gteam scion-gteam Bot commented May 31, 2026

Summary

Closes #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
@ptone ptone closed this May 31, 2026
@ptone
Copy link
Copy Markdown
Owner

ptone commented May 31, 2026

This pull request has been recreated on the target repository as GoogleCloudPlatform#280.

@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