Skip to content

Update tree-sitter requirement from <0.22,>=0.21 to >=0.21,<0.26 in /api - #11

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/api/tree-sitter-gte-0.21-and-lt-0.26
Closed

Update tree-sitter requirement from <0.22,>=0.21 to >=0.21,<0.26 in /api#11
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/api/tree-sitter-gte-0.21-and-lt-0.26

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 23, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on tree-sitter to permit the latest version.

Release notes

Sourced from tree-sitter's releases.

v0.25.2

What's Changed

Full Changelog: tree-sitter/py-tree-sitter@v0.25.1...v0.25.2

Commits
  • e2a5b21 chore: release 0.25.2
  • bddf8ad build: bump tree_sitter/core from a467ea8 to da6fe9b
  • 2a94c01 fix(parser): fix memleak of source_view
  • 10ff18d build: bump tree_sitter/core from 629093d to a467ea8
  • 8452c1b ci: bump actions/setup-python from 5 to 6 in the actions group
  • d2d8789 ci: bump actions/upload-pages-artifact from 3 to 4 in the actions group
  • d36bde5 build: properly detect MSVC compiler
  • ec0eab3 build: bump tree_sitter/core from 3624198 to 629093d
  • 5bae230 ci: bump actions/checkout from 4 to 5 in the actions group
  • 794a34f ci: bump actions/download-artifact from 4 to 5 in the actions group
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [tree-sitter](https://github.com/tree-sitter/py-tree-sitter) to permit the latest version.
- [Release notes](https://github.com/tree-sitter/py-tree-sitter/releases)
- [Commits](tree-sitter/py-tree-sitter@v0.21.0...v0.25.2)

---
updated-dependencies:
- dependency-name: tree-sitter
  dependency-version: 0.25.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Mar 23, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github

dependabot Bot commented on behalf of github Mar 25, 2026

Copy link
Copy Markdown
Contributor Author

Looks like tree-sitter is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Mar 25, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/api/tree-sitter-gte-0.21-and-lt-0.26 branch March 25, 2026 16:11
dvcdsys added a commit that referenced this pull request Apr 25, 2026
- cli/cmd/config.go (CodeQL go/clear-text-logging, alert #2):
  `cix config show` previously printed `cix_abcdef123456...wxyz` for
  configured keys (masked but still leaked first 12 + last 4 chars =
  half the entropy of a 32-char hex key). CodeQL flagged this as
  clear-text logging of sensitive data.

  Replace masked rendering with length-only metadata
  ("(set, N chars)"). Users who need the actual value can read
  ~/.cix/config.yaml directly; the show command's job is to verify
  that the value is configured, not to disclose it.

- .github/workflows/ci-go.yml (CodeQL go/missing-permissions, alert #11):
  Workflow had no permissions block, so it inherited the full
  GITHUB_TOKEN scope of the repo. The job only runs vet/test/build —
  no writes, no SARIF, no publishes — so a `permissions: contents: read`
  block is sufficient. Brings ci-go.yml in line with the other
  workflows (release-cli, release-server, security) which already
  pin permissions explicitly.

The 5 Trivy alerts on server/bench/go.mod auto-closed after 36c105c
added skip-dirs: server/bench to the trivy-action config.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dvcdsys added a commit that referenced this pull request Apr 25, 2026
- cli/cmd/config.go (CodeQL go/clear-text-logging, alert #2):
  `cix config show` previously printed `cix_abcdef123456...wxyz` for
  configured keys (masked but still leaked first 12 + last 4 chars =
  half the entropy of a 32-char hex key). CodeQL flagged this as
  clear-text logging of sensitive data.

  Replace masked rendering with length-only metadata
  ("(set, N chars)"). Users who need the actual value can read
  ~/.cix/config.yaml directly; the show command's job is to verify
  that the value is configured, not to disclose it.

- .github/workflows/ci-go.yml (CodeQL go/missing-permissions, alert #11):
  Workflow had no permissions block, so it inherited the full
  GITHUB_TOKEN scope of the repo. The job only runs vet/test/build —
  no writes, no SARIF, no publishes — so a `permissions: contents: read`
  block is sufficient. Brings ci-go.yml in line with the other
  workflows (release-cli, release-server, security) which already
  pin permissions explicitly.

The 5 Trivy alerts on server/bench/go.mod auto-closed after 36c105c
added skip-dirs: server/bench to the trivy-action config.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dvcdsys added a commit that referenced this pull request May 12, 2026
- cli/cmd/config.go (CodeQL go/clear-text-logging, alert #2):
  `cix config show` previously printed `cix_abcdef123456...wxyz` for
  configured keys (masked but still leaked first 12 + last 4 chars =
  half the entropy of a 32-char hex key). CodeQL flagged this as
  clear-text logging of sensitive data.

  Replace masked rendering with length-only metadata
  ("(set, N chars)"). Users who need the actual value can read
  ~/.cix/config.yaml directly; the show command's job is to verify
  that the value is configured, not to disclose it.

- .github/workflows/ci-go.yml (CodeQL go/missing-permissions, alert #11):
  Workflow had no permissions block, so it inherited the full
  GITHUB_TOKEN scope of the repo. The job only runs vet/test/build —
  no writes, no SARIF, no publishes — so a `permissions: contents: read`
  block is sufficient. Brings ci-go.yml in line with the other
  workflows (release-cli, release-server, security) which already
  pin permissions explicitly.

The 5 Trivy alerts on server/bench/go.mod auto-closed after 36c105c
added skip-dirs: server/bench to the trivy-action config.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dvcdsys added a commit that referenced this pull request May 14, 2026
- validHMAC now rejects empty-secret signatures upfront. The
  WebhookSecret column is NOT NULL, but the explicit check guards
  against accidental empty strings in future regressions. New
  TestValidHMAC_RejectsEmptySecret.
- workspacejobs zeroes the decrypted PAT after the
  repocloner.CloneOrFetch call via deferred clear. Best-effort
  documentation of intent — Go GC may still hold copies.
- OpenAPI: document that GET /projects/{hash}/webhook-info returns
  404 for local projects (no git_repos row), so callers can
  distinguish "project missing" from "expected — local project".

Resolves Fix #11, #12, #13.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
dvcdsys added a commit that referenced this pull request May 14, 2026
- validHMAC now rejects empty-secret signatures upfront. The
  WebhookSecret column is NOT NULL, but the explicit check guards
  against accidental empty strings in future regressions. New
  TestValidHMAC_RejectsEmptySecret.
- workspacejobs zeroes the decrypted PAT after the
  repocloner.CloneOrFetch call via deferred clear. Best-effort
  documentation of intent — Go GC may still hold copies.
- OpenAPI: document that GET /projects/{hash}/webhook-info returns
  404 for local projects (no git_repos row), so callers can
  distinguish "project missing" from "expected — local project".

Resolves Fix #11, #12, #13.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
dvcdsys added a commit that referenced this pull request May 22, 2026
…ct identity

Introduce a per-user authorization model so a shared cix-server can serve
agents of many users safely, and fix local-project identity collisions across
machines.

Authorization (server + dashboard):
- Roles renamed viewer -> user; two-tier RBAC (admin, user).
- Projects/workspaces gain owner_user_id; external projects (git_repos peer)
  are ownerless and admin-administered.
- New view_groups + membership + project/workspace share tables. Members of a
  group get read/search on external projects and workspaces shared to it.
- Access enforced in handlers (requireProjectAccess/Ownership,
  requireWorkspaceVisible/Ownership, mustBeAdmin): list filtering, owner-on
  create, admin-only git-repos/github-tokens/groups, owner-or-admin mutations.
- New endpoints: groups CRUD + members, project/workspace shares,
  PUT /projects/{hash}/owner; /auth/me returns the caller's groups.
- Dashboard: View Groups admin module, share-to-group cards, reassign-owner,
  role-aware control hiding.

Per-machine project identity:
- Local project key is namespaced local:{machine_id}:{path}; path_hash derives
  from it so the same path on different machines/users no longer collides.
  display_path holds the real path; machine_id/machine_label added.
- CLI generates ~/.cix/machine_id, sends it on create, and computes the
  matching hash (client.EncodeProjectPath); server is the formula authority.

Migrations #10 (auth) and #11 (machine identity): existing users -> admin,
local projects + workspaces -> first active admin, external stay ownerless;
display_path backfilled. Breaking — announce in release notes; re-init local
projects. Coordinated CLI<->server bump.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

0 participants