Skip to content

feat: latest release - #274

Draft
robertmarsal wants to merge 115 commits into
mainfrom
staging
Draft

robertmarsal wants to merge 115 commits into
mainfrom
staging

Conversation

@robertmarsal

Copy link
Copy Markdown
Contributor

No description provided.

brettwold and others added 30 commits November 10, 2026 15:48
chore(ENG-2785): stop sending advanced_analysis
…ra-sdk-bump-staging

feat(ENG-4421): bump ai.reveng:sdk to 4.75.1-rc.1 (staging)
Bound DNS lookups on the SDK HTTP client, since OkHttp's connect timeout
does not cover resolution and offline it can block for minutes.

Move the analysis status check on program open and the loading of
finished analysis results off the Swing thread into background tasks.
…ra-test-plugin-does-not-staging

fix(ENG-4400): keep Ghidra responsive when the network is down (staging)
…on matching

Match the portal's Match Settings: platform (Linux, Windows, Android) and
architecture (x86 64/32-bit, ARM 64-bit) toggles, where none ticked means
any, and a user search backed by v3ListUsers. The selections go out in
MatchFilters for both binary- and function-level matching, which now
share one buildMatchFilters.
…ra-function-matching-add-staging

feat(ENG-4403): add platform, architecture and user filters to function matching (staging)
…s bar

Split the dialog into "Filter Search" and "Filter Results" sections with
the Match Functions button right-aligned under the filters. Filters get
captions instead of titled boxes, in two equal columns; selectors show a
search hint and only show their tag strip once something is selected.
The results count moves next to the results filter, and the table and
assembly comparison share the space evenly.

Progress: the step reported by the server is now shown (it was dropped),
the bar fills by completed steps, and the Match button turns into a
working Cancel while a run is going. A cancelled run can no longer hide
the progress bar of, or write results into, the run that replaced it.
Renames get a task dialog instead of the hidden matching bar.
…nctions

The function-level dialog starts matching when it opens, and the Match
button now reads Cancel while a run is going. On slower CI runners the
tests' press landed during that first run and cancelled it, so the table
never filled. Wait for the first run to finish before pressing.
* fix: guard against null pointer exceptions

* fix: harden type names, recent analysis picker, chat worker and pull transaction

* test: give each test fork its own Ghidra temp dir
…atch

The run is marked finished and the button relabelled in one Swing update;
checking from the test thread could see it half done and find the button
still reading Cancel.
…ra-function-matching-design-staging

feat(ENG-4406): redesign function matching dialog and fix its progress bar (staging)
Replace the Rename buttons with Transfer dropdowns (Name / Signature /
Name and Signature), as in the portal. ApplyMatchCmd takes the part to
transfer; a signature-only transfer keeps the function's name and
namespace and pushes no rename to the portal.
…ra-function-matching-separate-staging

feat(ENG-4411): transfer name, signature or both from function matching (staging)
…older

Type extraction stores `undefined f(void)` (source SYSTEM, no parameters,
return type id 0 or none) for every function Ghidra had no signature for,
and reports it with has_signature true. Attaching an analysis applied it over
DWARF and analysis signatures, matching transferred it, and sync never pushed
the better local signature because the server seemed to have one.

- Treat the placeholder as no signature when pulling, syncing and matching.
- Don't let a SYSTEM signature replace a local IMPORTED or ANALYSIS one; the
  function still takes the portal's name. Portal edits (USER) still apply.
- Count a placeholder as missing when pushing back. Its row exists, so the
  signature PUT accepts the local signature.
…ra-dont-overwrite-real-staging

fix(ENG-4453): don't overwrite real signatures with the server placeholder (staging)
dorny/test-reporter creates the check run and updates it about 0.3 s later.
The update intermittently returns 404, which failed jobs whose tests had
passed and needed re-runs. Failing tests already fail the Run tests step,
so the report step can continue on error.
…r-staging

ci: don't fail the build when publishing the test report flakes (staging)
vgoat21 and others added 30 commits November 13, 2026 16:07
A function whose own closure is over the 500-type limit can never be
pushed: the types at the edge of the walk refer to ones it never
reached, so it is held back rather than written with null ids. The
limit stays, because it bounds the walk a single reactive edit can
trigger, but the reason now says so. UnresolvedDataTypesException
records whether the closure limit was the cause, and its message
names the limit instead of implying the portal gave no id.

A held-back function is an expected outcome, so the reactive push
logs it without a stack trace, and the sync backfill logs one summary
line with a few examples instead of one warning per function.

