Skip to content

adding hub-sync feature code#873

Draft
jefeish wants to merge 23 commits into
main-enterprisefrom
feature/hub-sync
Draft

adding hub-sync feature code#873
jefeish wants to merge 23 commits into
main-enterprisefrom
feature/hub-sync

Conversation

@jefeish
Copy link
Copy Markdown
Contributor

@jefeish jefeish commented Aug 28, 2025

This pull request introduces a new "Safe Settings Hub Sync" feature for centralized configuration management across multiple organizations.
The main changes include:

  • adding a hub‑and‑spoke synchronization handler,
  • updating environment/configuration files
  • introducing a new installation cache for efficient GitHub App installation lookups.
  • adding a dashboard ui

Comment thread lib/hubSyncHandler.js Fixed
Comment thread lib/routes.js Fixed
Comment thread ui/src/app/components/EnvVariables.jsx Fixed
Comment thread ui/src/app/components/OrganizationsTable.jsx Fixed
Comment thread ui/src/app/components/Safe-settings-hubContent.jsx Fixed
Comment thread ui/src/app/components/Safe-settings-hubContent.jsx Fixed
Comment thread ui/src/app/components/ThemeToggle.jsx Fixed
Comment thread lib/hubSyncHandler.js Fixed
Comment thread lib/hubSyncHandler.js Fixed
Comment thread lib/hubSyncHandler.js Fixed
Comment thread lib/routes.js Fixed
Comment thread lib/routes.js Fixed
Comment thread ui/src/app/components/Safe-settings-hubContent.jsx Fixed
Comment thread ui/src/app/components/Safe-settings-hubContent.jsx Fixed
Comment thread ui/src/app/components/Safe-settings-hubContent.jsx Fixed
Comment thread ui/src/app/components/Safe-settings-hubContent.jsx Fixed
Comment thread ui/src/app/dashboard/help/page.jsx Fixed
jefeish and others added 20 commits September 24, 2025 15:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Introduced a new "disable_plugins" property in the settings schema to allow disabling specific plugins at various configuration layers.
- Each entry can be a plugin name or an object specifying the plugin and its target layer (self, children, all).
- Updated smoke-test.js to include interactive mode for manual validation during test phases.
- Implemented new test cases for the disable_plugins feature, covering normalization, strip map computation, and integration with updateOrg and updateRepos functions.
- Added tests to ensure proper handling of valid and invalid disable_plugins configurations.
…nds survive

Without action.msg in the dedup key, multiple disable_plugins NopCommands
for the same repo (e.g. skipping 'labels' AND 'teams') all share the same
type+repo+plugin+endpoint key and only the first one survives, silently
dropping the rest from the PR comment and check-run output.

Adding action.msg to the key ensures each unique informational message
is retained while still deduplicating exact duplicates.

Also adds test 27 to cover this case.
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.

3 participants