Skip to content

Conversation

@aecsocket
Copy link
Contributor

No description provided.

@IMB11
Copy link
Member

IMB11 commented Nov 15, 2025

Endpoint changes needed for frontend;

  • Cant sort by oldest/newest first for the search endpoint.
  • CreatedAsc, LOW, MEDIUM, HIGH etc. isnt really inline with how we do enums for other endpoints, should be created_asc, low, medium ...

@aecsocket aecsocket force-pushed the boris/tech-review-queue branch 3 times, most recently from 2cd1c61 to c807076 Compare November 21, 2025 16:29
Copy link
Member

@IMB11 IMB11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Need to provide download_url for each file report
  • Broken url encoding for delphi downloading files

@aecsocket aecsocket added the backend Involves work from the backend team label Nov 24, 2025
@aecsocket
Copy link
Contributor Author

@clrxbl when this is deployed onto prod, the prod Delphi LABRINTH_ENDPOINT must be updated to point to _internal/delphi/ingest

@aecsocket aecsocket marked this pull request as ready for review December 15, 2025 22:59
@IMB11 IMB11 requested review from IMB11 and removed request for IMB11 December 17, 2025 15:40

/// Maps the error variant into an [`ApiError::Auth`] using the closure to create the message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods shouldn't panic so this isn't desirable


/// Maps the error variant into an [`ApiError::Auth`] with the given message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem


/// Maps the error variant into an [`ApiError::Request`] with the given message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem


/// Maps the error variant into an [`ApiError::Request`] using the closure to create the message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem


/// Maps the error variant into an [`ApiError::Internal`] with the given message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem


/// Maps the error variant into an [`ApiError::Internal`] using the closure to create the message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem


/// Maps the error variant into an [`eyre::Report`] with the given message.
#[inline]
#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem

@fetchfern fetchfern self-requested a review December 19, 2025 22:00
aecsocket and others added 4 commits December 19, 2025 22:04
* chore: fix typo in status message

* feat(labrinth): overhaul malware scanner report storage and routes

* chore: address some review comments

* feat: add Delphi to Docker Compose `with-delphi` profile

* chore: fix unused import Clippy lint

* feat(labrinth/delphi): use PAT token authorization with project read scopes

* chore: expose file IDs in version queries

* fix: accept null decompiled source payloads from Delphi

* tweak(labrinth): expose base62 file IDs more consistently for Delphi

* feat(labrinth/delphi): support new Delphi report severity field

* chore(labrinth): run `cargo sqlx prepare` to fix Docker build errors

* tweak: add route for fetching Delphi issue type schema, abstract Labrinth away from issue types

* chore: run `cargo sqlx prepare`

* chore: fix typo on frontend generated state file message

* feat: update to use new Delphi issue schema

* wip: tech review endpoints

* wip: add ToSchema for dependent types

* wip: report issues return

* wip

* wip: returning more data

* wip

* Fix up db query

* Delphi configuration to talk to Labrinth

* Get Delphi working with Labrinth

* Add Delphi dummy fixture

* Better Delphi logging

* Improve utoipa for tech review routes

* Add more sorting options for tech review queue

* Oops join

* New routes for fetching issues and reports

* Fix which kind of ID is returned in tech review endpoints

* Deduplicate tech review report rows

* Reduce info sent for projects

* Fetch more thread info

* Address PR comments

* fix ci

* fix ci

* fix postgres version mismatch

* fix version creation

* Implement routes

* feat: batch scan alert

* feat: layout

* feat: introduce surface variables

* fix: theme selector

* feat: rough draft of tech review card

* feat: tab switcher

* feat: batch scan btn

* feat: api-client module for tech review

* draft: impl

* feat: auto icons

* fix: layout issues

* feat: fixes to code blocks + flag labels

* feat: temp remove mock data

* fix: search sort types

* fix: intl & lint

* chore: re-enable mock data

* fix: flag badges + auto open first issue in file tab

* feat: update for new routes

* fix: more qa issues

* feat: lazy load sources

* fix: re-enable auth middleware

* feat: impl threads

* fix: lint & severity

* feat: download btn + switch to using NavTabs with new local mode option

* feat: re-add toplevel btns

* feat: reports page consistency

* fix: consistency on project queue

* fix: icons + sizing

* fix: colors and gaps

* fix: impl endpoints

* feat: load all flags on file tab

* feat: thread generics changes

* feat: more qa

* feat: fix collapse

* fix: qa

* feat: msg modal

* fix: ISO import

* feat: qa fixes

* fix: empty state basic

* fix: collapsible region

* fix: collapse thread by default

* feat: rough draft of new process/flow

* fix labrinth build

* fix thread message privacy

* New tech review search route

* feat: qa fixes

* feat: QA changes

* fix: verdict on detail not whole issue

* fix: lint + intl

* fix: lint

* fix: thread message for tech rev verdict

* feat: use anim frames

* fix: exports + typecheck

* polish: qa changes

* feat: qa

* feat: qa polish

* feat: fix malic modal

* fix: lint

* fix: qa + lint

* fix: pagination

* fix: lint

* fix: qa

* intl extract

* fix ci

---------

Signed-off-by: Calum H. <contact@cal.engineer>
Co-authored-by: Alejandro González <me@alegon.dev>
Co-authored-by: aecsocket <aecsocket@tutanota.com>
@aecsocket aecsocket enabled auto-merge December 20, 2025 11:22
@aecsocket aecsocket added this pull request to the merge queue Dec 20, 2025
Merged via the queue into main with commit 39f2b0e Dec 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Involves work from the backend team

Development

Successfully merging this pull request may close these issues.

5 participants