Adds a test for a single function over the limit: no null ids, no
partial struct write, no signature, and the edit stays marked. The
test mock's create answer now reuses CreatedDataTypes.echo.
Ghidra 12.2 removed the deprecated checkCanceled and clearCanceled, so the
wait monitor failed to compile there. Call and override only
clearCancelled and checkCancelled, which every supported version has.
…ra-staging-ci-flakes-turn-the-staging

fix(ENG-4588): stop staging CI flakes in dialog and sync tests
…ra-detach-during-a-running-staging

fix(ENG-4590): stop the analysis wait on Detach and close, ignore stale events
…eng-4589-ghidra-type-push-caps-the-closure-staging
ENG-4588 moved awaitDialog into RevEngMockableHeadedIntegrationTest while
ENG-4590 added a private copy to DetachDuringAnalysisTest. With both on
staging, the private static method clashes with the inherited one and
compileTestJava fails. The two are identical, so use the shared helper.
ENG-4588 moved awaitDialog into RevEngMockableHeadedIntegrationTest while
ENG-4590 added a private copy to DetachDuringAnalysisTest. With both on
staging, the private static method clashes with the inherited one and
compileTestJava fails. The two are identical, so use the shared helper.

(cherry picked from commit d5191b9)
The error-dialog tests still time out now and then on CI after a full 30s,
never locally. Print every thread's stack on a timeout so the next failure
shows where the work that leads to the dialog stopped.
Ghidra's EventManager drops an event fired while another of the same type
and name is being delivered, taking it for an event loop. The analysis
wait reports its status from a background thread, so on a slow machine
its first status (an Error or a Complete) could arrive while the Queued
event that started the wait was still being delivered, and was lost:
the failure was never reported, or the results never loaded. This is
what made the error-dialog tests time out on CI after a full 30s.

Fire status events from background threads with fireLater, which hands
them to the Swing thread to be fired once the current delivery is done.
The error-dialog tests still time out now and then on CI after a full 30s,
never locally. Print every thread's stack on a timeout so the next failure
shows where the work that leads to the dialog stopped.

(cherry picked from commit a6867d1)
Ghidra's EventManager drops an event fired while another of the same type
and name is being delivered, taking it for an event loop. The analysis
wait reports its status from a background thread, so on a slow machine
its first status (an Error or a Complete) could arrive while the Queued
event that started the wait was still being delivered, and was lost:
the failure was never reported, or the results never loaded. This is
what made the error-dialog tests time out on CI after a full 30s.

Fire status events from background threads with fireLater, which hands
them to the Swing thread to be fired once the current delivery is done.

(cherry picked from commit ad40ca3)
…ra-type-push-caps-the-closure-staging

fix(ENG-4589): never push a null data type id
…test-compile-staging

fix(ENG-4590): fix the staging test build and lost analysis status events
Since the wait's statuses are fired after the current event delivery
(fireLater), the Queued a wait reported can arrive after the wait has been
cancelled and has ended. With the program no longer tracked,
AnalysisLogComponent took it for a new analysis and started another wait,
which cleared the cancel and polled on. This is what failed
testCancelledMonitoringUntracksProgram on the release PR.

Statuses a wait reports now carry their own source, and never start a
wait: only Start Analysis, reopening a program and the like do.
dorny/test-reporter creates its check run and updates it with the
results a moment later. That update intermittently 404s, because the new
check run is not visible to the API yet; continue-on-error keeps the job
green, but the check run stays in progress for good, so the PR never
shows all checks finished.

When the report step fails, find any 'Tests (Ghidra X)' check run for the
head commit that is not completed, retrying while it becomes visible, and
complete it with the outcome of the Run tests step. Look them up with
filter=all: with filter=latest the endpoint returned no runs at all for
two of the three stuck checks.
…lete-stuck-report-check-staging

ci(ENG-4588): complete a test report check the reporter left in progress
…e-wait-event-staging

fix(ENG-4588): don't let a late status from a cancelled wait resume it
…-156-mb-file-upload-during

fix(ENG-4379): upload the binary stored in the program when its file is missing
…-data-type-sync-work-on

fix(ENG-4192): make data-type sync work with Gson 2.9
… them on restart

When a newer release is found, download the build for the running Ghidra
version, verify it against GitHub's SHA-256 asset digest and unpack it into
reai-plugin-update/ in the user settings folder. A shutdown hook starts
ExtensionSwapper in its own JVM, which waits for Ghidra to exit and swaps the
staged folder over the installed extension, restoring the old one on failure.

Adds an 'Install updates automatically' option; with it off, or when the
extension is not in the user's Extensions folder, the existing download
prompt is shown.
…-disassembly-highlighting

feat(ENG-3917): link AI decompilation lines to disassembly
…-caret

feat(ENG-3917): light disassembly on any caret move
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.

3 participants