Skip to content

v0.8.36: sim search, provenance improvements - #7817

Merged
waleedlatif1 merged 9 commits into
mainfrom
staging
Sep 14, 2026
Merged

waleedlatif1 merged 9 commits into
mainfrom
staging

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

icecrasher321 and others added 5 commits September 14, 2026 12:40
…7813)

* fix(auth): exclude retired organization columns from adapter queries

* chore(tests): remove flaky integration context case
…ion (#7816)

* fix(copilot): import the block registry statically in context resolution

processBlockMetadata loaded @/blocks/registry with a dynamic import even though
the module already reaches it statically through permission-groups/block-access.
Concurrent dynamic imports of the mocked registry intermittently resolved the real
registry under vitest, costing seconds and timing out the block-context test on
CI. A static import is equivalent at runtime and removes the race.

* test(scripts): anchor the deferred-edge graph fixture on a module that still defers the registry
* fix(webhooks): authorize credential references on webhook upsert

POST /api/webhooks persisted client-supplied providerConfig verbatim, while
subscription handlers and pollers resolve providerConfig.credentialId by id
alone and mint tokens as the credential's owner. Authorize credentialId for
the acting user within the workflow's workspace before subscribing or saving,
require it to be a literal id, and never accept a client-supplied userId,
which the polling token resolver falls back to.

* fix(webhooks): authorize the stored credential and drop stored userId on re-save

* fix(webhooks): authorize both requested and stored credentials on upsert

* fix(webhooks): authorize the stored credential only when the save uses it

* fix(webhooks): check credentials after the permission-group gate

* improvement(webhooks): validate credential id shape once before authorization
* fix(provenance): bind durable reads to their source snapshots

* test(provenance): align Copilot query mock with snapshot reader
@waleedlatif1
waleedlatif1 requested a review from a team as a code owner September 14, 2026 20:00
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 14, 2026 9:40pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The behavior appears sound, but the webhook credential authorization must be moved behind the repository’s required application-operation boundary before merging.

Findings

  1. P2 Route owns protected authorization

Summary

This release improves durable provenance binding, webhook credential validation, knowledge-search candidate storage, Better Auth compatibility, and Copilot secret/context resolution.

  • Captures table-row and uploaded-file provenance against the exact database/content snapshots read.
  • Adds a transactionally maintained compact binary projection for vector-search candidates and a resumable backfill.
  • Validates credentials used by webhook subscription lifecycle operations and removes client-controlled provider user identities.
  • Projects retired organization columns out of Better Auth-generated queries.
  • Refreshes environment-secret metadata when Copilot resolves variables and statically loads the block registry.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  EmbeddingWrite[Embedding insert or update] --> SyncTrigger[Projection sync trigger]
  SyncTrigger --> CandidateTable[(embedding_search)]
  CandidateTable --> ANN[Compact binary ANN]
  ANN --> Rerank[Full-vector reranking]
  Rerank --> AuthorizedResults[Authorized search results]

  RowRead[Table row read or write] --> Snapshot[Repeatable-read or write transaction]
  Snapshot --> ReturnedValues[Returned row values]
  Snapshot --> Provenance[Bound provenance capture]

  WebhookRequest[Webhook upsert request] --> Route[Webhook route]
  Route --> CredentialCheck[Credential authorization]
  CredentialCheck --> Subscription[Subscription and polling lifecycle]
Loading

Reviews (1) · Last reviewed commit: "fix(provenance): bind durable reads to t..."

Comment thread apps/sim/app/api/webhooks/route.ts
* feat(files): add zip file-type icon

* fix(files): normalize mime type before icon matching

* improvement(files): make shared document icons the single source of truth
…an the default (#7820)

* improvement(sidebar): allow dragging the sidebar slightly narrower than the default

* fix(sidebar): clamp the default width fallback to the viewport maximum
@waleedlatif1
waleedlatif1 merged commit 2b139e4 into main Sep 14, 2026
67 of 68 checks passed
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.

2 participants