Skip to content

sync: bulk content update — sync diverged source files - #2133

Open
unsupo wants to merge 4 commits into
developmentfrom
sync/bulk-content-update
Open

unsupo wants to merge 4 commits into
developmentfrom
sync/bulk-content-update

Conversation

@unsupo

@unsupo unsupo commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Update ~220 source files that have diverged between internal master and public development. These files exist in both repos but internal has the newer version, and no open PR addresses them.

What changed

Bulk content sync — every file is updated to match internal master:

  • server/services/ — config, file, search, memory governor, golden repo reconciler, ~50 more
  • server/storage/ — database manager, postgres/sqlite backends, migrations runner, snapshot manager
  • server/routers/ — activated repos, files, git, diagnostics, inline routes, repository health
  • server/mcp/handlers/ — handler init, legacy, utils, admin, files, git read/write, search modules
  • server/startup/ — app wiring, lifespan, service init, clone backend wiring
  • global_repos/ — alias manager, cleanup manager, git operations, refresh scheduler, regex search
  • services/ — smart indexer, temporal services, embedding, git detection
  • server/web/ — web routes, group/repo access, siem delivery
  • utils/ — git runner, path confinement, subprocess diagnostics
  • Other scattered updates across indexing/, scip/, server/models/, server/query/, etc.

Review notes

All files are MODIFICATIONS of existing public files. This is the largest PR in the sync series.

Disclosure scan run. Ticket refs (EVO-NNNNN) appear in docstrings explaining design decisions — these are harmless identifiers. No K8s DNS, internal emails, AWS account IDs, or GitLab paths found.


Merge-order dependencies

Prerequisite What it supplies
PR #2122 cidx-sdk packages
PR #2123 + #2127 Feature packages + core integration
PR #2128 Auth/config modules

Review findings

# Severity Status Summary
3 BLOCKING Fixed Internal tracker keys in ~72 source files
4 BLOCKING Fixed Real internal hostname in config template → example.com
5 BLOCKING Fixed Internal repo alias in docstring → example-repo-global
1-2 BLOCKING Merge-order Missing modules from prerequisite PRs
6-14 HIGH/MED Noted Code quality, security (tracked privately)
15-21 LOW Noted Style, non-blocking

Update 224 source files where internal master has a newer version
than public development. Covers: server services, storage, routers,
MCP handlers, global repos, indexing, utils, and more.
Jonathan Arndt added 2 commits November 9, 2026 10:38
- Remove internal tracker keys from ~72 source files (EVO-/TDMS-/ARCH- → issue-NNNNN)
- Replace real internal hostname with gateway.example.com in config templates
- Replace internal repository alias with example-repo-global in docstrings
- Replace company hostname in trusted-gateway config form placeholders
  with gateway.example.com
- Scrub remaining tracker key from HTML comment
cleanup_manager.py calls alias_manager.alias_held_paths() to decide
whether a scheduled-for-deletion path is still reachable through an
alias, but AliasManager never defined that method -- every call raised
AttributeError, caught by a broad except and logged at WARNING with no
dedup on the cleanup thread's poll loop.

Adds alias_held_paths() as a thin read over the existing list_pointers(),
returning the normalized set of every alias's current and previous
target path.
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.

1 participant