Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/entitlements-github-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: github/entitlements-github-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: github-repository-backend
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 17 files changed
  • 2 contributors

Commits on Sep 24, 2026

  1. Add direct repository access backend

    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 5b0e8ea9-7fd3-4e74-87d7-c3b7e69d8a7b
    hosom and Copilot committed Sep 24, 2026
    Configuration menu
    Copy the full SHA
    db55020 View commit details
    Browse the repository at this point in the history
  2. Document live permission-source scope requirement

    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 5b0e8ea9-7fd3-4e74-87d7-c3b7e69d8a7b
    hosom and Copilot committed Sep 24, 2026
    Configuration menu
    Copy the full SHA
    c8c3584 View commit details
    Browse the repository at this point in the history
  3. Avoid requesting unused effective repository permissions

    The live entitlements-default demo proved edge.permission adds a public_repo scope requirement to an admin:org token. Read only the source-specific roles consumed by reconciliation, without broadening credentials or falling back to effective permissions.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 5b0e8ea9-7fd3-4e74-87d7-c3b7e69d8a7b
    hosom and Copilot committed Sep 24, 2026
    Configuration menu
    Copy the full SHA
    d12e39a View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2026

  1. Enforce individual-only repository grants

    Remove all repository team associations and undeclared direct grants, including outside collaborators. Preserve team hierarchy and membership, order user upserts before cleanup, and verify snapshots before and after application.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: a8107bce-2500-45f8-b046-3f50092d9fbd
    hosom and Copilot committed Sep 25, 2026
    Configuration menu
    Copy the full SHA
    224de61 View commit details
    Browse the repository at this point in the history
  2. Respect organization-wide access during repository reconciliation

    Discover base permissions and every organization role and assignment. Accept owners as desired users, defer ambiguous owner grants and roles below inherited access, and preserve organization/enterprise team sources using access_source. Refresh organization access for stale-plan and convergence checks, fail closed on incomplete metadata, and document required read permissions and policy exceptions.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: a8107bce-2500-45f8-b046-3f50092d9fbd
    hosom and Copilot committed Sep 25, 2026
    Configuration menu
    Copy the full SHA
    c522a17 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2026

  1. Configuration menu
    Copy the full SHA
    a78f2f1 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2026

  1. Optimize repository reconciliation requests

    Memoize organization access for the repository backend, reuse preflight team state during removals, and avoid an unconditional post-apply snapshot. Remove the redundant local repository-name restriction while preserving typed boundaries and drift checks.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    Copilot-Session: 292c069a-f691-4294-9c1e-a1a66e38e1d1
    hosom committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    74b5781 View commit details
    Browse the repository at this point in the history
  2. Release repository backend 2.0

    Replace repository collaborator GraphQL reads with REST direct-affiliation inventory, reuse the reconciled organization membership cache, and document effective-role semantics. Bump the plugin major version for the repository backend behavior change.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    Copilot-Session: 292c069a-f691-4294-9c1e-a1a66e38e1d1
    hosom committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    ea0b5f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2026

  1. Refactor repository reconciliation for readability

    Split configuration, planning, model normalization, and transport logic into focused helpers with idiomatic Ruby method names.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    Copilot-Session: fec518cc-2bda-47aa-970e-92a6f437f5ae
    hosom committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    c3cd8e0 View commit details
    Browse the repository at this point in the history
  2. Align repository backend method names

    Match existing provider read, diff, and commit conventions and use the established sync naming for repository mutations.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    Copilot-Session: fec518cc-2bda-47aa-970e-92a6f437f5ae
    hosom committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    26e0ce8 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2026

  1. Fix repository access reconciliation review findings

    Refresh shared membership before apply, honor organization base permissions, and return nil after invitation warnings. Add regression coverage and document the organization settings requirement.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 14f3aa9b-c498-4260-9ab0-398b14e31350
    hosom and Copilot committed Oct 20, 2026
    Configuration menu
    Copy the full SHA
    dc38c96 View commit details
    Browse the repository at this point in the history
Loading