Compare two models
Both models on the same 30 PRs and review mode, with the bugs each one found and missed.
BalancedHeavy
The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps.
49.8F239.6
54.7F145.6
47.0%Recall36.4%
65.3%Precision61.0%
170Comments141
$3.763Cost / PR$1.296
$1.017Cost / bug$0.452
Cost note: Amazon Bedrock, Global cross-Region inference profile.
74both found
37only Amazon Ergo 1.0
12only DeepSeek V4 Pro
113neither found
Per-PR diff (30)
Keycloak · Javaadd-caching-support-for-identityproviderstorageprovider-getforlogin-operations-keycloak3 disagree · 7 gold bugs
lowThe test registers cleanup for the literal alias "alias" instead of the created IDP aliases, so the created identity providers are never cleaned up.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumOn a partial cache miss getForLogin merges the previously read login query into a newly revisioned entry, so a concurrent invalidation can be lost and stale IDP IDs for other organizations persist.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumLogin-cache invalidation on update compares the organization-aware enabled state, so changing a broker to private while its organization is disabled skips invalidation and leaves the now-private IDP in the cached login list.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumregisterIDPLoginInvalidationOnUpdate returns early when the IDP stays a login IDP with the same organizationId without comparing BROKER_PUBLIC, so toggling kc.org.broker.public on a realm-level IDP leaves the login caches stale.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe cache-hit path of getForLogin collects IDPs into a HashSet and streams it, so results come in hash order instead of the delegate's order returned on a miss, making ordering differ by cache state.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highAdding the organization/BROKER_PUBLIC check to the shared LoginFilter.getLoginPredicate also changes IdentityProviderBean.federatedProviderPredicate, so with organizations disabled a user's linked IdP that has an organizationId but is not public is no longer shown on the login page.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumgetLoginPredicate treats BROKER_PUBLIC case-insensitively, but the JPA delegate matches the exact value "true". An update that only changes the case (e.g. true -> TRUE) skips login-cache invalidation, so the cached login IDP list no longer matches the delegate.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Keycloak · Javaadd-client-resource-type-and-scopes-to-authorization-schema-keycloak2 disagree · 15 gold bugs
mediumClaims the removal-cleanup listener is guarded by the V1 fine-grained flag, so client/role/group permissions are orphaned when V1 is disabled or only V2 is enabled.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highgetClientsWithPermission in ClientPermissionsV2 only finds the type-level 'Clients' resource and returns its name, never actual client ids, so callers that resolve the returned values as client ids get wrong results or null clients.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumClaims getResourceTypeResource can return null in ClientPermissionsV2.hasPermission, causing a NullPointerException in findByResource.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumClientPermissionsV2.canView() ignores a global MANAGE permission, so admins with only global manage take the unpaginated, per-client evaluated listing path.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highcanView(client) short-circuits on the global all-clients VIEW permission, so a client-specific permission denying an admin is never evaluated and the client is still viewable.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe negative check for removing a default client scope expects ForbiddenException, but it can come from the preceding getDefaultClientScopes() call, so the test passes even without a permission check on removal.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumAdminPermissionsSchema.getResourceName handles only USERS, so for the new CLIENTS resource type the admin API returns a null/UUID display name instead of 'All clients' or the clientId.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highIn ClientPermissionsV2.hasPermission, an admin granted a permission on all clients is denied on any client that also has its own per-client permission resource, because only the per-client resource is evaluated.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highClientPermissionsV2.canExchangeTo throws UnsupportedOperationException, but AbstractTokenExchangeProvider still calls clients().canExchangeTo for client-to-client exchange, so with token exchange and FGAP V2 enabled the request fails with a server error instead of a permission decision.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumAfter granting all-clients VIEW, testViewAllClients asserts only not(empty()) on the client listing. It would pass if only myclient were exposed instead of all clients.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highClaims that the CLIENTS type and new scopes are added only to the static schema and that init() skips realms that already have the admin-permissions client. Realms with V2 enabled earlier would then miss the Clients resource and the configure/map-roles scopes, which breaks creating and evaluating client permissions.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumClientPermissionsV2.canView(ClientModel) chains canView(), canManage(client), canConfigure(client) and the VIEW check, so one client can cost up to four full policy evaluations of the same resource. ClientsResource.getClients repeats this for every client in the listing.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumtestMapRolesAndCompositesOnlyOneClient grants role-mapping scopes on myclient and only exercises myclient, without checking that a second client stays forbidden. A regression that applies a per-client grant to all clients would still pass.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumtestConfigureOnlyOneClient grants CONFIGURE only on myclient, and every post-grant operation targets myclient. The test would still pass if canConfigure ignored the client argument and applied the grant to every client.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumAfter granting all-clients MANAGE, testManageAllClients asserts only that the client listing is not empty. It would pass if the endpoint omitted some authorized clients.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
cal.com · TypeScriptadd-guest-management-functionality-to-existing-bookings-cal-com6 disagree · 18 gold bugs
highisTeamAdminOrOwner combines isTeamAdmin and isTeamOwner with &&, so only team owners pass; team admins who are not organizer or attendee are wrongly rejected with FORBIDDEN.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe guest blacklist is lowercased but incoming guest emails are compared without normalization, so a blacklisted address submitted with different casing bypasses BLACKLISTED_GUEST_EMAILS and is added and emailed.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe server never deduplicates the guests array, so a request with the same email twice inserts duplicate attendee rows for the booking.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highAttendee authorization and existing-attendee dedup compare emails case-sensitively, so an attendee with differently-cased stored email is FORBIDDEN and a case-variant of an existing attendee is added again.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumThe handler passes the unfiltered guests list to sendAddGuestsEmails, which uses it to pick who gets AttendeeScheduledEmail, so existing attendees included in the request receive a new-booking confirmation instead of the add-guests email.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highEventManager is created with the requesting user's credentials, so when a non-organizer adds guests the organizer's calendar event is not updated (or the wrong account is used) for references without a credentialId.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highClaims a failing calendar update at addGuests.handler.ts:165 aborts the mutation after guests are persisted; the calendar update path already swallows provider errors.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumThe guests array has no server-side size limit, so any authorized caller, including an attendee, can add thousands of guests and trigger an unbounded batch of inserts and emails.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumAfter a validation failure followed by a successful add, isInvalidEmail stays true, so the stale emails_must_be_unique_valid error shows the next time the dialog is opened.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumsendAddGuestsEmails ignores the event type's disableStandardEmails settings, so hosts and attendees receive add-guests emails even when standard emails are disabled.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumThe add-guests handler omits booking.iCalUID from the CalendarEvent, so the add-guests emails' .ics attachments use booking.uid as UID and recipients' calendars treat them as a new event rather than an update of the original booking invite.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highGuest email uniqueness is checked case-sensitively, so case variants of the same address are accepted as distinct guests (and slip past the lowercased blacklist).Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highaddGuests does not check the booking status, so guests can be added to cancelled or rejected bookings, which updates calendars and emails invitations for events that no longer exist.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
lowThe addGuests FORBIDDEN error uses the translation key you_do_not_have_permission, which is missing from the locale files, so the dialog shows the raw key to users.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumaddGuestsHandler fetches the organizer with findFirstOrThrow on booking.userId || 0; bookings with a null userId make the lookup throw an unhandled Prisma error, returned as a 500 instead of a handled TRPCError.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumsendAddGuestsEmails builds attendee emails without showAttendees, so for seated events the email hides other attendees even when seatsShowAttendees is enabled.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumClaimed: different errors for unknown vs unauthorized booking ids let any authenticated user enumerate valid booking ids.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe add-guests action and handler ignore eventType.disableGuests and seatsPerTimeSlot, so guests can be added to events where guests are disabled and to seated events without a seat record.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Keycloak · Javaadd-html-sanitizer-for-translated-message-resources-keycloak1 disagree · 7 gold bugs
mediumThe Lithuanian TOTP setup step was replaced with Italian text in both the account and login bundles.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe diff-trimming code computes common prefix and suffix independently, so they can overlap and substring throws StringIndexOutOfBoundsException, crashing the verifier instead of reporting the illegal HTML.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highnormalizeValue blanks the entire choice expression for some keys before HTML validation, so markup placed inside a choice branch of those keys bypasses the new verifier.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe account and admin UI bundles now use Java MessageFormat placeholders and choice syntax for error-invalid-multivalued-size, but i18next expects {{n}}, so the UI shows literal {0}/{1}/{2} and the raw choice text.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe anchor regex </?a[^>]*> in the theme verifier treats any tag starting with 'a' (<abbr>, <area>, ...) as an anchor tag, which can produce misleading anchor errors or strip such tags before HTML sanitizing.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe illegalHtmlTag fixture uses a malformed '</div' closing tag, so the sanitizer flags it for malformation and verifyIllegalHtmlTagDetected would still pass if <div> were permitted by POLICY_SOME_HTML; the test does not isolate the forbidden-tag check.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumsantizeAnchors removes matching opening anchor tags without checking that the translation keeps the matching closing </a> (or the same number of anchors), so a translation with an unclosed <a ...> passes verification and renders a link that swallows the following content.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Grafana · Goanonymous-add-configurable-device-limit-grafana-codexagree · 5 gold bugs
highThe device limit check counts devices and then inserts in separate non-atomic steps, so concurrent requests from new devices can all pass the check and exceed the configured limit.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
hightagDeviceUI caches the device key before CreateOrUpdateDevice; when the store returns ErrDeviceLimitReached the entry stays, so the next request from the same device skips the limit check and authenticates for up to 29 minutes.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe new auth.anonymous device_limit setting has no entry in conf/defaults.ini, so the GF_AUTH_ANONYMOUS_DEVICE_LIMIT environment override is ignored and the limit stays 0.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumupdateDevice prepends the query to the captured args inside the retried DB callback, so a SQLite lock retry runs Exec with the query duplicated in the arguments and the update fails.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highClaims a client disconnect cancels the context, TagDevice fails with context.Canceled, and Authenticate still succeeds without counting the device, bypassing the limit.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Grafana · Godual-storage-architecture-grafana-codex1 disagree · 11 gold bugs
mediumThe legacy DeleteCollection goroutine records its duration with recordStorageDuration instead of recordLegacyDuration, misattributing legacy latency and errors to the storage metric.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumDelete's success path records the storage metric with the object name in the kind label instead of options.Kind, creating per-object series and inconsistent labels.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumOn storage Create/Update failure the duration is recorded with recordLegacyDuration, attributing unified-store errors to the legacy metric.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highMode 3 legacy writes now run in background goroutines derived from the request context, which is cancelled when the request completes, so legacy writes can be cancelled and legacy storage falls out of sync.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highLegacy.Update now receives the original objInfo instead of a wrapper carrying the object stored in unified storage, so legacy recomputes the update and can diverge.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe Mode 3 tests never wait for or assert the asynchronous legacy writes, and legacy and storage share one mock, so removing the legacy calls would not fail them.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highIndependent per-request goroutines remove ordering between legacy writes to the same resource, so legacy can end up with an older version or a resurrected object.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumMode 3 legacy-storage write errors (create/update/delete/delete-collection) are no longer logged after moving to async goroutines; only a duration metric with an error flag is recorded.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highDualWriterMode3.Delete now returns on any unified-storage error, including NotFound, before deleting from legacy, so objects that exist only in legacy can no longer be deleted.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumTestMode3_Get and TestMode3_List share one mock.Mock between the legacy and storage mocks with identical method names, so they would still pass if Mode 3 read from LegacyStorage instead of Storage.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumThe new Mode 3 playlist integration subtests set DualWriterDesiredModes to Mode3, but SetDualWritingMode defaults a fresh key to Mode1 and only handles Mode1<->Mode2 transitions, so the subtests silently run in Mode1 and Mode3 cannot be enabled through configuration.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Discourse · Rubyenhance-embed-url-handling-and-validation-system-discourse-cursor7 disagree · 30 gold bugs
mediumThe postMessage handler in embed.js checks the sender with discourseUrl.indexOf(e.origin), a substring test instead of exact origin equality, so a page on an origin that is a substring of the Discourse URL can send forged discourse-resize messages to the embedding page.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe referer and embed_url host checks compare against SiteSetting.embeddable_host case-sensitively, so a host differing only in case is rejected even though hostnames are case-insensitive.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highPollFeed reads i.content.scrub for every feed item, so items without a content element (common in RSS feeds that only have description) raise NoMethodError and abort the import of the remaining items.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
criticalTopicEmbed.import appends a footer that interpolates the URL unescaped into an <a href='...'> tag in raw HTML that is later rendered unsanitized, so a crafted URL can inject markup; it also appends to contents with << without handling nil.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highWhen the embedded post has been deleted, TopicEmbed.import's update path passes a nil embed.post to PostRevisor and crashes on every later import of that URL.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumClaims import_remote crashes on unparseable pages (nil content) and dead URLs because it does no nil check or network error handling around open(url).read.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumabsolutize_urls only handles root-relative paths: protocol-relative URLs like //cdn.example.com/x.png are rewritten to http://host/cdn.example.com/x.png and path-relative links are left unresolved, breaking links and images in imported posts.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
lowThe embed view formats post dates with a hard-coded strftime pattern, so users in non-English locales see English month names and a fixed order while the rest of the view is translated.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe Disqus importer now creates topics through TopicEmbed.import_remote, dropping the thread's created_at and the category option and requiring a live HTTP fetch per thread, so imported topics get wrong dates/categories and a dead link aborts the import.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumEvery retrieval of an article not yet embedded synchronously polls and imports the entire RSS feed, and since throttling is per URL, many different article requests repeat the full feed download and processing.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumThe 'is 404 without an embed_url' spec never sets an embeddable host, so the request is rejected by ensure_embeddable before the embed_url check runs, and the test would pass even without that check.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe 'requires feed_polling_url' and 'requires embed_by_username' specs leave feed_polling_enabled at its false default, so they never reach the condition they name and would pass with those checks deleted.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumembed_url is a varchar(255) column, so importing/embedding a URL longer than 255 characters fails on insert and that page can never get its discussion topic.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumPostMover#copy recreates the first post via PostCreator without passing cook_method, so a moved raw_html (embedded/imported) first post is re-cooked through the markdown pipeline and its content changes.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumEmbedController#best renders the 'loading' placeholder and still calls discourse_expires_in 1.minute, so the anonymous cache stores the placeholder under the embed URL and visitors keep seeing 'Loading Discussion...' for up to a minute after the topic exists.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumTopicEmbed.import wraps PostCreator#create in Topic.transaction, so PostCreator's post-transaction job enqueueing (process_post, feature_topic_users, etc.) runs before the outer transaction commits, and a worker that picks up ProcessPost early finds no post and skips post-processing for the imported topic.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
high`import_remote` fetches the embed URL with open-uri, which follows redirects, so the embeddable-host check on the initial URL can be bypassed to reach internal services (SSRF).Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumTopicEmbed.import_remote fetches the embed URL with open(url).read and no timeout or size limit, so a slow or huge remote page can block the background job and exhaust memory.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe retrieve throttle is keyed by the full embed URL, so an anonymous client can vary the query string on the embeddable host to bypass it and make the server create an unbounded number of topics.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe "requires feed_polling_enabled?" spec leaves feed_polling_url and embed_by_username at their blank defaults, so poll_feed is skipped regardless and the test would pass even without the enabled check.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highThe embed layout references the 'embed' stylesheet and embed.js, but neither is in config.assets.precompile, so with precompiled assets in production the embed page fails to load them.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe embed layout writes the full request.referer into the page, and the page is anon-cached for a minute under a key without the referer. One embedding page's full URL, including query secrets, can be served to other visitors.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumTopicEmbed.import checks post.present? after PostCreator#create, but PostCreator returns an unsaved post when it rolls back on host spam. TopicEmbed.create! then runs with nil ids and raises, which aborts the import.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumabsolutize_urls calls URI(url) without a rescue, so a malformed URL that passes the http regex raises URI::InvalidURIError and aborts the PollFeed import.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumtopic_id_for_embed returns the stored topic_id even after the topic is deleted, and topic_embeds rows are never removed. /embed/best errors permanently for that URL, and TopicRetriever never re-creates the topic.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highPollFeed always HTML-unescapes item content, so feeds that already carry literal HTML (CDATA) get their escaped entities decoded a second time. Escaped code samples become live markup in the raw_html post.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumEmbedController#best's anonymous cache key leaves out the referer. Within the cache window, a request from a non-embeddable or missing referer gets the cached page, including X-Frame-Options ALLOWALL, without ensure_embeddable running.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumTopicRetriever#perform_retrieve runs PollFeed inline without a rescue, so a failing or malformed feed raises and aborts retrieval before the fetch_http fallback runs.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highPollFeed fetches feed_polling_url with Kernel#open, so a setting value starting with '|' runs a shell command on the job server. Anyone who can edit site settings gets command execution.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumPost#cook returns self.raw for raw_html posts and ignores the text it is given. Callers that cook different text, such as add_topic_to_quotes.rake, store cooked output that does not match the new raw.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
cal.com · TypeScriptfeat-2fa-backup-codes-cal-com1 disagree · 8 gold bugs
criticalThe credentials authorize() skips the password check when any totpCode is present, and the new backup-code branch never validates that totpCode, so a backup code plus a dummy totpCode logs in without the account password.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumAfter enabling 2FA, onEnable is only called from the backup-codes Close button; dismissing the dialog by Escape/overlay never notifies the parent, so the settings page keeps showing 2FA disabled.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe backup-code copy e2e test only waits for the success toast, which is shown unconditionally, so it never verifies the clipboard content.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
highBackup-code consumption is a non-atomic read-modify-write, so concurrent logins can accept the same backup code more than once or overwrite each other's removal.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe hand-built `mockUser: User` fixture in inviteMemberUtils.test.ts lacks the new backupCodes field, so it no longer satisfies the Prisma User type and type-checking that file fails.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
lowThe backup-code field became a PasswordField but keeps an explicit type="password" prop that overrides the internal visibility state, so the show/hide toggle never unmasks the input.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumEnableTwoFactorModal resets its step only from the footer buttons; dismissing the new backup-codes step via Escape or overlay leaves step at DisplayBackupCodes (and skips onEnable, so the settings switch is not refreshed), so reopening the enable modal shows the old backup-codes screen instead of the password step.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumIn lost-access mode the backup-code field's native required/length attributes are inert because the login form uses noValidate and has no RHF/zod rule for backupCode; submitting an empty code returns SecondFactorRequired, which the client handles silently, so the user gets no feedback.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
cal.com · TypeScriptfeat-convert-insightsbookingservice-to-use-prisma-sql-raw-queries-cal-com1 disagree · 3 gold bugs
mediumThe getBaseConditions test uses a single booking matching both auth and filter conditions, so it would pass even if the conditions were not combined.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe new public options type makes teamId optional for team scope, so a missing teamId compiles and silently yields empty insights instead of a type error.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
highClaims getBaseConditions returns OR fragments without parentheses, so a caller appending `AND <extra>` would leak rows outside the authorization scope.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Sentry · Pythonfeat-ecosystem-implement-cross-system-issue-synchronization-sentryagree · 1 gold bugs
mediumshould_sync suppresses outbound assignee sync for every external issue that belongs to the originating integration, not just the issue the change came from. If a group links Jira issues A and B in the same integration, an inbound assignment from A never reaches B, so B's assignee goes stale.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Sentry · Pythonfeat-workflow-engine-add-in-hook-for-producing-occurrences-from-the-stateful-det-sentryagree · 2 gold bugs
highMetricAlertDetectorHandler subclasses StatefulDetectorHandler without implementing its abstract methods, so instantiating it for metric alert detectors raises TypeError where it previously returned an empty-result handler.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe mock occurrence builder ignores its value argument, so tests (e.g. group_2 expected with 6 while the packet carries 10) pass regardless of which value is passed to build_occurrence_and_event_data.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
Discourse · Rubyfeature-automatically-downsize-large-images-discourse-cursor1 disagree · 9 gold bugs
highdownsize is defined twice in OptimizedImage; the new (from, to, dimensions, opts) version overrides the (max_width, max_height) one, so existing callers such as ResizeEmoji that pass width and height now raise ArgumentError.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe client-side upload size check hardcodes 10 MB instead of the per-type max_<type>_size_kb setting, so attachment limits diverge from the server: larger allowed attachments are blocked and smaller limits are only enforced server-side.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe upload downsizing passes a percentage ('80%') as dimensions, but for animated GIFs the gifsicle path uses --resize-fit, which expects WxH geometry, so downsizing silently fails.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumAuto-downsizing passes the upload tempfile path, which lacks a .gif extension, so the animated branch is never chosen and convert keeps only the first frame, flattening oversized animated GIFs.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highClaims the downsize loop checking tempfile.size may never terminate because of a stale cached size, causing infinite loops.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highOversized SVG uploads go through the new ImageMagick downsize loop because SVG counts as an image, so the vector file is rasterized or corrupted in place before Upload.create_for parses it as SVG.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
criticalThe upload tempfile path, which for API URL uploads embeds the request-controlled type param, is now passed to OptimizedImage.downsize and run unescaped in a shell via backticks, allowing command injection through type.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe 413 upload error message states a hard-coded 10 MB maximum that may not match the limit the server or web server actually enforces.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe oversized-image downsize loop in UploadsController#create always uses allow_animated_thumbnails as the animation policy, so with allow_animated_avatars on and allow_animated_thumbnails off an oversized animated GIF avatar is reduced to its first frame before Upload.create_for applies the avatar setting, losing the animation.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Discourse · Rubyfeature-can-edit-category-host-relationships-for-embedding-discourse-cursor2 disagree · 10 gold bugs
mediumupdate and destroy in Admin::EmbeddableHostsController fetch the host with where(id:).first and never check for nil, so an unknown id raises NoMethodError and returns a 500 instead of not-found.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highrecord_for_host compares lower(host) against the un-lowercased URI host, so mixed-case referer hosts fail to match allowed hosts and embedding is rejected.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe migration copies the legacy embeddable_hosts values into the new table without stripping scheme and path, so hosts stored as http://example.com no longer match the bare-host lookup and previously allowed embeds are rejected after upgrade.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe migration reads execute(...)[0]['id'] for embed_category without checking for an empty result, so installs without that setting stored crash the migration instead of falling back to the uncategorized category.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumAfter saving a host, the component overwrites its category with findById(categoryId); when no category was chosen this is null even though the server saved the uncategorized category, so the row shows no category until reload.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highHosts saved with a port (allowed by the validation regex) are stored as host:port, but lookup compares only URI.host, so those configured hosts never match and embedding fails for them.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highEmbeddableHost's host format validation only accepts TLDs of 2-5 letters, so admins cannot add embeddable hosts on longer TLDs like example.technology.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumEmbeddableHost has no (case-insensitive) uniqueness validation or unique index, so the same host can be saved twice with different categories and record_for_host silently picks whichever row comes first.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe embeddable-host component's delete action has no .catch(popupAjaxError) on destroyRecord(), so a failed host deletion is silently swallowed and the row stays with no feedback to the admin.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe 'raises an error with a missing host' spec sends no referer, so the request fails on the nil referer regardless of the empty embeddable_hosts table; the missing-host behaviour is not actually tested.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Discourse · Rubyfeature-localization-fallbacks-server-side-discourse-cursor1 disagree · 3 gold bugs
mediumFallback locale catalogs are only loaded in the controller's set_locale filter, while translate loads just the current locale, so translations outside requests (jobs, mailers) cannot fall back to the site default or English.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe translation cache key does not include the site or its default locale, but fallback results now depend on SiteSetting.default_locale, so multisite processes or a changed default locale serve stale fallback translations.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highFallbackLocaleList#[] reads SiteSetting.default_locale.to_sym on every I18n.t call; when site settings are unavailable (fresh DB/migrations, failed refresh! leaving an empty container) the read returns nil or raises, so I18n.t calls in boot/rake/seed paths crash instead of falling back to :en.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Keycloak · Javafix-concurrent-group-access-to-prevent-nullpointerexception-keycloakagree · 2 gold bugs
mediumThe concurrency regression test never waits for the reader thread before asserting no exceptions, so it can pass even when the concurrent-deletion NPE still occurs.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe null guard for a concurrently deleted cached group is added only to getSubGroupsCount; the getSubGroupsStream overloads still dereference modelSupplier.get(), so e.g. GroupResource.getSubGroups still throws the NPE the PR set out to fix.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
cal.com · TypeScriptfix-handle-collective-multiple-host-on-destinationcalendar-cal-com7 disagree · 20 gold bugs
highWhen externalCalendarId is absent, updateEvent/deleteEvent look for a destination calendar whose externalId equals that absent value, so the lookup never matches and the configured destination calendar is no longer used.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe organization slug is now set only when team billing is enabled (inverted condition), so with billing both slug and requestedSlug are set and without billing neither is.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highOffice365 (and Lark) createEvent ignore the new credentialId argument and always use the first destination calendar, so in collective bookings other hosts' credentials target the organizer's calendar instead of their own.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumClaims updateAllCalendarEvents passes an undefined credential to updateEvent when reference.credentialId points to a credential that cannot be found.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highThe Google Meet fallback reads mainHostDestinationCalendar.integration without optional chaining, so a Meet booking with a null or empty destinationCalendar throws instead of falling back to Cal Video.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highFor collective events whose organizer has no destination calendar, destinationCalendar is null and the optional push drops all other hosts' destination calendars, so those hosts never get calendar events.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highVideo booking references are now saved without their credentialId, so cancelling the booking can no longer find the video credential and the meeting is not deleted.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highCancelling all remaining occurrences of a recurring collective booking deletes only the first calendar reference of each booking, repeated once per host, so the other hosts' events stay on their calendars.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highGoogle createEvent picks the target calendar only by matching credentialId, so destination calendars without a credentialId are ignored and events are created on the primary calendar instead.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumFor destination calendars without a credentialId, createEvent is called without the externalId, so the booking reference is stored with an undefined externalCalendarId.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highFor collective bookings, CalDAV/Apple createEvent matches calendars only against the main host's destination externalId, so other hosts' calendars are filtered out and they silently get no calendar event.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highCalendarEvent.destinationCalendar became an array and evt is spread into webhook payloads, so payload.destinationCalendar changes from an object/null to an array and subscribers reading .externalId or .integration break.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highWhen rescheduling merges into a new booking, only the first old `_calendar` reference is deleted via `.find()`, leaving stale events on other hosts' calendars for collective bookings; iterate all old calendar references.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumIn Google createEvent, when no destination calendar matches the credentialId, the hangout-link events.patch is called with an undefined calendarId and fails, so the Meet link is not added to the event description.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumWhen cancelling a recurring booking with multiple calendar references, the recurring-event deletion over all remaining bookings and credentials runs once per reference, causing duplicate delete calls and errors.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumloadUsers forwards raw Prisma error messages to the client in a 400 response, exposing internal model and query details.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumcreateAllCalendarEvents awaits the credential lookup and createEvent for each destination calendar in sequence, so collective booking latency grows linearly with host count.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe Stripe and PayPal payment-success handlers build destinationCalendar as a one-element array (booking or organizer calendar) before EventManager.create, so paid collective bookings create the calendar event only for the organizer and not for the other hosts.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumGoogle createEvent selects the target calendar by credentialId only while the booking reference stores the destination's externalId; when two destination calendars share a credential the event is inserted into the first match but the reference records the other calendar, breaking later updates/deletes.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumIn createAllCalendarEvents the no-credentialId branch runs per destination and reuses the organizer's credentials filtered by integration, so several same-integration destinations without credentialId create duplicate events on the organizer's calendar.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Discourse · Rubyfix-proper-handling-of-group-memberships-discourse-cursor1 disagree · 13 gold bugs
mediumThe admin group pager computes total pages as floor(user_count / limit) + 1, so when the member count is an exact multiple of the limit it shows an extra page and Next navigates to an empty member list.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumPaging actions fire overlapping member requests and each response unconditionally overwrites offset and members, so a stale response arriving last can revert the list to an earlier page.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe public members endpoint now always caps results at 50 per page, but the public group members page has no pagination, so groups with more than 50 members are silently truncated for users.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumCreating a group ignores the alias_level the admin selected, saving only name and visibility, so new groups keep the default alias level.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumRemoving a member deletes the membership row directly and skips clearing the user's primary_group_id, so a removed user can keep this group as their primary group.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumGroupsController#members now returns {members, meta} with pagination, but the public groups controller spec still expects a bare array and stays pending, so the new response contract is untested.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumGroup member pagination is off by one when user_count is a multiple of limit: Next moves to offset == user_count and shows an empty page.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumAdmin remove_member deletes memberships with group.users.delete, which skips GroupUser callbacks, so the cached groups.user_count is never decremented and stays inflated.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumAdmin add_members pushes every username into group.users without skipping existing members, so adding someone already in the group hits the unique group_users index, returns a 500 and leaves earlier users partially added.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe public group members endpoint takes `limit` from params with no upper bound or positivity check, letting a visitor request huge pages or trigger a 500 with a negative limit.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumAdmin remove_member calls group.users.delete with a raw integer id, which raises RecordNotFound (404/500) when the user is not or no longer a member, e.g. on concurrent removal.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumGroup#removeMember and #addMembers have no rejection handler and the admin controller discards their promises, so failed member additions/removals are silently swallowed with no error shown to the admin.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumAfter removeMember succeeds, findMembers reloads with the old offset, clamped only by the stale user_count; removing the only member on the last page (e.g. 51 members, offset 50) requests offset equal to the new total and the admin sees an empty, out-of-range page.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
Keycloak · Javafixing-re-authentication-with-passkeys-keycloak1 disagree · 2 gold bugs
highPasswordForm now accepts passkey-only users, but only the keycloak.v2 login-password.ftl renders the passkeys conditional UI; the base template (used by the legacy keycloak theme) does not, so a passkey-only user is shown a password-only form they cannot complete.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumlogin-password.ftl now renders the passkeys macro, making reachable an error path where fillContextForm sets enableWebAuthnConditionalUI but returns before setting isUserIdentified/userVerification, so passkeys.ftl fails to render and a FreeMarker error replaces the login page.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Grafana · Gofrontend-asset-optimization-grafana-codexagree · 0 gold bugs
No gold bugs in this PR.
Sentry · Pythongithub-oauth-security-enhancement-sentry1 disagree · 7 gold bugs
highThe GitHub OAuth state is pipeline.signature, a static md5 of the pipeline view names, instead of a per-attempt random nonce, so it gives no CSRF protection.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe new OAuth step's token exchange and user lookup are not wrapped in error handling, so GitHub/network failures surface as 500s instead of the installation-failed page.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highWhen no Integration exists yet for the installation_id the pipeline advances without comparing the OAuth user to the installer, bypassing the new ownership check.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highThe installer check indexes integration.metadata['sender']['login'] without checking that sender exists, raising KeyError for integrations created without sender metadata.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumtest_installation_not_found uses a wrong OAuth state, so it fails at the state check and never reaches the installation-not-found path it is meant to test.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumGitHubInstallation re-fetches the existing Integration filtered by status=ACTIVE and errors if not found; an Integration with this external_id that is not ACTIVE and has no OrganizationIntegration now gets the generic 'Invalid installation request' page instead of advancing so ensure_integration can reactivate it, blocking re-installs.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe new installer-ownership check stores and compares GitHub's mutable login (OAuth /user login vs metadata sender.login) instead of the immutable numeric id; after the installer renames, another account that claims the old login passes the check and can link the installation.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Keycloak · Javaimplement-access-token-context-encoding-framework-keycloak1 disagree · 5 gold bugs
mediumThe AccessTokenContext constructor checks grantType twice instead of rawTokenId, so a null rawTokenId passes validation and is encoded as ':null'.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumisAccessTokenId reads the grant shortcut at the wrong offset (3,5 instead of 4,6) and inverts the comparison, so the event assertions never verify the token's grant type.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumtestIncorrectGrantType catches any RuntimeException, so it passes on a NullPointerException from the unset sessionFactory rather than verifying the unknown-grant IllegalArgumentException.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumClient-credentials (and UMA permission) token issuance never sets the GRANT_TYPE attribute, so their access token ids are encoded with the unknown grant 'na' instead of their shortcut.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe legacy token-exchange path in AbstractTokenExchangeProvider never sets Constants.GRANT_TYPE on the client session context, so tokens it issues are encoded with grant shortcut 'na' instead of the token-exchange shortcut.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Grafana · Gonotification-rule-processing-engine-grafana-codex2 disagree · 6 gold bugs
highThe pause menu item is still gated on a Grafana ruler rule, but the list view now passes only the Prometheus rule, so Pause/Resume disappears for list-view rules even when the user may pause them.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe Delete menu item still requires a ruler rule, which list-view Grafana rules no longer provide, so users with delete permission lose the Delete action.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumWhen the Grafana prom-rule branch is skipped (datasource rules), useAllGrafanaPromRuleAbilities(undefined) still reports Duplicate as supported and allowed by Grafana create permission, and AlertRuleMenu ORs it with the ruler ability, so Duplicate appears on cloud rules even when the ruler check denies it.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe refactor of useAllAlertRuleAbilities into useAllRulerRuleAbilities drops the isFederatedRuleGroup check (isFederated is hardcoded false), so federated Mimir rules are reported as editable and deletable.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe Grafana prom-rule abilities gate Pause, Restore, Export and DeletePermanently on alertingRule(rule) while the comment claims it checks Grafana-managed rules, so Grafana recording rules lose these actions in the list view.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highFor list-view Grafana rules RuleActionsButtons gets only promRule, so the Silence menu item is shown but the silence drawer, still gated on a ruler alerting rule, never renders and clicking Silence does nothing.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
cal.com · TypeScriptoauth-credential-sync-and-app-integration-enhancements-cal-com5 disagree · 19 gold bugs
mediumThe webhook parses the body with zod .parse and decrypts/JSON-parses the keys without error handling, so invalid payloads produce 500 errors instead of 400 responses.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumThe webhook's non-atomic findFirst-then-create lets concurrent deliveries for the same user and app insert duplicate credential rows.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
highparseRefreshTokenResponse writes the hardcoded string 'refresh_token' when the refresh response omits a refresh token, so the stored credential gets an invalid refresh token and later refreshes fail.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumminimumTokenResponseSchema uses computed keys from z.string().toString(), which produce a literal key rather than a wildcard, so the sync-mode schema does not validate or keep expiry and other token fields as intended.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highIn sync mode refreshOAuthTokens returns a raw fetch Response, but callers expect their provider-specific shapes (res.data, axios .data, HubspotToken), so token refresh breaks for Google, Zoho and HubSpot when credential sharing is on.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highGoogle Calendar persists the safeParse result object instead of its data as the credential key, corrupting the stored credential so later reads fail.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumSalesforce getClient now refreshes the OAuth token and writes the credential on every service construction, adding a network round trip and DB write even when the access token is valid.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
highThe new Salesforce token refresh uses prisma without importing it, so the code fails type checking and throws a ReferenceError at runtime.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumZoho Bigin passes the credential id instead of the user id to refreshOAuthTokens, so the sync endpoint receives the wrong calcomUserId.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highSalesforce checks response.statusText !== 'OK' instead of response.ok when refreshing the token, which can misclassify successful responses, and then ignores the refreshed token.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highAfter refreshing the Salesforce token, jsforce.Connection is created with the stale access_token and instance_url instead of the newly refreshed values.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highWebex refresh is routed through refreshOAuthTokens but still validated with the strict webexRefreshedTokenSchema, so the minimal sync-endpoint response fails parsing and Webex refresh breaks for shared credentials.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe app-credential webhook looks up appStoreMetadata by app.slug, but the map is keyed by dirName, so apps whose slug differs from their directory (e.g. google-calendar) always get a 404 and their credentials cannot be synced.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumFor MS Teams, a sync-endpoint response without expires_in makes the existing fallback set expiry_date to now and replace the stored key with only access_token/expiry_date, so every Teams call triggers another refresh and credential write and the refresh_token is lost.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highThe webhook updates the first credential matching userId+appId, but a user can have several credentials for the same app and the payload carries no credential identifier, so the wrong account's key can be overwritten while the intended one stays stale.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe webhook writes new keys without resetting the credential's invalid flag, so a credential previously marked invalid (e.g. after invalid_grant) remains excluded from calendar operations even after the source of truth pushes valid keys.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highZoom sends appSlug "zoomvideo" (the directory name) to the credential sync endpoint, but the app's slug and stored credentials use "zoom", so the sync service and the webhook (app lookup by slug) cannot resolve Zoom and token sync fails.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
highSalesforce refreshes directly against Salesforce but parses the response with the minimum sync schema when credential sync is enabled, stripping instance_url and other fields from the stored key, so subsequent jsforce connections have no instance URL and the integration breaks.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumWith credential sync configured, parseRefreshTokenResponse always uses the minimum schema even when refreshOAuthTokens fell back to the provider (team credentials with userId null), so provider responses skip app-specific validation and transforms such as Office365's expires_in conversion.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Discourse · Rubyoptimize-header-layout-performance-with-flexbox-mixins-discourse-cursoragree · 6 gold bugs
mediumThe flex-item styles target the inner .extra-info-wrapper instead of the component's root div, so in the flexbox header a long topic title keeps its full width and pushes the navigation panel out instead of being truncated.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
lowThe align-items mixin emits no -moz-box-align, so on old Firefox versions using the display:-moz-box fallback the advertised vertical centering is not applied.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
lowRemoving the float-based right alignment of .d-header .panel leaves the server-rendered (no-JS) header's login panel, which sits inside .row and is not a flex item, no longer right-aligned next to the title.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
lowMaking .small-action a flex container leaves .small-action-desc content-sized (no flex:1), so the right-floated edit/delete buttons inside it sit right after short action descriptions instead of at the right edge of the row.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumOn mobile the .small-action custom message keeps margin-left:-40px, tuned for the old 4em left padding; with the new flex layout and 1.5% padding it is pulled into the avatar column and overlaps the icon.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe PR replaces the floats in the header with flexbox (.contents flex container, .panel margin-left:auto + order(3)) and drops the float:right fallback on .panel; in browsers without modern flexbox (IE9, which Discourse still targets, and legacy -webkit-box/-moz-box engines that ignore auto margins) the panel is no longer pushed right and stacks below or beside the logo, breaking the header layout.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Grafana · Goplugins-chore-renamed-instrumentation-middleware-to-metrics-middleware-grafana-codexagree · 0 gold bugs
No gold bugs in this PR.
Sentry · Pythonref-crons-reorganize-incident-creation-issue-occurrence-logic-sentryagree · 0 gold bugs
No gold bugs in this PR.
Sentry · Pythonreplays-self-serve-bulk-delete-system-sentry2 disagree · 14 gold bugs
mediumThe age/timestamp mutual-exclusion validators check truthiness via initial_data.get(), so a zero value is treated as absent and a report carrying both fields passes validation.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe validation-failure warning logs the entire raw, attacker-controlled browser report instead of a redacted subset.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe Snuba replay lookup for error IDs runs even when enable_error_context=false, adding a needless query (and failure point) to opt-out requests.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highWith the use-table-widget-visualization flag on, the widget renders TableWidgetVisualization with hardcoded empty columns and data instead of the query results, so every table widget shows an empty table.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe custom cell renderers fall back to default rendering on any falsy return (0, '', null), not only undefined, so a renderer cannot render zero or an empty cell.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumThe attribute-keys query key no longer includes the organization slug, so two organizations with the same filters share a cache entry and switching orgs can show the previous org's attribute names.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumdelete_replays_script_async in replays/tasks.py still does range(0, max_segment_id) without a None check, so replays with no ingested segments raise TypeError, the case the PR fixed only in _make_recording_filenames.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumEvery paginated breadcrumb-summary request queries the replay and fetches all of its error events from nodestore with no cap, adding latency and memory proportional to the replay's error count on each page.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumHIDDEN_ATTRIBUTES is applied only when a search query is present; the no-search early return shows all attributes, so the hidden attributes still appear in the default span attributes view.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe bulk delete test sets max_segment_id to None to cover the new guard in _make_recording_filenames, but it mocks delete_matched_rows, so the guard is never executed and removing it would not fail the test.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumError event timestamps (seconds) are compared with replay recording event timestamps (milliseconds), so errors are not interleaved chronologically with breadcrumbs.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumanalyze_recording_segments gets every error in the replay on every paginated page, and gen_request_data emits all of them each time (earlier ones before the first event, the rest at the end), so every page repeats the replay's errors and attaches them to breadcrumbs from other time ranges.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe breadcrumb-summary endpoint forwards the client's ?field= params into process_raw_response, which only needs error_ids: an unknown field raises KeyError (HTTP 500), and a field list without error_ids silently drops all error context from the summary.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
mediumThe rewritten browser-reporting collector tests no longer post with content_type='application/reports+json', so the endpoint's BrowserReportsJSONParser and the reporting media type it exists for are untested; a broken parser would go unnoticed.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
cal.com · TypeScriptsms-workflow-reminder-retry-count-tracking-cal-com1 disagree · 6 gold bugs
mediumretryCount is set to reminder.retryCount + 1 from a value read at the start of the run instead of an atomic increment, so overlapping runs can lose increments.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe deleteMany OR clause applies retryCount > 1 without the SMS method filter, so the SMS cron deletes any workflow reminder (email, WhatsApp) with retryCount above 1.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it
mediumThe retry-count update inside the catch block is not guarded, so if it throws (for example the reminder was deleted concurrently) the error escapes the loop and the cron run fails, skipping the remaining reminders.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
criticalClaims transient errors increment retryCount, so two runs during an outage delete the whole pending SMS reminder queue.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
highSMS-sending locks are counted as failed scheduling attempts: scheduleSMS returns undefined for locked users/teams, retryCount is incremented, and after two cron runs the retryCount > 1 cleanup deletes future reminders even if sending is later unlocked.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumscheduleWhatsappReminders never increments retryCount on Twilio failure, so failing WhatsApp reminders are retried on every cron run and never reach the retryCount > 1 cleanup added for SMS.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Sentry · Pythonspan-buffer-multiprocess-enhancement-with-health-monitoring-sentry1 disagree · 4 gold bugs
highThe restart path only kills a hung flusher if it is a multiprocessing.Process, but spawn-context workers are SpawnProcess, so hung processes are never killed and a duplicate flusher is started for the same shards.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumjoin() breaks out of the per-process loop when the shared deadline expires, skipping termination of the remaining flusher processes and leaving them running after shutdown.Amazon Ergo 1.0 found it · DeepSeek V4 Pro missed it
mediumsubmit() queries cluster-wide Redis memory once per flusher buffer, repeating identical INFO calls per process on every submit.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
medium_ensure_processes_alive only kills the old flusher when isinstance(process, multiprocessing.Process), but it always starts a replacement. A hung thread-based flusher, and even a spawn-context process (SpawnProcess is not a multiprocessing.Process subclass), keeps running beside the new one, so both flush and produce the same shards' segments and duplicate output.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro missed it
Grafana · Gounified-storage-performance-optimizations-grafana-codex1 disagree · 3 gold bugs
mediumBuildIndex now locks only the final cache assignment, so concurrent callers for the same uncached key all build the same expensive index in parallel and the last one overwrites the others.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
highThe new startup log calls TotalDocs, which iterates the index cache without a lock, after the event goroutine that can add indexes has started, so a concurrent map read and write can crash the process.Amazon Ergo 1.0 found it · DeepSeek V4 Pro found it
mediumThe PR skips the storage-server module integration test on postgres instead of fixing the failure, removing coverage of the new eager initialization on postgres.Amazon Ergo 1.0 missed it · DeepSeek V4 Pro found it