Skip to content

Add connector catalog and live GitHub/GitLab/Confluence sources - #119

Open
Saga4 wants to merge 24 commits into
mainfrom
feat/connector-catalog-pr
Open

Add connector catalog and live GitHub/GitLab/Confluence sources#119
Saga4 wants to merge 24 commits into
mainfrom
feat/connector-catalog-pr

Conversation

@Saga4

@Saga4 Saga4 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a connector catalog for planned providers while keeping unsupported providers out of the runtime registry.
  • Promote GitHub to a live read-only source connector with PAT setup, daemon resolution, CLI/desktop connection flows, and filesystem hydration for repositories, README files, issues, and pull requests.
  • Promote GitLab to a live read-only source connector with PAT setup, daemon resolution, CLI/desktop connection flows, and filesystem hydration for projects, README files, issues, and merge requests.
  • Promote Confluence to a live read-only source connector with Atlassian site URL, email, API-token setup, daemon resolution, CLI/desktop connection flows, and filesystem hydration for spaces and pages.
  • Keep GitHub, GitLab, and Confluence writes blocked until reviewed provider-specific write models exist.
  • Document the connector promotion bar, official API references, and current runtime connector status.

Verification

  • cargo test -p locality-github
  • cargo test -p locality-gitlab
  • cargo test -p locality-confluence
  • cargo test -p locality-planned-connectors
  • cargo test -p localityd --test source_descriptor -- --test-threads=1
  • cargo test -p loc-cli connect:: --lib
  • cargo test -p loc-cli --lib
  • cargo test -p locality-desktop desktop_mount_creation_supports_linear_as_editable_source
  • npm --prefix apps/desktop run test -- source-setup --run
  • npm --prefix apps/desktop run build

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
locality Ready Ready Preview, Comment Jul 28, 2026 5:09pm

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codex review

  • major: apps/desktop/src-tauri/src/main.rs:7850
    create_desktop_mount_blocking supports GitHub/Confluence elsewhere, and connect_github_blocking / connect_confluence_blocking call it, but the remote_root_id match omits "github" and CONFLUENCE_CONNECTOR_ID. Those desktop flows hit the _ => unreachable!() arm, so connecting either source from desktop fails instead of creating the mount.
    Minimal fix: add GitHub and Confluence to the None arm, and add tests that the desktop connect/create path mounts both successfully.

  • major: crates/locality-confluence/src/client.rs:88
    list_spaces and list_pages request limit=100 once and return only collection.results; the DTO also drops pagination links/cursors. Confluence sites/spaces with more than 100 spaces or pages will silently omit the remaining content from the Locality filesystem projection.
    Minimal fix: model the collection pagination metadata and loop until there is no next page, with a test covering multiple pages.

@Saga4 Saga4 changed the title Add planned connector catalog Add connector catalog and live GitHub source Jul 23, 2026
@Saga4 Saga4 changed the title Add connector catalog and live GitHub source Add connector catalog and live GitHub/GitLab sources Jul 23, 2026
@Saga4 Saga4 changed the title Add connector catalog and live GitHub/GitLab sources Add connector catalog and live GitHub/GitLab/Confluence sources Jul 23, 2026
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