instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
OpenHFT__Chronicle-Bytes__378
OpenHFT/Chronicle-Bytes
378
defect
8a8b5203ebf94c7962f559332273fa3c347c013d
c11268511d653c91428c7c902d418494b1ad360b
Replace NoByteStore, Fix #374
This fixes a number of problems with the old NoByteStore and reduces the API.
diff --git a/src/main/java/net/openhft/chronicle/bytes/BytesStore.java b/src/main/java/net/openhft/chronicle/bytes/BytesStore.java index d6481e4b25f..5d0cc4ff924 100644 --- a/src/main/java/net/openhft/chronicle/bytes/BytesStore.java +++ b/src/main/java/net/openhft/chronicle/bytes/BytesStore.java @@ -23,6 +23,7 @@ impo...
1
1
0
[{"id": "G0", "claim": "The anonymous VanillaBytes subclass created in SingletonEmptyByteStore.bytesForRead pushes the envelope — the VanillaBytes constructor should only be used by descendants of VanillaBytes, so the existing VanillaBytes.vanillaBytes() factory should be used instead.", "category": "design", "verdict"...
null
OpenHFT__Chronicle-Bytes__423
OpenHFT/Chronicle-Bytes
423
defect
951727de11e876af69c8ce9589e92dc19b18236e
54ded9cc353c965b614d8b48bce65cf3e05b8039
Fixed wrong writePosition being used for EmbeddedBytes
See also https://github.com/OpenHFT/Chronicle-Wire/pull/549 - reproducing test
diff --git a/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java b/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java index be3e1480708..f82f772bfac 100644 --- a/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java +++ b/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java @@ -133,7 +...
1
1
0
[{"id": "G0", "claim": "It may be feasible/worth making the `writePosition` field private in `AbstractBytes` to reduce the number of places a bug like this can be reintroduced going forward.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
OpenHFT__Chronicle-Bytes__494
OpenHFT/Chronicle-Bytes
494
defect
34be9494cb53914d0b1c25d33e70b5fc58c58952
87c70d897df0fa338aab7afbd0d1b8737321ebd8
Add perf tests for reading from/writing to byte arrays. #493
Fairly crude in that they combine about 4 tests into one perf test, but should be enough to pick up significant performance regressions
diff --git a/pom.xml b/pom.xml index 4fc95aee634..3180be502b6 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <groupId>net.openhft</groupId> <artifactId>java-parent-pom</artifactId> <version>1.1.36</version> - <relativePath /> + <relativePath/> </parent> <artifa...
2
2
0
[{"id": "G0", "claim": "The perf test's probe names should include \"8bit\" so the names say which encoding the measured operations use.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be very useful to have utf8 versions of the read/wri...
null
OpenHFT__Chronicle-Bytes__495
OpenHFT/Chronicle-Bytes
495
defect
630e2c55e55379fc1521df94db862718565567dd
e8c126be0ecd41eddddcde3a32d4cbe9f815305e
Fix error is asDouble and parseDouble on the edge of precision.
Issue https://github.com/OpenHFT/Chronicle-Core/issues/484
diff --git a/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java b/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java index 0feabbb3ac8..8563f91a5b5 100644 --- a/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java +++ b/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java @@ -234,22 ...
3
1
0
[{"id": "G0", "claim": "Asks whether the new 32-byte direct-write allowance in append(double) is sufficient, e.g. because exponents are used for very large or very small numbers.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Delete the asDouble deleg...
null
OpenHFT__Chronicle-Bytes__500
OpenHFT/Chronicle-Bytes
500
defect
aa623af2c54b6427936d073a3a11832b289ab4e9
4ce2b3056cd5d32c9e312824983c3b2de7e1e861
JLBH for contentEquals. Allow perf tests to run on all Java versions. Closes #472
Also improves diagnosis around vectorizedMismatch and allows to be disabled with `disable.vectorized.content_equals`
diff --git a/pom.xml b/pom.xml index 8e30cdadf40..d71d0c7b8bf 100644 --- a/pom.xml +++ b/pom.xml @@ -485,12 +485,6 @@ <artifactId>exec-maven-plugin</artifactId> <configuration> - <systemProperties> - <systemPro...
1
1
0
[{"id": "G0", "claim": "The new contentEquals benchmark should compare content that varies in how much of it is equal (several calls ranging from fully equal to differing early), because the performance of the comparison depends on how much of the content is equal.", "category": "testing", "verdict": "supported", "prio...
null
OpenHFT__Chronicle-Bytes__55
OpenHFT/Chronicle-Bytes
55
defect
9ae053401b064ce48b8021557a2742c6967c66e2
3a9d9c8a3be41203d64d309402aec82993f61b2e
Issue 53
Hi Rob, here is a fix for this issue. However I noticed that the fix is neccessary, only if we are going to read from a pre-existing file. If we read from a file on which we also write, the write call will ensure that the right byte store was acquired. The code I added is between lines 519-552, together with a tes...
diff --git a/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java b/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java index d8bfa2d8bc5..dbb9e183330 100755 --- a/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java +++ b/src/main/java/net/openhft/chronicle/bytes/AbstractBytes.java @@ -16,25 +...
3
1
0
[{"id": "G0", "claim": "The change includes widespread IDE reformatting (added parentheses and braces) that makes the real change almost impossible to review, and the author should turn off auto-formatting or format in the project's style in future contributions.", "category": "maintainability", "verdict": "supported",...
null
OpenHFT__Chronicle-Bytes__562
OpenHFT/Chronicle-Bytes
562
defect
6810c8a1a0e7e1f1f641c9d1b107d05d3f8249fa
c33523bce342ac12c876badc9d7bc889d87752fd
Extend API to support custom page size (hugetlbfs).
Part of https://github.com/ChronicleSoftware/QueueEvolution/issues/68
diff --git a/pom.xml b/pom.xml index fe49869c27a..4782242f480 100644 --- a/pom.xml +++ b/pom.xml @@ -76,6 +76,7 @@ <dependency> <groupId>net.openhft</groupId> <artifactId>chronicle-core</artifactId> + <version>2.24ea27-SNAPSHOT</version> </dependency> <d...
1
1
1
[{"id": "G0", "claim": "The 'Found pageSize=...' message is logged at warning level, whose presence in some Queue tests configured to fail on warnings causes those tests to fail; it should be logged at info level instead (e.g. by adding a Jvm.info() if needed).", "category": "correctness", "verdict": "supported", "prio...
null
OpenHFT__Chronicle-Bytes__587
OpenHFT/Chronicle-Bytes
587
defect
6b771106011833b1f691a827aa19d91898c1b893
65468236467bda9cce9caf3486759ecfdaa1e061
ISO-8859-1 encoding
Added test ensuring all printable characters converted correctly for ISO-8859-1 encoding. (FIX standard's default single byte encoding scheme (https://www.fixtrading.org/standards/tagvalue-online/#character-encoding)
diff --git a/src/main/java/net/openhft/chronicle/bytes/Bytes.java b/src/main/java/net/openhft/chronicle/bytes/Bytes.java index 9ecc62f61b5..12c53fd7851 100644 --- a/src/main/java/net/openhft/chronicle/bytes/Bytes.java +++ b/src/main/java/net/openhft/chronicle/bytes/Bytes.java @@ -635,12 +635,14 @@ static String toStrin...
3
2
1
[{"id": "G0", "claim": "Expose the ISO-8859-1 string method publicly via Bytes instead of leaving it reachable only through the internal BytesInternal class.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The toString javadoc should state that the method...
null
OpenHFT__Chronicle-Core__355
OpenHFT/Chronicle-Core
355
defect
f97854b51e60f789196e561e116392e04bec21fe
798a364e5ba159ad3bbf5818c6e25d44854724e4
ChronicleInit, migrate most system property access to Jvm methods
closes #354
diff --git a/src/main/java/net/openhft/chronicle/core/ChronicleInit.java b/src/main/java/net/openhft/chronicle/core/ChronicleInit.java new file mode 100644 index 00000000000..dec2e9f5991 --- /dev/null +++ b/src/main/java/net/openhft/chronicle/core/ChronicleInit.java @@ -0,0 +1,39 @@ +package net.openhft.chronicle.core;...
3
1
1
[{"id": "G0", "claim": "The pull request should not dig deeper into static initializers; the configuration would be much better maintained as instance variables that can be configured separately, giving a cleaner abstraction and avoiding static-initializer pitfalls such as ordering, thread-safety, global state and dead...
null
OpenHFT__Chronicle-Core__369
OpenHFT/Chronicle-Core
369
defect
ac4cd900cf7b5b4321956972b80e530d3ae06fd7
eaa070a3d364896af24f8d9410d4642d7d208675
Zeroassert
This PR adds the possibility of selectively using zero-cost assertions in the build process.
diff --git a/assertions-disabled/pom.xml b/assertions-disabled/pom.xml new file mode 100644 index 00000000000..9aeb208bbf2 --- /dev/null +++ b/assertions-disabled/pom.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2...
1
1
0
[{"id": "G0", "claim": "Resolve the TODO comment on the new dependency by using a Maven profile to select the artifact type instead of merging a new feature with a TODO in it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Core__373
OpenHFT/Chronicle-Core
373
defect
fa040b21450b6e3b4635695a58205ac8197d9cd4
1a21f055ca352eb97dd05dbec94870980f439782
Catch the NoClassDefFoundError thrown when Windows/OSX attempts to look up a class with the wrong case
Fixes #372 This fix was originally in Chronicle-Wire, but really it belongs here. I wanted to keep it as targeted to the specific case (on Windows/OSX only) as I could because I don't like the idea of catching Errors. The only downside is we break the API for `ClassNotFoundRuntimeException`. If we don't want to d...
diff --git a/pom.xml b/pom.xml index 1e271263e79..2aad1242fad 100644 --- a/pom.xml +++ b/pom.xml @@ -145,7 +145,8 @@ <configuration> <referenceVersion>2.23ea0</referenceVersion> <artifactsURI>https://teamcity.chronicle.software/repositor...
1
1
1
[{"id": "G0", "claim": "Asks whether it is ok to remove a public method (the ClassNotFoundRuntimeException(ClassNotFoundException) constructor and the getCause() override) without deprecating it first, since removal may break dependents.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd...
null
OpenHFT__Chronicle-Core__391
OpenHFT/Chronicle-Core
391
defect
824d06daa5df1e16ab6e184728734d52b77d16de
d26d85899d1e90cb40876afea3390c3111db4f58
Add @ScopeConfined annotation, Fix #390
``` /** * Indicates that the value consumer, value mapper, structure etc. should not divulge the object outside * the annotated scope. The meaning of "the object" should also be construed to include any and all descendant * non-immutable Object properties recursively dereferenced from the original object. * <p...
diff --git a/src/main/java/net/openhft/chronicle/core/annotation/ScopeConfined.java b/src/main/java/net/openhft/chronicle/core/annotation/ScopeConfined.java new file mode 100644 index 00000000000..63709a47d86 --- /dev/null +++ b/src/main/java/net/openhft/chronicle/core/annotation/ScopeConfined.java @@ -0,0 +1,47 @@ +/*...
7
3
0
[{"id": "G0", "claim": "The mechanism the annotation expresses should be described in documentation added along with the annotation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc uses obscure words (e.g. \"divulge\", \"construed\") th...
null
OpenHFT__Chronicle-Core__446
OpenHFT/Chronicle-Core
446
defect
e243bfa5095657d6e3ecc877a6302bec41f2c13e
6bb9e87207b4c56327e316ee780d62764adf73ac
Deprecate DualReferenceCounted
Fixes #445 I assume the reason for DualReferenceCounted was as a kind of integration test to confirm that the behaviour of Tracing and Vanilla `ReferenceCounted`s was consistent (it wasn't, see changes to `TracingReferenceCounted#releaseLast`). I think a better way to ensure their consistency is to implement cont...
diff --git a/pom.xml b/pom.xml index 8df6c7a63a0..0611a42410d 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ <groupId>net.openhft</groupId> <artifactId>java-parent-pom</artifactId> <version>1.1.33</version> - <relativePath /> + <relativePath></relativePath> </parent> ...
9
5
1
[{"id": "G0", "claim": "The PR author does not understand the purpose of the STRICT_DISCARD_WARNING flag (it made the discard warning use Jvm.warn instead of Slf4jExceptionHandler.WARN, which was hard to test), so he removed/deprecated it and asks for it to be un-removed if there is a good reason for its existence.", "...
null
OpenHFT__Chronicle-Core__741
OpenHFT/Chronicle-Core
741
defect
d548fca056a3957aa011084e97513e9c7af51dd7
e742d0726e5bf7b8e6315748fb9b1eae54a3f645
Improve annotation Javadoc for core.annotation
This PR refactors the **Chronicle Core** annotation codebase in three incremental commits. Together they **remove redundant test code** and **significantly enrich the Javadoc** for every annotation in `net.openhft.chronicle.core.annotation`, providing clear, consistent and tool-friendly documentation. --- ## R...
diff --git a/src/main/java/net/openhft/chronicle/core/annotation/ChronicleFeature.java b/src/main/java/net/openhft/chronicle/core/annotation/ChronicleFeature.java index 2a2ffda65c1..c45a99716d5 100644 --- a/src/main/java/net/openhft/chronicle/core/annotation/ChronicleFeature.java +++ b/src/main/java/net/openhft/chronic...
1
1
1
[{"id": "G0", "claim": "The `@since 2.23` tag on package-info.java is wrong — the package predates 2.23 and the package-info was added after 2.23 — so it should be removed or corrected (M002 asks that this `since` comment be cross checked).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope...
null
OpenHFT__Chronicle-Core__765
OpenHFT/Chronicle-Core
765
defect
b2f6ffe08affd9f1e7b216f900d56334f5e52ada
65f39dd8016c25aeca25fbe5af8c421fd5dbe3d0
Refine documentation for core.pool
This PR is a purely **non-functional** update that tightens up our public contract, clears dead code, and improves IDE discoverability across the *pool* and *test* modules. Four logical commits are included for easier review. ## ✨ What’s new | Title | Summary of changes | | ----- | ------------------ | | *rem...
diff --git a/src/main/java/net/openhft/chronicle/core/pool/ClassAliasPool.java b/src/main/java/net/openhft/chronicle/core/pool/ClassAliasPool.java index 94bbcd9a965..6f672a6aedd 100644 --- a/src/main/java/net/openhft/chronicle/core/pool/ClassAliasPool.java +++ b/src/main/java/net/openhft/chronicle/core/pool/ClassAliasP...
1
1
0
[{"id": "G0", "claim": "The new package-info summary loses some of the goodness of the original StringInterner javadoc: saying it does not offer strong thread-safety guarantees implies it is not thread-safe, which is not quite the case according to the docs.", "category": "documentation", "verdict": "supported", "prior...
null
OpenHFT__Chronicle-Core__786
OpenHFT/Chronicle-Core
786
defect
b2f6ffe08affd9f1e7b216f900d56334f5e52ada
bd66bfa06f792ab54fcb5599a1222671165d8b34
Documentation polish, dead-code removal & timing clarification for `threads` module
This series is a **zero-runtime-impact** cleanup that removes obsolete comments, deletes an unused test, and deeply refreshes the public Javadoc for every user-facing type in `net.openhft.chronicle.core.threads`. No production logic, bytecode, or behavioural flow is touched. --- ## ✨ Why merge this? * **Sma...
diff --git a/src/main/java/net/openhft/chronicle/core/threads/CancellableTimer.java b/src/main/java/net/openhft/chronicle/core/threads/CancellableTimer.java index 0d0c7396e80..434dd2fa881 100644 --- a/src/main/java/net/openhft/chronicle/core/threads/CancellableTimer.java +++ b/src/main/java/net/openhft/chronicle/core/t...
2
2
0
[{"id": "G0", "claim": "The Javadoc statement that action() must be quick and non-blocking should be refined to note that behaviour depends on the handler's handlerPriority.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @see wiki links added ...
null
OpenHFT__Chronicle-Queue__1032
OpenHFT/Chronicle-Queue
1,032
defect
72381b62a93431be5c47ebb1e029acb3be60a94f
d7a55e5d6354c876d8c70aee06b8b30cc62a4afa
ChronicleReader content-based limiter
I made an attempt at tidying up the ChronicleReader a bit as part of this PR. It's a tricky task as it's evolved somewhat "organically". I think I've preserved all functionality and reduced the complexity of that main loop a little, but there's definitely more work to be done.
diff --git a/pom.xml b/pom.xml index 305b3e8677..4178645ce7 100644 --- a/pom.xml +++ b/pom.xml @@ -308,7 +308,8 @@ <configuration> <referenceVersion>5.23ea0</referenceVersion> <artifactsURI>https://teamcity.chronicle.software/repository/...
4
1
0
[{"id": "G0", "claim": "MethodReaderQueueEntryReader should probably be cleaned up, perhaps by making it Closeable.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Each read creates objects (a new ReadResult and the ThreadLocal match counter); ma...
null
OpenHFT__Chronicle-Queue__1067
OpenHFT/Chronicle-Queue
1,067
defect
e74fe0427026720e58421337085d153894272954
d1b3d4d647d876d5de95665f6f0f03c3286dc70b
Deprecate useSparseFiles() and sparseCapacity. Fix #1063.
The sparse files are used by default if the OS supports it and the sparse capacity is set in the program.
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java b/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java index 3c0c0a004a..04844c0e47 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java +++ b/src/main/java/net...
1
1
1
[{"id": "G0", "claim": "Replacing the code that samples the useSparseFiles option with OS.isSparseFileSupported(), which is always true on Linux, makes the queue always use sparse files instead of only rarely, and the sampling code should be left keyed on the deprecated useSparseFiles option with only the interface dep...
null
OpenHFT__Chronicle-Queue__1168
OpenHFT/Chronicle-Queue
1,168
defect
f730500ebb3eb1a9cdae78b7db0e090b41ada295
8178487db60071d1ad20bd60b18b32f2cd17a8a6
Allow earlyAcquireNextCycle by avoiding peek or EOF the future
fixes #1157
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/StoreAppender.java b/src/main/java/net/openhft/chronicle/queue/impl/single/StoreAppender.java index ee5e4f8035..49841454f7 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/StoreAppender.java +++ b/src/main/java/net/openhft/chronicle/qu...
1
1
0
[{"id": "G0", "claim": "Consider renaming the parameter of the rollCycleTo overload (whose second argument distinguishes suppressing EOF) so it is not shadowed/confusing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Queue__1237
OpenHFT/Chronicle-Queue
1,237
defect
a90c652262414f3e3c9fa132f6283cfd86bf416b
f6556b0e2649655e7c300f975589079c58469c75
Fixed fieldless queue by falling back to previous reading approach
closes #1232 see a078d1aea7e424c7e2bbac33e3964d460fded22e
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueStore.java b/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueStore.java index c528a3bc7f..d5588f6f9c 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueStore.java +++ b/sr...
1
1
0
[{"id": "G0", "claim": "The dataFormat version-reading logic could be simplified so that a single if-branch, checking the read fieldName, covers both fieldless and normal binary wires.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Queue__1295
OpenHFT/Chronicle-Queue
1,295
defect
e28b18f033dbcadd970b00d12c423833154263ea
d63178d871c7aa2477f82c82ffffe836c9b1337e
Reproduction and fix for #1291, #1296
Test that Tailers and Appenders handle an empty roll cycle at the end of the queue gracefully. This appears to happen sometimes when a writing process is kill -9'd Depends on https://github.com/OpenHFT/Chronicle-Bytes/pull/488
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java b/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java index abc46aa691..53968de70a 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java +++ b/src/main/java/net...
1
1
0
[{"id": "G0", "claim": "The null check on fileLock in the finally block appears unnecessary since fileLock should always be non-null by that point in headerRecovery.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Queue__1311
OpenHFT/Chronicle-Queue
1,311
defect
98099596e3987c00dfce66fad782d2f698e82866
7c800369ff4ca6dfa84d351027a8092384b7c0a8
Store the index we've normalisedEOFs to...
... to avoid re-normalising the queue from the beginning each time. Fixes #1306
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java b/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java index 4620cf5001..d09a403e84 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java +++ b/src/main/java/net...
2
1
0
[{"id": "G1", "claim": "The normaliseEOFsTo state-tracking feature may not be needed, since walking backwards from the most recent cycle, writing EOFs where missing and stopping at the first file that already has an EOF, might be enough.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduc...
null
OpenHFT__Chronicle-Queue__1314
OpenHFT/Chronicle-Queue
1,314
defect
9da37b0ccc7a00b7b1605a6f4d9f08004a6dda7b
801141127a7d32ac5aff0f8e58b37fbc260dd953
Rename and recreate un-initialized cycle file instead of overwriting
closes #1313
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/ReferenceCountedCache.java b/src/main/java/net/openhft/chronicle/queue/impl/single/ReferenceCountedCache.java index 449a8ee224..68fff5762b 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/ReferenceCountedCache.java +++ b/src/main/java/...
3
1
0
[{"id": "G0", "claim": "A sequence- or timestamp-based decoration of the discarded cycle file name would be a better and more flexible option than the fixed \".discard\" suffix, and the discussion around timestamped backups should be resolved before approval stands.", "category": "design", "verdict": "supported", "prio...
null
OpenHFT__Chronicle-Queue__1316
OpenHFT/Chronicle-Queue
1,316
defect
e7471802cbbc202b04eba790c22757cda396ea6f
a4573ca642a3112f0ef0516330a1bbfb1e8a8349
Correct calculation of last index when it is not in the latest segment
see #ChronicleEnterprise/Chronicle-Queue-Enterprise#443
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java b/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java index bf1a465ae5..b7d7b0746c 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueue.java +++ b/src/main/java/net...
3
2
1
[{"id": "G0", "claim": "The while (true) loop added in lastIndex() is redundant because both branches return on the first iteration, and presumably, when the document is metadata, it should keep scanning backwards instead of returning -1.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
OpenHFT__Chronicle-Queue__1368
OpenHFT/Chronicle-Queue
1,368
defect
090e5355d968bf9ab79d3d9cfebc6b65400f45f9
d27fe32d94b7cb63ad7dfa6be86b116d575c7e4f
Handle deleted roll cycles more gracefully
At client they were encountering MissingFileStoreExceptions after they did a cleanup of "old" roll cycles. The reason is they were deleting some cycles that were currently being read by a Tailer. There were a number of places where we didn't handle roll cycles that went missing so gracefully. This PR addresses so...
diff --git a/src/test/java/net/openhft/chronicle/queue/TestDeleteQueueFile.java b/src/test/java/net/openhft/chronicle/queue/TestDeleteQueueFile.java index 57a92ef557..26c808b7f8 100644 --- a/src/test/java/net/openhft/chronicle/queue/TestDeleteQueueFile.java +++ b/src/test/java/net/openhft/chronicle/queue/TestDeleteQueu...
3
3
1
[{"id": "G0", "claim": "The newly added deletingFilesChaosTest performs no assertions, so it is unclear what it actually checks for.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added chaos test fails every run on 5.22 (Unable to progress to...
null
OpenHFT__Chronicle-Queue__1372
OpenHFT/Chronicle-Queue
1,372
defect
5dfbd24492cbbee74bacec01ed26716305316fce
c36f370b3a94c933c8d3dd0928d83e51cd094896
added a subscription index controller for chronicle channels
This pull request introduces a subscription index controller to facilitate the control of the tailer's index for new subscriptions in Chronicle channels during the bootstrap process. Additionally, a new test has been added to validate the functionality. This test focuses on setting the index during subscription, eff...
diff --git a/src/main/java/net/openhft/chronicle/queue/channel/PipeHandler.java b/src/main/java/net/openhft/chronicle/queue/channel/PipeHandler.java index affea0400d..f3a5a10890 100644 --- a/src/main/java/net/openhft/chronicle/queue/channel/PipeHandler.java +++ b/src/main/java/net/openhft/chronicle/queue/channel/PipeHa...
3
2
0
[{"id": "G0", "claim": "The public static NO_OP field in SubscribeHandler should be final.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested NoOp class in SubscribeHandler should be private instead of public.", "category": "design", "verdict": "s...
null
OpenHFT__Chronicle-Queue__1417
OpenHFT/Chronicle-Queue
1,417
defect
89e3a10d81ad79de5597a4e48b9efc6dabc0efd1
c7de61403c04297ddeaa50794946272f1c782401
AbstractTSQueueLock log warn on force unlock
See https://github.com/OpenHFT/Chronicle-Queue/issues/1416 for context
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/table/AbstractTSQueueLock.java b/src/main/java/net/openhft/chronicle/queue/impl/table/AbstractTSQueueLock.java index 37720e74c0..c10be74ae7 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/table/AbstractTSQueueLock.java +++ b/src/main/java/net/openh...
1
1
0
[{"id": "G0", "claim": "The \"Forced unlock\" message should not be added to the blanket exception-ignore list in QueueTestCommon.recordExceptions() applied to every test, since forced unlocks should not occur often in tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Queue__1497
OpenHFT/Chronicle-Queue
1,497
defect
e28939cf7ea1cd889d5ecfed74e750bf85197be1
c27843016d3cdeaf503745030907dea2928408ca
acquireAppender further cleanup
acquireAppender will be deprecated in the future, ensure no calls to it remain in the Chronicle-Queue project. Change the signature on ThreadLocalAppender to accept a ChronicleQueue.
diff --git a/docs/How_it_works.adoc b/docs/How_it_works.adoc index 256814201f..0674c5327f 100644 --- a/docs/How_it_works.adoc +++ b/docs/How_it_works.adoc @@ -102,25 +102,25 @@ public class Example { } public static void main(String[] args) throws IOException { - // will write the .cq4 file to work...
7
3
1
[{"id": "G0", "claim": "Use queue.createAppender() (in try/finally or try-with-resources) instead of acquireThreadLocalAppender wherever it makes sense, starting with the call sites the PR changed (InternalBenchmarkMain, InternalPingPongMain, ChronicleWriter, TailerCloseInParallelTest, NotCompleteTest, StoreTailerTest,...
null
OpenHFT__Chronicle-Queue__1502
OpenHFT/Chronicle-Queue
1,502
defect
d9a26cdf6eb85a27630a899e499986bb24b97451
1442543fa6605543f755eb575bbb043d557f1b7e
Implement unsafe write bytes. Fixes #1501
Fixes #1501
diff --git a/pom.xml b/pom.xml index e85df43ce8..f3c3cbdb81 100644 --- a/pom.xml +++ b/pom.xml @@ -631,7 +631,7 @@ </configuration> </execution> <execution> - <id>InternalAppenderJLBH</id> + ...
2
1
1
[{"id": "G0", "claim": "Changing the thrown exception from IllegalStateException to IndexOutOfBoundsException is a breaking interface change for callers; the reviewers ask that it instead be a new subclass of IllegalStateException or, per the later agreement, an IllegalArgumentException (subclass) consistent with the p...
null
OpenHFT__Chronicle-Queue__1588
OpenHFT/Chronicle-Queue
1,588
defect
50af322d0022fb8d265779ed6f4c1073d32b6b54
38b05205f1e09822854567ad08d98c046b166482
Fix ChronicleMethodReaderTest.shouldFilterByMultipleInclusionRegex
Closes https://github.com/OpenHFT/Chronicle-Queue/issues/1150, https://github.com/OpenHFT/Chronicle-Queue/issues/821
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/StoreTailer.java b/src/main/java/net/openhft/chronicle/queue/impl/single/StoreTailer.java index c0d1f3fb42..68805bbf4a 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/StoreTailer.java +++ b/src/main/java/net/openhft/chronicle/queue/im...
3
2
0
[{"id": "G0", "claim": "The expected output count of 24 in the newly re-enabled shouldFilterByMultipleInclusionRegex test may no longer be correct now that the inclusion regex was changed.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc sho...
null
OpenHFT__Chronicle-Queue__830
OpenHFT/Chronicle-Queue
830
defect
219f4324f726e853df622a058ea143e3a3408ac1
8d12b0961e3d87859ec713d2ab095dc8b464cd8e
Implement lastIndex on ChronicleQueue
As discussed last night, I've added an implementation of `lastIndex` for use when we are handshaking replication.
diff --git a/src/main/java/net/openhft/chronicle/queue/ChronicleQueue.java b/src/main/java/net/openhft/chronicle/queue/ChronicleQueue.java index 4a2bf77920..072545a073 100644 --- a/src/main/java/net/openhft/chronicle/queue/ChronicleQueue.java +++ b/src/main/java/net/openhft/chronicle/queue/ChronicleQueue.java @@ -211,6...
1
1
0
[{"id": "G0", "claim": "The new lastIndex() javadoc's phrase 'highest valid index' is undefined; the reviewer asks whether 'valid' means 'not metadata', i.e. the documentation should clarify what the method counts.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Queue__983
OpenHFT/Chronicle-Queue
983
defect
2a9e324a497ec1cb6915353f20292bbec335aa6d
8d3a067717ecafb2b6bd17589bd89dd0b9e6de52
Exact exerpts count as well as optimized approximate
closes #975
diff --git a/src/main/java/net/openhft/chronicle/queue/impl/single/SCQIndexing.java b/src/main/java/net/openhft/chronicle/queue/impl/single/SCQIndexing.java index f4563d4c44..555bdbe193 100644 --- a/src/main/java/net/openhft/chronicle/queue/impl/single/SCQIndexing.java +++ b/src/main/java/net/openhft/chronicle/queue/im...
5
4
0
[{"id": "G0", "claim": "The new excerpt-count methods in SingleChronicleQueue should be collapsed to a single ternary return (e.g. `return tailer.moveToCycle(cycle) ? tailer.store.approximateLastSequenceNumber(tailer) + 1 : -1;`) instead of the if/else block.", "category": "maintainability", "verdict": "supported", "pr...
null
OpenHFT__Chronicle-Threads__102
OpenHFT/Chronicle-Threads
102
defect
ea897333dccb197c40aa1341a0b55b5d28390ff1
b53e0e8dc01b301d0e90507382d2bdc8b1cb3b38
make all addHandler failure messages include "Handler in newHandler w…
"make all addHandler failure messages include "Handler in newHandler was not accepted before"
diff --git a/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java b/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java index da340e5df..d8d353196 100644 --- a/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java +++ b/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java...
1
1
0
[{"id": "G0", "claim": "The checkInterruptedAddingNewHandler() call at the top of addHandler (before the handler is queued) should be removed in both MediumEventLoop and VanillaEventLoop, because it redundantly tests the calling thread's interrupt status rather than the event thread's.", "category": "correctness", "ver...
null
OpenHFT__Chronicle-Threads__105
OpenHFT/Chronicle-Threads
105
defect
2ea1d9c4e0b43ea83a057535d650fcbe6585d1c8
35756cb82558506c97813933902bdcc7dc8da2a3
Make Pauser for replication event loop configurable #6
Not sure if I'm going too far with the deprecation of all the extra constructors, but I can't see the reason for them now we have a builder
diff --git a/src/main/java/net/openhft/chronicle/threads/EventGroup.java b/src/main/java/net/openhft/chronicle/threads/EventGroup.java index 9e15e5bda..6928e7eb9 100644 --- a/src/main/java/net/openhft/chronicle/threads/EventGroup.java +++ b/src/main/java/net/openhft/chronicle/threads/EventGroup.java @@ -49,7 +49,7 @@ p...
1
1
0
[{"id": "G0", "claim": "The deprecation comment on the EventGroup constructor should say \"Remove in .24\" rather than \"Remove in .23\", to give the customary two releases of warning.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Threads__243
OpenHFT/Chronicle-Threads
243
defect
d823c26466a117c61ff1eabccface3884d770c6e
41a1eb481444fdeaac3ac358a2f3d8304083a50a
Fix race condition when adding handlers to a starting event loop.
Fixes #242 GitHub really butchers this diff, you might be better to review it in IntelliJ
diff --git a/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java b/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java index c86942d00..8e372b723 100644 --- a/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java +++ b/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java...
1
1
0
[{"id": "G0", "claim": "The log emitted when a handler is added to a stopped event loop should say that the attempt to add the handler failed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Threads__258
OpenHFT/Chronicle-Threads
258
defect
e2eff0a109e3c38df2f95f32abae7f7c1c15cc2d
98b0d6a55ed049c0ee0c411f91d21c9df63268f3
Ensure EventHandler loopStarted/loopFinished do not terminate MediumEventLoop
Expected behaviour... * loopStarted/loopFinished not called if eventLoop not started. * on event loop start, loopStarted called for each handler, if exception thrown, handler removed and loopFinished called. * while loop running if handler is added, loopStarted is called and if exception thrown, handler removed and ...
diff --git a/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java b/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java index 8b4f0cd72..724ab3308 100644 --- a/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java +++ b/src/main/java/net/openhft/chronicle/threads/MediumEventLoop.java...
1
1
0
[{"id": "G0", "claim": "The test could use the test framework's `Waiters` abstraction, which waits until a given condition is met, instead of the sleep-based waiting in this test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHFT__Chronicle-Threads__96
OpenHFT/Chronicle-Threads
96
defect
639bdb92ed0fb87bc96261e117b18e646cafc188
1da5638c755a82db6a8e621ddef531f7bffb6831
EventHandler.stop() should block until stopped
Fixes #93 Change is that `stop()` now blocks until all handlers have completed The first thread to call `stop()` will initiate the shutdown and block until it's complete, any other threads that call `stop()` will just block until that process ends. `start()` and `stop()` have better idempotency now as well be...
diff --git a/src/main/java/net/openhft/chronicle/threads/BlockingEventLoop.java b/src/main/java/net/openhft/chronicle/threads/BlockingEventLoop.java index ffa6055c4..6841a6de3 100644 --- a/src/main/java/net/openhft/chronicle/threads/BlockingEventLoop.java +++ b/src/main/java/net/openhft/chronicle/threads/BlockingEventL...
1
1
0
[{"id": "G0", "claim": "The call to service.shutdownNow() inside awaitTermination() should not have been there and is removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHands__OpenHands__10324
OpenHands/OpenHands
10,324
defect
3e36911038ff95951f1c2be7cadd4ae8e8242b91
9b8caab6e2ca3753e1665c90c1ddd5a8c794bb1e
fix: Enhance GitHub repository search to include user organizations
This enables searching 'openhands' to find 'All-Hands-AI/OpenHands' repo when user is a member of the All-Hands-AI organization. - [ ] This change is worth documenting at https://docs.all-hands.dev/ - [ ] Include this change in the Release Notes. If checked, you **must** provide an **end-user friendly** description...
diff --git a/frontend/src/components/common/git-repository-dropdown.tsx b/frontend/src/components/common/git-repository-dropdown.tsx index 5040ed597eef..00bdd313048e 100644 --- a/frontend/src/components/common/git-repository-dropdown.tsx +++ b/frontend/src/components/common/git-repository-dropdown.tsx @@ -112,6 +112,7 ...
2
2
0
[{"id": "G0", "claim": "The deduplication added in search_repositories is unnecessary because the provider handler already deduplicates, so remove it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Search results should also match against the or...
null
OpenHands__OpenHands__10496
OpenHands/OpenHands
10,496
defect
f296d7bde5434e1fee917dce2458b2bc466ff1fe
a6e0fcb1f08c6cf69375dac54457770b06b64c01
Fix conversation ID validation to return 400 instead of 500 for long IDs
**DESCRIPTION GENERATED BY OPENHANDS** - [x] This change is worth documenting at https://docs.all-hands.dev/ - [x] Include this change in the Release Notes. If checked, you **must** provide an **end-user friendly** description for your change below **End-user friendly description of the problem this fixes or fun...
diff --git a/openhands/server/routes/manage_conversations.py b/openhands/server/routes/manage_conversations.py index 1db2c42e8720..89292d1e53be 100644 --- a/openhands/server/routes/manage_conversations.py +++ b/openhands/server/routes/manage_conversations.py @@ -62,8 +62,8 @@ get_user_settings_store, ) from open...
1
1
0
[{"id": "G0", "claim": "Maybe the PR should not introduce a custom type (ValidatedConversationId); the validation dependency on the endpoint is enough and endpoints should keep working with a plain str.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHands__OpenHands__10974
OpenHands/OpenHands
10,974
defect
10b871f4ab51321243d145a78379ecf492fbbaca
1c45120b59c98805ada407b09cf2fee2f91175d2
Improve OpenHands provider pricing documentation
- [x] This change is worth documenting at https://docs.all-hands.dev/ - [x] Include this change in the Release Notes. If checked, you **must** provide an **end-user friendly** description for your change below **End-user friendly description of the problem this fixes or functionality this introduces.** Improved the O...
diff --git a/docs/usage/llms/openhands-llms.mdx b/docs/usage/llms/openhands-llms.mdx index 303719d62d08..d8fc103c108e 100644 --- a/docs/usage/llms/openhands-llms.mdx +++ b/docs/usage/llms/openhands-llms.mdx @@ -30,6 +30,18 @@ When running OpenHands, you'll need to set the following in the OpenHands UI thr ## Pricing...
3
1
0
[{"id": "G0", "claim": "The pricing table added by this PR omits cached token pricing, and the cached token pricing should be added to the table as well.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Generating the pricing table from a script usi...
null
OpenHands__OpenHands__11155
OpenHands/OpenHands
11,155
defect
fb6f688049ad1029946e632e6b6b1fbf9d39d2b6
8e3078a470c2a73e3bbe0a34d7aaec9d80725d3d
fix: add provider tokens to resume conversation endpoint
Currently our SaaS resume conversation flow does not work for conversations with private repositories. Logs show that we are populating ProviderTokens with empty values and eventually that leads to pods receiving empty provider dictionaries and raising errors because they cannot access private repos. From a frontend pe...
diff --git a/openhands/server/routes/manage_conversations.py b/openhands/server/routes/manage_conversations.py index d996feecd951..c82f53c5948f 100644 --- a/openhands/server/routes/manage_conversations.py +++ b/openhands/server/routes/manage_conversations.py @@ -475,6 +475,7 @@ async def start_conversation( provid...
2
1
0
[{"id": "G0", "claim": "The `providers_set` parameter may be unnecessary now that the endpoint already receives the real provider tokens (which should always exist in SaaS) and could be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull req...
null
OpenHands__OpenHands__11386
OpenHands/OpenHands
11,386
defect
15e7709ff6d5152253d5adca057b86b7daca296a
74f02edecf8d67d3bee08347392a6cc6f0e8a55d
fix(backend): repository search is not working in the production environment
- [ ] This change is worth documenting at https://docs.all-hands.dev/ - [ ] Include this change in the Release Notes. If checked, you **must** provide an **end-user friendly** description for your change below **End-user friendly description of the problem this fixes or functionality this introduces.** Issue Sum...
diff --git a/openhands/integrations/github/service/repos.py b/openhands/integrations/github/service/repos.py index 89df86fadb18..cf51a03d69ef 100644 --- a/openhands/integrations/github/service/repos.py +++ b/openhands/integrations/github/service/repos.py @@ -161,6 +161,29 @@ async def get_user_organizations(self) -> li...
1
1
1
[{"id": "G0", "claim": "search_repositories unconditionally calls get_organizations_from_installations(), which only has installations available in SaaS mode, so the reviewer asks to still call get_user_organizations() when running locally.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
OpenHands__OpenHands__11388
OpenHands/OpenHands
11,388
defect
fab64a51b76994e7b45297c6292a79ad2584abe8
cbd9c628b07495210497706ca085b5d26d692837
V1: Experiment manager
- [ ] This change is worth documenting at https://docs.all-hands.dev/ - [ ] Include this change in the Release Notes. If checked, you **must** provide an **end-user friendly** description for your change below **End-user friendly description of the problem this fixes or functionality this introduces.** --- **...
diff --git a/enterprise/experiments/experiment_manager.py b/enterprise/experiments/experiment_manager.py index b618bbed318a..7c53f274146b 100644 --- a/enterprise/experiments/experiment_manager.py +++ b/enterprise/experiments/experiment_manager.py @@ -1,18 +1,47 @@ +from uuid import UUID + from experiments.constants im...
1
1
0
[{"id": "G0", "claim": "The V1 agent-sdk dependency pins in pyproject.toml should be updated to match the upstream changes that are about to merge (e.g. the openhands/tools subdirectory is now openhands-tools).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHands__OpenHands__11399
OpenHands/OpenHands
11,399
defect
9f3b2425ec5b672f0f4f244c8249e7d7ed52f7b2
04f32bcedb811f207f8774c3b88ba6551c9a2426
Add Concurrency Limits to SandboxService
- [ ] This change is worth documenting at https://docs.all-hands.dev/ - [x] Include this change in the Release Notes. If checked, you **must** provide an **end-user friendly** description for your change below **End-user friendly description of the problem this fixes or functionality this introduces.** Added aut...
diff --git a/openhands/app_server/sandbox/docker_sandbox_service.py b/openhands/app_server/sandbox/docker_sandbox_service.py index 1ad79d943b0d..79b7902643f1 100644 --- a/openhands/app_server/sandbox/docker_sandbox_service.py +++ b/openhands/app_server/sandbox/docker_sandbox_service.py @@ -72,6 +72,7 @@ class DockerSan...
1
1
0
[{"id": "G0", "claim": "The default max_num_sandboxes=3 in DockerSandboxService is too restrictive for a first/default experience and should be raised to give users more leeway (enyst leaning to 10, rbren suggesting 5).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHands__OpenHands__11443
OpenHands/OpenHands
11,443
defect
640f50d525bdd41dc1396b63bfbf38a7e50bb8c0
33417956b0e7db4bc1b721bf5fc005b91acd6640
Simplify security analyzer confirmation: replace two reject options with single 'Reject' option
## Summary of PR This PR simplifies the security analyzer confirmation interface in the OpenHands CLI by replacing two separate reject options with a single, more intuitive "Reject" option that prompts for an optional reason. **Changes:** - Replace "No, reject (w/o reason)" and "No, reject with reason" with single "R...
diff --git a/openhands-cli/openhands_cli/user_actions/agent_action.py b/openhands-cli/openhands_cli/user_actions/agent_action.py index 016ee4f8c6f3..254d17675f82 100644 --- a/openhands-cli/openhands_cli/user_actions/agent_action.py +++ b/openhands-cli/openhands_cli/user_actions/agent_action.py @@ -44,8 +44,7 @@ def ask...
1
1
0
[{"id": "G0", "claim": "The reject-reason prompt should read 'Reason (and let OpenHands know why): ' instead of 'Reason (ENTER to reject without reason): ', since the user can always submit an empty message and Claude behaves this way.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "i...
null
OpenHands__OpenHands__11516
OpenHands/OpenHands
11,516
defect
f9694858fb01cbf21ddcce3cbd39ad985fa69f0e
957c997ed552b2072d13da052dda10b6fb8865f9
Configurable conda/mamba channel_alias for runtime builds
## Summary This PR makes the conda/mamba channel alias configurable for runtime image builds, enabling users to avoid contacting anaconda.org while still using `conda-forge` by name. It also adds a unit test verifying the Dockerfile template wiring. Closes #1274 ## What changed - Runtime Dockerfile template now hon...
diff --git a/openhands/runtime/utils/runtime_build.py b/openhands/runtime/utils/runtime_build.py index 3b5281871ada..b5a7b1ae5b08 100644 --- a/openhands/runtime/utils/runtime_build.py +++ b/openhands/runtime/utils/runtime_build.py @@ -52,12 +52,16 @@ def _generate_dockerfile( ) template = env.get_template('Do...
1
1
1
[{"id": "G0", "claim": "The new test should also assert the Dockerfile install line (Dockerfile.j2 ~L291) is not using https://conda.anaconda.org and that the openhands package is available via the mirror.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenHands__OpenHands__11567
OpenHands/OpenHands
11,567
defect
38f2728cfa6114e72002ebe8075cb6ea64e4edf5
e4226b378e451f9c26bd1d1c0cb84db60b1da1f6
fix(llm): remove default reasoning_effort; only send when explicitly set
## Summary of PR Removes the default setting of 'high' for reasoning_effort in non-Gemini models. This PR ensures reasoning_effort is only sent to the LLM backend when explicitly set by user config, avoiding unexpected behavior and supporting use cases where budgeted reasoning isn't desired by default. ## Change Ty...
diff --git a/openhands/core/config/llm_config.py b/openhands/core/config/llm_config.py index 56a93d2f8558..0089f9b27985 100644 --- a/openhands/core/config/llm_config.py +++ b/openhands/core/config/llm_config.py @@ -179,10 +179,7 @@ def model_post_init(self, __context: Any) -> None: if self.openrouter_app_name:...
1
1
1
[{"id": "G0", "claim": "The unit tests still expect the old reasoning_effort='high' default and are failing with this change, and the reviewer asks the author to take a look at them.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OpenHands__OpenHands__11655
OpenHands/OpenHands
11,655
defect
e0d26c1f4e51d20b0f04f83b000e819112b48cc3
29fe77f64d54860f9dd117b18fef788b8ce46198
chore(backend): Add better PostHog tracking
## Summary of PR Tracks these new events: - `agent_task_completed` - `user_signup_completed` - `credit_limit_reached` - `credits_purchased` ## Change Type <!-- Choose the types that apply to your PR and remove the rest. --> - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Refactor - [x]...
diff --git a/enterprise/server/routes/auth.py b/enterprise/server/routes/auth.py index d5f5cbd1ed44..3976363ee40f 100644 --- a/enterprise/server/routes/auth.py +++ b/enterprise/server/routes/auth.py @@ -30,6 +30,7 @@ from openhands.server.shared import config from openhands.server.user_auth import get_access_token f...
6
6
0
[{"id": "G0", "claim": "The 'Identify user with GitHub username' comment and its SaaS-aliasing note in use-git-user.ts should be removed (empty suggestion block).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The effect dependency array should ...
null
OpenHands__OpenHands__11837
OpenHands/OpenHands
11,837
defect
974bcdfd0b25b7eaa147356589a51cfb28e4eb4d
a9370d3faf91ffeffec1c5d8d7cff05879e7fc82
fix(backend): conversation statistics are currently not being persisted to the database (V1).
## Summary of PR <!-- Summarize what the PR does, explaining any non-trivial design decisions. --> **Acceptance Criteria:** - When a ConversationStateUpdateEvent is received with the key set to stats, the corresponding statistics data must be stored in the database. We can refer to the video below for the out...
diff --git a/openhands/app_server/app_conversation/app_conversation_info_service.py b/openhands/app_server/app_conversation/app_conversation_info_service.py index 22305c1ff01a..9def4ed84c24 100644 --- a/openhands/app_server/app_conversation/app_conversation_info_service.py +++ b/openhands/app_server/app_conversation/ap...
3
3
1
[{"id": "G0", "claim": "The conversation statistics passed to update_conversation_statistics should be carried in a model object with declared fields rather than a raw dict.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The stats-processing logic would ...
null
OpenHands__OpenHands__11862
OpenHands/OpenHands
11,862
defect
8f361b3698a6ee58a500ffcb1f2aadeea358d2d1
588831a391cbf3ad6e8e99e5d5b64430c606a2c2
fix(backend): apply user-defined condenser_max_size in new v1 conversations
## Summary of PR <!-- Summarize what the PR does, explaining any non-trivial design decisions. --> <img width="472" height="143" alt="Image" src="https://github.com/user-attachments/assets/7d733e4b-7a7a-4863-8f0c-0144cf38007f" /> When initiating a new V1 conversation, the default condenser is currently applied...
diff --git a/openhands/app_server/app_conversation/app_conversation_service_base.py b/openhands/app_server/app_conversation/app_conversation_service_base.py index 8cf1ff4bf9f6..7ff08bb72af7 100644 --- a/openhands/app_server/app_conversation/app_conversation_service_base.py +++ b/openhands/app_server/app_conversation/ap...
4
3
1
[{"id": "G0", "claim": "Could we have a test that actually tests for the `max_size` that this PR proposes to add, instead of only stubbing the condenser?", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 100/6 vs 80/4 type-specific condenser defaults a...
null
OpenHands__OpenHands__12030
OpenHands/OpenHands
12,030
defect
d772dd65a5e09ea4696d15ad4877c3f642236f79
e07e9e3733da07e3c086a3331a28717ec1283c94
Implement Export feature for V1 conversations with comprehensive unit tests
## Summary of PR This PR implements the complete "Download Trajectory" feature for V1 conversations, allowing users to download conversation events and metadata as a ZIP file. The implementation includes both backend API endpoints and frontend UI components, along with comprehensive unit tests. <img width="558" h...
diff --git a/frontend/src/api/conversation-service/v1-conversation-service.api.ts b/frontend/src/api/conversation-service/v1-conversation-service.api.ts index bd37fa818043..98bf88c3764e 100644 --- a/frontend/src/api/conversation-service/v1-conversation-service.api.ts +++ b/frontend/src/api/conversation-service/v1-conve...
7
4
0
[{"id": "G0", "claim": "The function-level imports inside export_conversation (`from fastapi.responses import Response` at line 420 and `from fastapi import HTTPException` at line 441) should be relocated to the top of app_conversation_router.py.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
OpenHands__OpenHands__12068
OpenHands/OpenHands
12,068
defect
435e53769329578e3e14d6fcbfd6fc660e63340b
7cd245404375ff0a68adae36aa828715bcc89ad9
Agent server env override
## Summary of PR Allow easier override of environment variables passed to the agent server instances ## Change Type <!-- Choose the types that apply to your PR and remove the rest. --> - [ ] Bug fix - [x] New feature - [ ] Breaking change - [ ] Refactor - [ ] Other (dependency update, docs, typo fixes, ...
diff --git a/openhands/app_server/sandbox/docker_sandbox_spec_service.py b/openhands/app_server/sandbox/docker_sandbox_spec_service.py index 063b4e8a96c5..1a1ec286ebb3 100644 --- a/openhands/app_server/sandbox/docker_sandbox_spec_service.py +++ b/openhands/app_server/sandbox/docker_sandbox_spec_service.py @@ -16,6 +16,...
1
1
0
[{"id": "G0", "claim": "The function name should not say 'default': get_default_agent_server_env's purpose is precisely to allow a custom agent server env, not only defaults (same for get_default_agent_server_image), so it should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sc...
null
OpenHands__OpenHands__12134
OpenHands/OpenHands
12,134
defect
2b8f779b6561fef3887906176b222bd827e547d5
d789175352641333d5b0e95172a83050359819e6
fix(backend): preserve users custom llm settings during settings migrations
## Summary of PR <!-- Summarize what the PR does, explaining any non-trivial design decisions. --> ## Fix: Preserve User's Custom LLM Settings During Settings Migrations ### Demo We can refer to the video below for the output of the pull request. https://github.com/user-attachments/assets/b762f8c4-b8f0-4...
diff --git a/enterprise/storage/saas_settings_store.py b/enterprise/storage/saas_settings_store.py index fd64924263eb..168d67db1e8b 100644 --- a/enterprise/storage/saas_settings_store.py +++ b/enterprise/storage/saas_settings_store.py @@ -213,6 +213,13 @@ async def update_settings_with_litellm_default( ret...
1
1
1
[{"id": "G0", "claim": "The migration should distinguish users whose settings match the previous version's default combo (OH provider + old default model) and upgrade those to the new default, while keeping any non-default selection unchanged, instead of preserving every existing model as if it were custom.", "category...
null
OpenHands__OpenHands__12199
OpenHands/OpenHands
12,199
defect
ffdd95305f066708cecbda17585b858e78e74da4
7c4f661840434faeb722bb4486ca09c9e8ea4ee0
V1 GitHub resolver fixes
## Summary of PR This PR 1. moves some files around 2. dedupes some code for initialization converastions (for both v0 and v1) 3. discriminated union fixes 4. missing conversation ID in conversation link sent back ## Change Type <!-- Choose the types that apply to your PR and remove the rest. --> - [X...
diff --git a/enterprise/integrations/github/github_manager.py b/enterprise/integrations/github/github_manager.py index 8b5d9fc54251..cc40b96362fa 100644 --- a/enterprise/integrations/github/github_manager.py +++ b/enterprise/integrations/github/github_manager.py @@ -305,7 +305,7 @@ async def start_job(self, github_view...
2
1
1
[{"id": "G0", "claim": "Opening the conversation pane logs a pydantic ValidationError for AppConversationStartTask (\"Unexpected kind 'GithubV1CallbackProcessor'\"), which the author finds worrisome even though the actual functionality does not seem to be affected.", "category": "correctness", "verdict": "supported", "...
null
OpenHands__OpenHands__12201
OpenHands/OpenHands
12,201
defect
ecbd3ae7490dec1ad9d99ca29bde3b19db21e4e2
096873515813a1d1cb374a18b9ddc3e86579bc68
fix(billing): Add error handling for LiteLLM API failures in get_credits
## Summary Add proper exception handling for `httpx.HTTPStatusError` in the `get_credits` endpoint. ## Problem When the LiteLLM API returns an error (e.g., 500 Internal Server Error), the exception was bubbling up to Uvicorn's generic exception handler, resulting in unhelpful log messages like: ``` Exception in ASGI a...
diff --git a/enterprise/server/routes/billing.py b/enterprise/server/routes/billing.py index 5a8b59e2d76b..e593c5409e38 100644 --- a/enterprise/server/routes/billing.py +++ b/enterprise/server/routes/billing.py @@ -111,10 +111,24 @@ def calculate_credits(user_info: LiteLlmUserInfo) -> float: async def get_credits(user...
1
1
1
[{"id": "G0", "claim": "The unit tests need updating because they currently expect an httpx HTTPStatusError while the PR's get_credits now raises a FastAPI HTTPException.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenHands__OpenHands__12264
OpenHands/OpenHands
12,264
defect
a8098505c291ea159299135da2eb7d143b6328a2
b466c9fc3f6afb12ebc7e01910de47ae1836421e
APP-307 Add Google Cloud Storage-based EventService implementation
## Summary of PR This PR adds a Google Cloud Storage-based implementation of `EventService`, allowing events to be stored in GCS buckets instead of the local filesystem. **Key Features:** - Events are stored in GCS with the path format: `users/{user_id}/v1_conversations/{conversation_id}/{YYYYMMDDHHMMSS}_{kind}_...
diff --git a/openhands/app_server/config.py b/openhands/app_server/config.py index a11db78ea368..291a7bb38832 100644 --- a/openhands/app_server/config.py +++ b/openhands/app_server/config.py @@ -133,6 +133,9 @@ def config_from_env() -> AppServerConfig: from openhands.app_server.event.filesystem_event_service impor...
14
11
3
[{"id": "G0", "claim": "get_event (and the search paths) call bucket.list_blobs() with no prefix, so every lookup scans the whole bucket across all users' blobs (an O(n) scan on a per-operation-cost object store); a prefix-scoped lookup or an index is needed.", "category": "performance", "verdict": "supported", "priori...
null
OpenHands__OpenHands__12280
OpenHands/OpenHands
12,280
defect
fa974f810695295df1c88d82fe0755eecb623ff7
552f9ffae238b2f88ecf0b50e8cb1520c3877b6b
Fix GoogleCloudSharedEventServiceInjector missing bucket_name field and add tests
## Summary of PR This PR fixes a critical flaw in `GoogleCloudSharedEventServiceInjector` where the `bucket_name` field was missing, causing line 145 (now line 148) to fail when referencing `self.bucket_name`. **Changes made:** 1. Added `bucket_name: str = os.environ.get('FILE_STORE_PATH')` field to `GoogleCloudShare...
diff --git a/enterprise/server/sharing/google_cloud_shared_event_service.py b/enterprise/server/sharing/google_cloud_shared_event_service.py index bdb9a3a88da9..6c97d24991b1 100644 --- a/enterprise/server/sharing/google_cloud_shared_event_service.py +++ b/enterprise/server/sharing/google_cloud_shared_event_service.py @...
1
1
0
[{"id": "G0", "claim": "The injector tests should be restructured to avoid using nested patch context managers (a single combined with statement instead).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenHands__OpenHands__12302
OpenHands/OpenHands
12,302
defect
828837a969f9b245abc0bc436295af1067a27b34
f9b892eeb211821084eb447430319008a45c215f
Making sure verify_repo_provider is_optional so log is debug not error
## Summary of PR Fixing these errors in the logs: ``` Failed to access repository OpenHands/.openhands with all available providers. Tried providers: [<ProviderType.GITHUB: 'github'>]. Errors: github: Resource not found on github API: Client error '404 Not Found' for url 'https://api.github.com/repos/OpenHands/.op...
diff --git a/openhands/app_server/app_conversation/skill_loader.py b/openhands/app_server/app_conversation/skill_loader.py index d237ff05426b..1e4a2baad815 100644 --- a/openhands/app_server/app_conversation/skill_loader.py +++ b/openhands/app_server/app_conversation/skill_loader.py @@ -134,7 +134,9 @@ async def _is_git...
1
1
0
[{"id": "G0", "claim": "Two comments added by the pull request contain stray text (\"# Determine repository type zzzz\" and \"# Validate repository path zzzzz\") that looks like an unintentional edit and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
OpenHands__OpenHands__12475
OpenHands/OpenHands
12,475
defect
941b6dd340f0c75a01ed03adabc88a3fa1463ff0
68babe7ade17304954771a93c948af00a372ea3b
Fix asyncio event loop conflict in get_user_by_id
Add get_user_by_id_async() method to UserStore to avoid nested event loop issues when calling from async contexts. The original sync method used call_async_from_sync() internally which created a new event loop, causing 'Task got Future attached to a different loop' errors when Redis operations were performed. Change...
diff --git a/enterprise/server/routes/api_keys.py b/enterprise/server/routes/api_keys.py index 6b21df60b974..3586cbb09492 100644 --- a/enterprise/server/routes/api_keys.py +++ b/enterprise/server/routes/api_keys.py @@ -63,10 +63,10 @@ async def generate_byor_key(user_id: str) -> str | None: """Generate a new BYOR ...
2
1
0
[{"id": "G0", "claim": "Asked whether there is a better approach to prevent the user query from running twice (the async get_user_by_id queries the user a second time after acquiring the creation lock).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Aske...
null
OpenHands__OpenHands__12477
OpenHands/OpenHands
12,477
defect
a987387353e769e2fa65fabb32e6b8a205238fe4
05202b2bd4cdb92f689ff612550a7e48d65824ea
[Jira]: fix match conditions for kicking off openhands
<!-- Ideally you should open a PR when it is ready for review. Draft PRs will not be reviewed --> ## Summary of PR This PR does the following 1. it moves the match conditions out of `parse_webhook` 2. it renames `is_job_requested` to `is_repository_specified` so that its indicative of its actual purpose 3. t...
diff --git a/enterprise/integrations/jira/jira_manager.py b/enterprise/integrations/jira/jira_manager.py index 05541a69955b..52f4a640b8b4 100644 --- a/enterprise/integrations/jira/jira_manager.py +++ b/enterprise/integrations/jira/jira_manager.py @@ -137,50 +137,23 @@ async def validate_request( def parse_webhoo...
6
4
1
[{"id": "G0", "claim": "The else branch of parse_webhook implicitly assumes the event is 'jira:issue_updated' because is_job_requested only admits two event types; an explicit elif plus a defensive log-and-return for other event types would make the assumption self-documenting.", "category": "maintainability", "verdict...
null
OpenHands__OpenHands__12635
OpenHands/OpenHands
12,635
defect
102095affb7cf123cb71f598210070b6ea59a4c5
00702b4e9d251bc2a36c1421cf318ed45921a81e
Fix UserSettings creation from Org tables
<!-- Ideally you should open a PR when it is ready for review. Draft PRs will not be reviewed --> ## Summary of PR This PR fixes issues with UserSettings creation and migration from Org tables, and converts several synchronous operations to async for improved performance and to prevent blocking. ### Key Changes 1. ...
diff --git a/enterprise/server/auth/saas_user_auth.py b/enterprise/server/auth/saas_user_auth.py index 5cd6a1e2c48e..a0172c9d6981 100644 --- a/enterprise/server/auth/saas_user_auth.py +++ b/enterprise/server/auth/saas_user_auth.py @@ -216,9 +216,9 @@ async def get_user_settings_store(self) -> SettingsStore: asyn...
3
1
1
[{"id": "G0", "claim": "When UserStore.get_user_by_id_async(user_id) returns None, attempting to access user.current_org_id would result in an AttributeError in create_api_key, and the same potential issue is present in list_api_keys (api_key_store.py:131-132) and retrieve_mcp_api_key (api_key_store.py:157-158).", "cat...
null
OpenHands__OpenHands__12726
OpenHands/OpenHands
12,726
defect
7b0589ad401fc18521c3f491d2d51ad7593233f0
858434db187a5ec3809285dffa57079237e4988e
APP-443: Fix key generation
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> APP-443: there were issues switching to/from the OpenHands provide...
diff --git a/enterprise/storage/lite_llm_manager.py b/enterprise/storage/lite_llm_manager.py index 7517c3633f3b..4c372792e783 100644 --- a/enterprise/storage/lite_llm_manager.py +++ b/enterprise/storage/lite_llm_manager.py @@ -25,12 +25,22 @@ from openhands.utils.http_session import httpx_verify_option # Timeout in...
11
8
4
[{"id": "G0", "claim": "saas_settings_store.py should use the get_openhands_cloud_key_alias() helper introduced by this pull request instead of hardcoding the alias string, for consistency and reuse.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
OpenHands__OpenHands__12799
OpenHands/OpenHands
12,799
defect
c4a90b1f89a3f90afc80a7f85c6a05a6145a1c2e
94de3421fb954311aaf4aaa2f795a8bbc297f3e2
feat(backend): add api for switching between orgs
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> **Descr...
diff --git a/enterprise/server/routes/orgs.py b/enterprise/server/routes/orgs.py index 4d00cb9764b8..44b2fdc513fd 100644 --- a/enterprise/server/routes/orgs.py +++ b/enterprise/server/routes/orgs.py @@ -603,3 +603,78 @@ async def remove_org_member( status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, ...
5
2
2
[{"id": "G0", "claim": "Synchronous database calls made from the new async org-switching flow block the event loop; wrap the calls in asyncio.to_thread or convert the store methods (and session_maker) to async.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
OpenHands__OpenHands__12853
OpenHands/OpenHands
12,853
defect
85eb1e15041e64c6b88e2c305b75b4c3072357f7
b3dde9d2c5ba0ac1aaf7440c0119246d9795f8af
refactor(backend): rename user role to member across the system
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> Accordi...
diff --git a/enterprise/migrations/versions/092_rename_user_role_to_member.py b/enterprise/migrations/versions/092_rename_user_role_to_member.py new file mode 100644 index 000000000000..03faae124a2c --- /dev/null +++ b/enterprise/migrations/versions/092_rename_user_role_to_member.py @@ -0,0 +1,29 @@ +"""Rename 'user' r...
1
1
1
[{"id": "G0", "claim": "The test file enterprise/tests/unit/server/services/test_org_member_service.py still contains multiple references to the old 'user' role (the user_role fixture, role.name = 'user', OrgMemberUpdate(role='user'), _can_remove_member/_can_update_member_role calls and role_name assertions) that need ...
null
OpenHands__OpenHands__12862
OpenHands/OpenHands
12,862
defect
5f958ab60d564cefce51e10b3ca94bc2994b6673
7327b8e7c8da6d5c6df17f70adc045299379ac83
fix(backend): enable byor key export after purchasing credits
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> - Resolve...
diff --git a/enterprise/server/routes/billing.py b/enterprise/server/routes/billing.py index f99d90f710fc..438887571d83 100644 --- a/enterprise/server/routes/billing.py +++ b/enterprise/server/routes/billing.py @@ -17,7 +17,7 @@ from storage.billing_session import BillingSession from storage.database import session_m...
3
1
1
[{"id": "G0", "claim": "GitHub Actions ('Run Python Tests') are failing on this pull request, which prevents it from being merged.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The line assigning mock_db_session.query.return_value.filter.return_value.f...
null
OpenHands__OpenHands__12923
OpenHands/OpenHands
12,923
defect
3bcd6f18df02f34ae2cfcbab3185c2bb12206d93
f236054d2b75db51a97971671bdd6440522fddc0
fix(backend): add organization filtering to V1 conversation queries
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> The Saa...
diff --git a/enterprise/server/utils/saas_app_conversation_info_injector.py b/enterprise/server/utils/saas_app_conversation_info_injector.py index 31f0c633c48f..9fbba8cb4948 100644 --- a/enterprise/server/utils/saas_app_conversation_info_injector.py +++ b/enterprise/server/utils/saas_app_conversation_info_injector.py @...
10
7
4
[{"id": "G0", "claim": "The user lookup and org filtering logic duplicated in _secure_select, _secure_select_with_saas_metadata and count_app_conversation_info should be extracted into a helper method like _apply_org_filter to reduce duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
OpenHands__OpenHands__12960
OpenHands/OpenHands
12,960
defect
3bc2ef954ef464f274b69ae7155fe2d2a71575a2
18a9dcc79db6b2e00a79562c4c6b8091f2f2c9b7
Fix session_maker to accept kwargs for backward compatibility
## Summary of PR Fixes a regression bug where `session_maker()` in `enterprise/storage/database.py` lost the ability to accept keyword arguments like `expire_on_commit=False` during a refactor to use `DbSessionInjector`. This caused Joe's Slack login to fail with a `TypeError`. ## Change Type - [x] Bug fix - [ ] New...
diff --git a/enterprise/storage/database.py b/enterprise/storage/database.py index 63798f7813e1..70aba63d1726 100644 --- a/enterprise/storage/database.py +++ b/enterprise/storage/database.py @@ -18,10 +18,10 @@ def _get_db_session_injector(): return _config.db_session -def session_maker(): +def session_maker(*...
3
2
1
[{"id": "G0", "claim": "The PR fixes a production bug by making session_maker accept kwargs, but ships without a regression test calling session_maker(expire_on_commit=False), and such a test should be added before merging.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
OpenHands__OpenHands__12983
OpenHands/OpenHands
12,983
defect
872f2b87f20ccb7e62ebe716deeb43d8e1082361
4fb6696d4ac88b69306507a41eb6ea448c102dab
V1 resolver: move PR/issue context into initial user message
## Summary of PR In V1 resolver conversations (app_server/SDK path), we were passing resolver “conversation instructions” (e.g. PR/MR context + previous comments + handling steps) via `system_message_suffix`, which effectively makes them part of the system prompt. This PR changes the V1 GitHub resolver flow to: - **...
diff --git a/enterprise/integrations/github/github_view.py b/enterprise/integrations/github/github_view.py index 94ffd7da5691..0e96488b8b6a 100644 --- a/enterprise/integrations/github/github_view.py +++ b/enterprise/integrations/github/github_view.py @@ -238,6 +238,19 @@ async def _create_v0_conversation( ...
3
3
1
[{"id": "G0", "claim": "The base-class _get_v1_initial_user_message is dead code because every subclass overrides it, and the review asks to remove it, make it abstract, or keep it as a fallback but document why.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
OpenHands__OpenHands__12999
OpenHands/OpenHands
12,999
defect
8e0f74c92c0b6603dfc535da767d64655b7d0d9e
69305fb5a16cd78a41cb5cb869145d9036565bae
feat(backend): add pagination and email filtering for organization members
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> **Descr...
diff --git a/enterprise/server/routes/org_models.py b/enterprise/server/routes/org_models.py index ed2b47e016b9..4d058d32f8db 100644 --- a/enterprise/server/routes/org_models.py +++ b/enterprise/server/routes/org_models.py @@ -267,7 +267,9 @@ class OrgMemberPage(BaseModel): """Paginated response for organization m...
9
2
2
[{"id": "G0", "claim": "Running a count query alongside the data query on every page request doubles database load on each request; the count belongs behind an optional/separate endpoint instead.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Removi...
null
OpenHands__OpenHands__13012
OpenHands/OpenHands
13,012
defect
dcb584913ac4b3ec3a2032190bbc9ba10280d93a
4216d466142d19a4432ceb152b7d7d3e2901c6d8
Fix CVE-2024-23342: Replace python-jose with jwcrypto
## Summary This PR addresses **CVE-2024-23342**, a Minerva timing attack vulnerability in the `ecdsa` Python package (versions 0.18.0 and prior). ## Background - **CVE ID**: CVE-2024-23342 - **Affected Package**: ecdsa (Python) - **CVSS Score**: 7.4 HIGH (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) - **CWE**: CWE-20...
diff --git a/openhands/app_server/services/jwt_service.py b/openhands/app_server/services/jwt_service.py index d380ded77d9d..36b1afcd6468 100644 --- a/openhands/app_server/services/jwt_service.py +++ b/openhands/app_server/services/jwt_service.py @@ -6,8 +6,8 @@ import jwt from fastapi import Request -from jose imp...
5
5
2
[{"id": "G0", "claim": "decrypt_jwe_token deserializes the JWE token twice (once to extract kid and again to decrypt) and should deserialize once and reuse the same jwe_obj for both.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR does not tes...
null
OpenHands__OpenHands__13019
OpenHands/OpenHands
13,019
defect
68165b52d98196f4e91eb123e018419c6d2204ad
0dce1bf0880ed70fd0d6c7546c0013a285c1f843
Optimize get_sandbox_by_session_api_key with hash lookup
## Summary of PR This PR optimizes the `get_sandbox_by_session_api_key` method in `RemoteSandboxService` by storing a hash of the session API key in the database, eliminating the need to call the remote runtime API's `/list` endpoint. ### Problem Previously, `get_sandbox_by_session_api_key` would: 1. Call `/list` aga...
diff --git a/enterprise/migrations/versions/097_add_session_api_key_hash_to_v1_remote_sandbox.py b/enterprise/migrations/versions/097_add_session_api_key_hash_to_v1_remote_sandbox.py new file mode 100644 index 000000000000..8e2a54442b53 --- /dev/null +++ b/enterprise/migrations/versions/097_add_session_api_key_hash_to_...
3
2
0
[{"id": "G0", "claim": "In _get_sandbox_by_session_api_key_legacy, the backfill of sandbox.session_api_key_hash is not explicitly committed and relies on implicit SQLAlchemy session flushing; the bot suggests either adding a comment explaining this or explicitly calling await self.db_session.commit().", "category": "ma...
null
OpenHands__OpenHands__13021
OpenHands/OpenHands
13,021
defect
68165b52d98196f4e91eb123e018419c6d2204ad
47c8d8d1c56df436e6e3cc17e2feabae8f8c59fc
feat(backend): saas users app settings api
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> ### End...
diff --git a/enterprise/saas_server.py b/enterprise/saas_server.py index 224889299317..70d64c62eb6f 100644 --- a/enterprise/saas_server.py +++ b/enterprise/saas_server.py @@ -47,6 +47,7 @@ from server.routes.orgs import org_router # noqa: E402 from server.routes.readiness import readiness_router # noqa: E402 from ...
7
4
2
[{"id": "G0", "claim": "The request/response models lack input validation: git_user_email should validate email format, string fields need max length constraints, and language should validate against supported locales.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
OpenHands__OpenHands__13092
OpenHands/OpenHands
13,092
defect
3804b66e329af9ff5516e5f10ba0498b60844a01
6ab9b71d0c024d2a4bf0749b0e3400954ee775ae
Fix: restore conversation link in PR bodies created via MCP
## Summary of PR When OpenHands creates a PR/MR via the MCP `create_pr` / `create_mr` tools (SaaS mode), the server appends a link back to the originating OpenHands conversation so the user can continue the flow from the Web UI. The link is appended in `openhands/server/routes/mcp.py:get_conversation_link()`, and it ...
diff --git a/AGENTS.md b/AGENTS.md index 425ca5a1a68f..878a26e884b2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -165,7 +165,7 @@ Each integration follows a consistent pattern with service classes, storage mode **Import Patterns:** - Use relative imports without `enterprise.` prefix in enterprise code -- Example: `fro...
3
3
1
[{"id": "G0", "claim": "The PR's changes so far sit on the legacy V0 path while the missing conversation-link bug is in V1, so the changes are wrong and the right thing (the V1 app_server path) must be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
OpenHands__OpenHands__13120
OpenHands/OpenHands
13,120
defect
d6b8d800265f1e6c7caa523ec56bc226d6c2b352
887f72da1653de871699d760e9ff0a5006047ceb
V1 Changes to Support Path Based Routing
## Summary of PR This PR fixes issues related to using V1 runtimes with path based routing, as is used in most self-hosted environments. This PR requires an update to the Agent SDK to be deployed first: https://github.com/OpenHands/software-agent-sdk/pull/2249 ## Change Type <!-- Choose the types that apply...
diff --git a/frontend/__tests__/api/v1-git-service.test.ts b/frontend/__tests__/api/v1-git-service.test.ts index 495a395c81d6..4111ff7576d5 100644 --- a/frontend/__tests__/api/v1-git-service.test.ts +++ b/frontend/__tests__/api/v1-git-service.test.ts @@ -1,18 +1,175 @@ -import { test, expect, vi } from "vitest"; +impor...
2
1
1
[{"id": "G0", "claim": "The PR description needs to document that the frontend switch to query params is a breaking API change requiring the updated agent-server backend (image 2c1e72a) and state the frontend/backend deployment order requirement, or verify both changes are atomic.", "category": "documentation", "verdic...
null
OpenHands__OpenHands__13136
OpenHands/OpenHands
13,136
defect
a4cd2d81a546317cfa499e568f85cc2af3cebd77
d5b0edae2750dbb2bc2ce84efaf28cc91a915e31
feat(enterprise): convert DeviceCodeStore to async
## Summary of PR This PR converts the `DeviceCodeStore` to be asynchronous and use an asynchronous database session, following the same pattern used in `api_key_store.py`. ### Changes Made **`enterprise/storage/device_code_store.py`** - Converted the class to use `@dataclass` decorator (matching api_key_store.py) - ...
diff --git a/enterprise/server/routes/oauth_device.py b/enterprise/server/routes/oauth_device.py index a7d126e04018..b53897269174 100644 --- a/enterprise/server/routes/oauth_device.py +++ b/enterprise/server/routes/oauth_device.py @@ -7,7 +7,6 @@ from fastapi.responses import JSONResponse from pydantic import BaseMod...
3
2
0
[{"id": "G0", "claim": "The timezone-naive handling in DeviceCode.is_expired() and check_rate_limit() is a band-aid; fix the database layer to store/return timezone-aware datetimes instead of adding defensive code everywhere that touches them.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "in...
null
OpenHands__OpenHands__13145
OpenHands/OpenHands
13,145
defect
8059c18b5708d8dec285353cd59ff12ccc70352c
d459a47b09ceb2b5d06c1b8f9f6099a8e2559276
fix(enterprise): fix type errors - missing returns and async interface
## Summary of PR This PR fixes 12 type errors in the enterprise code as part of the incremental effort to address type errors exposed by the improved mypy configuration from #13138. ## Demo Screenshots/Videos N/A - Type error fixes only ## Change Type - [x] Bug fix - [ ] New feature - [ ] Breaking chan...
diff --git a/enterprise/integrations/gitlab/gitlab_view.py b/enterprise/integrations/gitlab/gitlab_view.py index 9db884bfdf87..bad7e7b45153 100644 --- a/enterprise/integrations/gitlab/gitlab_view.py +++ b/enterprise/integrations/gitlab/gitlab_view.py @@ -446,3 +446,5 @@ async def create_gitlab_view_from_payload( ...
1
1
1
[{"id": "G0", "claim": "Changing `ResolverViewInterface._get_instructions` from sync to async in enterprise/integrations/types.py is a breaking change that will cause type errors for the still-sync implementations in the slack, jira_dc and linear modules (their types.py interfaces and view classes, ~10 new type errors)...
null
OpenHands__OpenHands__13179
OpenHands/OpenHands
13,179
defect
2f11f6a39a6bb653bc4aad4406da30f420e85a48
c58b485677beb64c9840a112381d00d3ed5f8339
Fix mypy type errors in token_manager.py and auth_token_store.py
## Summary of PR Fixes mypy type errors in enterprise code: ### 1. `enterprise/storage/auth_token_store.py` (line 105) The `load_tokens` method's callback type hint expected `Awaitable[Dict[str, str | int]]` but the actual callback returns `dict[str, str | int] | None`. Updated the type to allow `None` in the return ...
diff --git a/enterprise/server/auth/token_manager.py b/enterprise/server/auth/token_manager.py index 80ed958412d2..f29cda21ca11 100644 --- a/enterprise/server/auth/token_manager.py +++ b/enterprise/server/auth/token_manager.py @@ -4,6 +4,7 @@ import json import time from base64 import b64encode +from typing import N...
4
4
2
[{"id": "G0", "claim": "Using cast() to label the unvalidated Keycloak response as KeycloakUserInfo defeats type safety; the response should actually be validated (e.g. that the required 'sub' claim is present) instead of trusting the cast.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
OpenHands__OpenHands__13190
OpenHands/OpenHands
13,190
defect
a1271dc129609456944112e536a5edc3e9e70f36
deed5deedba35739b9adbf3952e4ed4ab3abe793
Fix mypy type errors in server/services and storage/org_service
## Summary of PR This PR fixes mypy type errors in the enterprise `server/services` and `storage/org_service` modules that were exposed by improved mypy configuration (see #13138). ### Changes: **1. `enterprise/server/services/org_app_settings_service.py`** - Added `None` checks for `user_id` before passing to `get_...
diff --git a/enterprise/server/services/org_app_settings_service.py b/enterprise/server/services/org_app_settings_service.py index d98ce4e05c92..10fed73ba7f1 100644 --- a/enterprise/server/services/org_app_settings_service.py +++ b/enterprise/server/services/org_app_settings_service.py @@ -39,8 +39,11 @@ async def get_...
5
2
2
[{"id": "G0", "claim": "The enterprise folder's lint is failing and needs to be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Raising ValueError('User not authenticated') is the semantically wrong exception type for an authentication fai...
null
OpenHands__OpenHands__13192
OpenHands/OpenHands
13,192
defect
0ae9128ed7a054e067417ca14d4e98a37e2aa947
ad33e3336d2a0ae26a0c44cef4364466c0d5f3c2
feat: Auto-forward LLM_* env vars to agent-server and fix host network config
## Summary This PR addresses multiple related issues where environment variables set on the app-server were not being forwarded to the agent-server container in the V1 two-container architecture. ### Related Issues - Fixes OpenHands/OpenHands#12120 - LLM_TIMEOUT environment variable not being applied - Fixes OpenHands...
diff --git a/openhands/app_server/sandbox/docker_sandbox_service.py b/openhands/app_server/sandbox/docker_sandbox_service.py index cb1466a8fa21..6081e8a6f575 100644 --- a/openhands/app_server/sandbox/docker_sandbox_service.py +++ b/openhands/app_server/sandbox/docker_sandbox_service.py @@ -43,6 +43,26 @@ STARTUP_GRACE...
3
2
1
[{"id": "G0", "claim": "Keeping backward compatibility for just the SANDBOX_USE_HOST_NETWORK variable while not forwarding other SANDBOX_* variables is inconsistent, may give the wrong impression, and should be dropped in favour of only AGENT_SERVER_USE_HOST_NETWORK.", "category": "design", "verdict": "supported", "pri...
null
OpenHands__OpenHands__13204
OpenHands/OpenHands
13,204
defect
baae3780e51318ae602cb2b376cacb07a1daad08
ab35dee8f61714acf71fe69145974ed204b39aaf
Fix mypy type errors in enterprise/storage/
## Summary of PR This PR fixes mypy type errors in `enterprise/storage/` that were exposed by improved mypy configuration (see #13138). ### Changes #### `user_store.py` - **`migrate_user` return type**: Changed from `User` to `User | None` (function can return `None` internally) - **Variable rename**: Renamed `setti...
diff --git a/enterprise/storage/lite_llm_manager.py b/enterprise/storage/lite_llm_manager.py index fc45fb227117..e178a5bbb3db 100644 --- a/enterprise/storage/lite_llm_manager.py +++ b/enterprise/storage/lite_llm_manager.py @@ -137,13 +137,20 @@ async def create_entries( client, keycloak_user_id, or...
7
2
2
[{"id": "G0", "claim": "Key generation failure returns None but callers cannot distinguish why it failed, so consider raising an exception or returning a Result type that preserves error context.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The st...
null
OpenHands__OpenHands__13219
OpenHands/OpenHands
13,219
defect
518fb2ee2434cfb5f2a77294621928d4b415bccd
f0a6f4679ea29b5c330bdb873f1b7b241876faac
Improve budget exceeded error handling in V1 callback processors
## Summary of PR This PR improves the handling of LLM budget exceeded errors in V1 callback processors (GitHub, GitLab, Slack): 1. **Use info log instead of error log** for budget exceeded errors since this is expected cost control behavior, not an unexpected error 2. **Display user-friendly message** to users when L...
diff --git a/enterprise/integrations/github/github_v1_callback_processor.py b/enterprise/integrations/github/github_v1_callback_processor.py index 7dc82da54e31..be611b834d33 100644 --- a/enterprise/integrations/github/github_v1_callback_processor.py +++ b/enterprise/integrations/github/github_v1_callback_processor.py @...
3
2
0
[{"id": "G0", "claim": "The error detection is too naive and could have false positives because it merely checks that both 'budget' and 'exceeded' appear anywhere in the message, which could incorrectly downgrade real errors to info logs or show the wrong message to users; a more robust detection (parsing the exception...
null
OpenHands__OpenHands__13228
OpenHands/OpenHands
13,228
defect
8dac1095d73af2f3b8eeb0a77dccb0c2ee1ef8f2
1bab530bbf0095caa78a951d06463d6cc5f76ee8
feat(enterprise): Bitbucket Data Center Integration
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR This PR adds an enterprise integration for Bit...
diff --git a/enterprise/allhands-realm-github-provider.json.tmpl b/enterprise/allhands-realm-github-provider.json.tmpl index 35ff5f0afc79..c3e24e61d4b2 100644 --- a/enterprise/allhands-realm-github-provider.json.tmpl +++ b/enterprise/allhands-realm-github-provider.json.tmpl @@ -1772,6 +1772,40 @@ "sendIdTokenO...
4
3
1
[{"id": "G0", "claim": "Module-level `BITBUCKET_BASE_URL` is built from an unchecked `BITBUCKET_DATA_CENTER_HOST` and could create a malformed `https://` URL if the variable is empty; remove the module-level variable and instead validate the host inside the `userinfo` route, throwing a `ValueError` if it is not set.", ...
null
OpenHands__OpenHands__13255
OpenHands/OpenHands
13,255
defect
d8444ef626338d2869cf73f62e4a27e335b8654b
58437eb6359709f9de2826e7246dcb1bc63ef1e5
Add rate limiting to verification emails during OAuth flow
## Summary of PR This PR adds rate limiting to verification emails sent during the OAuth login flow to prevent abuse. ### The Problem When a user with an unverified email tries to login via OAuth, each login attempt called `verify_email()` **without any rate limiting**. Users who repeatedly tried to login without com...
diff --git a/enterprise/server/routes/auth.py b/enterprise/server/routes/auth.py index 7c596cd5584c..a3c11d9edc99 100644 --- a/enterprise/server/routes/auth.py +++ b/enterprise/server/routes/auth.py @@ -34,6 +34,7 @@ OrgInvitationService, UserAlreadyMemberError, ) +from server.utils.rate_limit_utils import c...
1
1
1
[{"id": "G0", "claim": "When rate limited, users are redirected to the verification page without any indication of whether a new email was sent; consider adding &rate_limited=true to the redirect URL (set a rate_limited flag in the except block) so the frontend can show a clear check-your-inbox message instead of leavi...
null
OpenHands__OpenHands__13279
OpenHands/OpenHands
13,279
defect
d1c2185d99a2b2444669b0d5b80b427842b26481
aeefae97daf90535e54d231a213a67e830261dc0
Fix LiteLLM key management and user migration SQL queries
## Summary of PR This PR addresses two issues in the enterprise backend: ### 1. LiteLLM Key Cleanup on Entry Creation When creating LiteLLM entries in cloud deployment mode, the system now explicitly deletes any existing key by alias before generating a new one. This handles environments where multiple OpenHands ins...
diff --git a/enterprise/storage/lite_llm_manager.py b/enterprise/storage/lite_llm_manager.py index 49af669359e1..a7e240c7d7e1 100644 --- a/enterprise/storage/lite_llm_manager.py +++ b/enterprise/storage/lite_llm_manager.py @@ -137,11 +137,23 @@ async def create_entries( client, keycloak_user_id, or...
4
1
1
[{"id": "G0", "claim": "The new key-deletion path in create_entries has no test coverage; add a test verifying successful deletion when the key exists, graceful 404 handling when it does not, and that the new key is generated after deletion.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "i...
null
OpenHands__OpenHands__13301
OpenHands/OpenHands
13,301
defect
b37adbc1e6f14b1ce70c6ad424ee9cc9786d9f99
bafb4afefa76b6db076ddc06dadf95e30c06105f
fix: asyncpg, device key timestamp without timezone, error reporting
## Human Summary We're seeing `openhands login` cause 500 on `oauth/device/verify-authenticated`. The operative part of the stack trace seems to be `TypeError: can't subtract offset-naive and offset-aware datetimes`. A second error happens when propagating the first: ``` packages/sqlalchemy/dialects/postgresql/a...
diff --git a/enterprise/run_maintenance_tasks.py b/enterprise/run_maintenance_tasks.py index 89eb91b821e3..b4fb75218be0 100644 --- a/enterprise/run_maintenance_tasks.py +++ b/enterprise/run_maintenance_tasks.py @@ -21,11 +21,12 @@ async def main(): def set_stale_task_error(): + # started_at is naive UTC; strip ...
4
1
0
[{"id": "G0", "claim": "The core asyncpg wrapper fix has no test that would catch a regression; add an integration test that triggers a DB error in the GCP env, or at least a unit test verifying the connection creator returns an AsyncAdapt_asyncpg_connection with the right dbapi wrapper type.", "category": "testing", "...
null
OpenHands__OpenHands__13329
OpenHands/OpenHands
13,329
defect
5e5950b091fa1d4d9535e98dbecd8a6679966a97
5185c4fcf29860326fc399b1a86fd97a0fb9ed82
fix: use project_dir consistently for workspace.working_dir, setup.sh, and git hooks
## Problem When a repository is selected in V1, `workspace.working_dir` stays at `/workspace/project` (the sandbox mount root) instead of being set to `/workspace/project/<repo>` (the actual cloned repo directory). This causes all features depending on `.openhands/` config to fail because they look for files one direc...
diff --git a/openhands/app_server/app_conversation/app_conversation_service_base.py b/openhands/app_server/app_conversation/app_conversation_service_base.py index 86cab99faecf..c29a728298fe 100644 --- a/openhands/app_server/app_conversation/app_conversation_service_base.py +++ b/openhands/app_server/app_conversation/ap...
3
3
1
[{"id": "G0", "claim": "The docstring of `load_and_merge_all_skills` says `working_dir` is the sandbox base while callers pass a pre-computed `project_dir`, and the API would be simpler if `project_dir` were required with the fallback removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "...
null
OpenHands__OpenHands__13331
OpenHands/OpenHands
13,331
defect
5e5950b091fa1d4d9535e98dbecd8a6679966a97
a0440c79cd0a2dfb4a7bfa9f99272b375ff5a111
[Automations Phase 1] Task 3: Scheduler
## Description Implements the automation scheduler — a CronJob entry point that evaluates cron schedules and inserts tick events into the `automation_events` inbox table. Part of RFC: https://github.com/OpenHands/OpenHands/issues/13275 > **Depends on Task 1 (Data Foundation) being merged into `automations-phase1` fi...
diff --git a/enterprise/pyproject.toml b/enterprise/pyproject.toml index ef1840a8e401..46ac327efe57 100644 --- a/enterprise/pyproject.toml +++ b/enterprise/pyproject.toml @@ -14,6 +14,7 @@ readme = "README.md" repository = "https://github.com/OpenHands/OpenHands" packages = [ { include = "server" }, + { include =...
3
2
2
[{"id": "G0", "claim": "The IntegrityError handler's session.rollback() undoes all events created in the current scheduler run, not just the current automation's event, causing data loss when a later automation hits a dedup collision; it should use a nested transaction (savepoint) per automation instead.", "category": ...
null
OpenHands__OpenHands__13387
OpenHands/OpenHands
13,387
defect
cd2d0ee9a547cbf9f04d46ea14a9559890007a97
295365bdee56156b90e4e6affe0340cdf7eff9dd
Add sandbox_id__eq filter to AppConversationService search and count methods
## Summary of PR This PR adds the `sandbox_id__eq` filter parameter to the `AppConversationService` search and count methods, extending the capability from the existing `AppConversationInfoService` to the higher-level service layer and API endpoints. ### Changes: - Add `sandbox_id__eq` parameter to `AppConversationSe...
diff --git a/openhands/app_server/app_conversation/app_conversation_router.py b/openhands/app_server/app_conversation/app_conversation_router.py index 54fc7c16b35e..50a8497a85ea 100644 --- a/openhands/app_server/app_conversation/app_conversation_router.py +++ b/openhands/app_server/app_conversation/app_conversation_rou...
1
1
1
[{"id": "G0", "claim": "The new router tests only assert that the mocked service methods were called and would pass even if the sandbox_id__eq filter were completely ignored, so tests that exercise actual filtering behavior (conversations with different sandbox_ids, filter by one, assert only matching results) are need...
null
OpenHands__OpenHands__13411
OpenHands/OpenHands
13,411
defect
f7ca32126f21f54dd7086c0aeac3992abeb516ae
c09327b6abbf62fd24b044f8ddb402a3120efd07
(Hotfix): followup messages for slack conversations
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR Follow up messages for slack conversations wer...
diff --git a/enterprise/storage/slack_conversation_store.py b/enterprise/storage/slack_conversation_store.py index 5fbbb0e958b5..f6b7689d71a1 100644 --- a/enterprise/storage/slack_conversation_store.py +++ b/enterprise/storage/slack_conversation_store.py @@ -28,7 +28,7 @@ async def create_slack_conversation( s...
2
2
1
[{"id": "G0", "claim": "The parameter name has a typo (`slack_converstion` should be `slack_conversation`); consider fixing it in a follow-up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "No test proves that follow-up messages are actually s...
null
OpenHands__OpenHands__13480
OpenHands/OpenHands
13,480
defect
abd1f9948f888c73440b94334e57771aabee5556
3dbd757da858bc866381167d577b1556ee7263dd
fix: use atomic write in LocalFileStore to prevent race conditions
## Summary of PR Fixes a race condition in `LocalFileStore.write()` where concurrent writes to the same file could result in corrupted content. **The Bug:** When two threads write to the same file concurrently and the second write is shorter than the first, the resulting file could contain mixed content. For example:...
diff --git a/openhands/storage/local.py b/openhands/storage/local.py index fcb766c0efb9..01c1554b5b82 100644 --- a/openhands/storage/local.py +++ b/openhands/storage/local.py @@ -1,5 +1,6 @@ import os import shutil +import threading from openhands.core.logger import openhands_logger as logger from openhands.stora...
3
3
3
[{"id": "G0", "claim": "The bare `except:` catches all exceptions including SystemExit and KeyboardInterrupt, breaking Python's exception hierarchy; it should be `except Exception:`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "No `fsync()` before...
null
OpenHands__OpenHands__13495
OpenHands/OpenHands
13,495
defect
2224127ac305f353d2013655e71b591c33291056
94e69a797a62fbb86994448733700f0e1093e846
fix(backend): clean up orphaned Keycloak users on duplicate email rejection
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> **Prere...
diff --git a/enterprise/server/routes/auth.py b/enterprise/server/routes/auth.py index 4118969274b0..e1b6d15e15e7 100644 --- a/enterprise/server/routes/auth.py +++ b/enterprise/server/routes/auth.py @@ -172,6 +172,13 @@ async def keycloak_callback( authorization = await user_authorizer.authorize_user(user_info) ...
3
2
1
[{"id": "G0", "claim": "If token_manager.delete_keycloak_user fails and raises an exception, the exception propagates and the HTTPException with 401 'duplicate_email' would never be raised, so the user sees an unexpected 500 error instead of the proper 401 response; wrap the deletion in try/except that logs and still r...
null
OpenHands__OpenHands__13591
OpenHands/OpenHands
13,591
defect
f7b53283b5692e1ba1755bfba8a51f09c76f5ec7
a0cb74c112bf403818ebf3bca5a4db248a730015
fix: make MCP settings user-specific within organization
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> Previou...
diff --git a/enterprise/migrations/versions/103_add_mcp_config_to_org_member.py b/enterprise/migrations/versions/103_add_mcp_config_to_org_member.py new file mode 100644 index 000000000000..dc22cf2a6fb1 --- /dev/null +++ b/enterprise/migrations/versions/103_add_mcp_config_to_org_member.py @@ -0,0 +1,26 @@ +"""Add mcp_c...
4
2
2
[{"id": "G0", "claim": "The migration only adds the org_member.mcp_config column but does not migrate existing org-level mcp_config data, so organizations that already stored MCP configs at org level will lose (orphan) those settings on upgrade; fix by copying existing org.mcp_config to all org_members, or document the...
null
OpenHands__OpenHands__13610
OpenHands/OpenHands
13,610
defect
024f4d3326363616f2303e1fafb93224c8bb7ddb
64b8caa9578d041e503568b87e3018258477e3f1
APP-1142 Reduced thrash on sandbox service
## Summary of PR Now using the output from the AppConversationInfoService rather than the AppConversationService, since we don't need data on the current status of the sandbox with which the conversation is associated. We also refactored to use the info object rather than retrieving it twice for each invocation. Thi...
diff --git a/openhands/server/routes/conversation.py b/openhands/server/routes/conversation.py index 9f126251bc2c..9ba5a7dfbd5e 100644 --- a/openhands/server/routes/conversation.py +++ b/openhands/server/routes/conversation.py @@ -12,10 +12,13 @@ from fastapi.responses import JSONResponse from pydantic import BaseMod...
2
2
1
[{"id": "G0", "claim": "The V1 path of get_remote_runtime_config returns a plain dict while the V0 path returns JSONResponse, and the V1 return should be wrapped in JSONResponse for consistency.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The bro...
null
OpenHands__OpenHands__13676
OpenHands/OpenHands
13,676
defect
df3360005c6bff7bf850ff1b1a8b28e4c9684225
2e49dbe28b1c273bf5e3c2fdde3dcb97bc72e22f
feat(backend): develop api to retrieve git organizations for the current organization
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> Add a n...
diff --git a/enterprise/server/routes/user.py b/enterprise/server/routes/user.py index 908f96281b5e..b5f8e4e16872 100644 --- a/enterprise/server/routes/user.py +++ b/enterprise/server/routes/user.py @@ -9,6 +9,7 @@ from openhands.integrations.provider import ( PROVIDER_TOKEN_TYPE, + ProviderHandler, ) from...
7
5
2
[{"id": "G0", "claim": "The error response passes a string to JSONResponse.content, which the reviewer says expects a dict and will fail at runtime; suggested changing it to a dict.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "next(iter(provider_tok...
null
OpenHands__OpenHands__13755
OpenHands/OpenHands
13,755
defect
6ad27b77bb6ac4356682a4e962465e9c25a0210c
17d04fd14c0f02b70f198d8f119f0520be9bd165
feat(backend): route gitlab resolver conversations to claimed org workspaces
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> - Add r...
diff --git a/enterprise/integrations/github/github_view.py b/enterprise/integrations/github/github_view.py index cf1a68378c37..ba439c0d9a9e 100644 --- a/enterprise/integrations/github/github_view.py +++ b/enterprise/integrations/github/github_view.py @@ -342,7 +342,7 @@ def _create_github_v1_callback_processor(self): ...
5
2
1
[{"id": "G0", "claim": "The V0-path tests in test_gitlab_view.py mock `initialize_conversation`, which the implementation removed and no longer calls, so they always pass while validating nothing; they should either test the real code path (mock `SaasConversationStore.get_resolver_instance()` and verify the store and m...
null
OpenHands__OpenHands__13758
OpenHands/OpenHands
13,758
defect
d058323a8725d45086e9d5a44a6ad55247c3a69d
0da9f9f70ca95d4ab59edaf40035a929e4ed2934
feat(backend): route Slack resolver conversations to claimed org workspaces
<!-- If you are still working on the PR, please mark it as draft. Maintainers will review PRs marked ready for review, which leads to lost time if your PR is actually not ready yet. Keep the PR marked as draft until it is finally ready for review --> ## Summary of PR <!-- Summarize what the PR does --> When a ...
diff --git a/enterprise/integrations/slack/slack_view.py b/enterprise/integrations/slack/slack_view.py index eb336404a346..d2bdc1ebd0ec 100644 --- a/enterprise/integrations/slack/slack_view.py +++ b/enterprise/integrations/slack/slack_view.py @@ -4,6 +4,7 @@ from integrations.models import Message from integrations...
6
1
0
[{"id": "G0", "claim": "Bypassing create_new_conversation with a hand-built SaasConversationStore path duplicates conversation-creation logic and maintains two code paths; fix the interface properly (make resolver_org_id an optional OSS parameter or build a shared factory/builder) instead of working around it.", "categ...
null
OpenHands__OpenHands__13770
OpenHands/OpenHands
13,770
defect
e38eda4ac9709d6d45a0aae50cf81767ff48b65a
946331fd69b9a7b6c0334bbb3b35d626a4a1daf5
APP-1197 Migrate secrets endpoints to V1 API
## Summary of PR Migrates all secrets endpoints from legacy V0 API to new V1 API following the API migration principles: - All new endpoints prefixed with `/api/v1` - Packaged by feature rather than by layer ### Changes: - Created new V1 router at `openhands/app_server/secrets/secrets_router.py` - All secrets...
diff --git a/openhands/app_server/secrets/secrets_router.py b/openhands/app_server/secrets/secrets_router.py new file mode 100644 index 000000000000..37f0ab573898 --- /dev/null +++ b/openhands/app_server/secrets/secrets_router.py @@ -0,0 +1,438 @@ +"""Secrets router for OpenHands App Server. + +This module provides the...
8
7
3
[{"id": "G0", "claim": "The new secrets_router.py is missing a newline at end of file, which will fail pre-commit hooks.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment claiming the get_secrets dependency is not available in the V1 router...
null
OpenHands__OpenHands__13787
OpenHands/OpenHands
13,787
defect
7af2285fe6ec9e2755776650aafdaec61acaee43
56da7b2a8ee50b1909cebbf9ec1e0b0e30316f3a
Added new v1 endpoint for user git info and deprecated old endpoint
## Summary of PR As part of the V0 deprecation process, we are deprecating the last of the V0 endpoints - including /api/user/info - /api/v1/user/git-info will replace this endpoint ## Demo Screenshots/Videos <img width="1460" height="92" alt="image" src="https://github.com/user-attachments/assets/c3b918fc-914e-...
diff --git a/enterprise/integrations/resolver_context.py b/enterprise/integrations/resolver_context.py index 29192d155406..1ec84a0cea0a 100644 --- a/enterprise/integrations/resolver_context.py +++ b/enterprise/integrations/resolver_context.py @@ -3,7 +3,7 @@ from openhands.app_server.user.user_context import UserConte...
4
4
2
[{"id": "G0", "claim": "The identical get_user_git_info implementation is copy-pasted into both default_user_auth.py and saas_user_auth.py and should be extracted into a shared helper or a default implementation in the base UserAuth class.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intr...
null
OpenHands__OpenHands__13790
OpenHands/OpenHands
13,790
defect
e3246c27d44d57d438e4870762a70ad15e2027e9
4a616aa0a8694e26b2e52c836b6837a5eeaafa29
Add V1 git routes with pagination for installations and repositories
## Summary of PR Add new V1 API endpoints at `/api/v1/git/installations` and `/api/v1/git/repositories` with pagination support, following the same pattern as `event_router.py`. The legacy endpoints in `openhands/server/routes/git.py` and `enterprise/server/routes/user.py` have been marked deprecated with refere...
diff --git a/enterprise/server/routes/user.py b/enterprise/server/routes/user.py index f98f73f4b8d7..c88878f5d467 100644 --- a/enterprise/server/routes/user.py +++ b/enterprise/server/routes/user.py @@ -45,7 +45,12 @@ token_manager = TokenManager() -@saas_user_router.get('/installations', response_model=list[str])...
12
1
1
[{"id": "G0", "claim": "The pagination design is inconsistent: _paginate_results treats page_id as an offset string while get_user_repositories treats it as a page number, so the same next_page_id value means different things on the two endpoints, which will confuse consumers; pick ONE pagination strategy for both endp...
null
OpenHands__OpenHands__13791
OpenHands/OpenHands
13,791
defect
72194f19db6170e1f601c478c48869e38d27adef
f36e323166091832fbd3d00f9eb1a5ebd4b54490
fix(slack): immediately display 'No Repository' option
## Summary of PR This PR improves the Slack repository selection UX by making the "No Repository" option **immediately available** without any loading delay. ### The Problem Previously, when users clicked on the repository dropdown in Slack, the `external_select` element required a network request before showi...
diff --git a/enterprise/integrations/slack/slack_manager.py b/enterprise/integrations/slack/slack_manager.py index 9d7924bfdf58..959c0e4c2ab4 100644 --- a/enterprise/integrations/slack/slack_manager.py +++ b/enterprise/integrations/slack/slack_manager.py @@ -239,12 +239,14 @@ async def _search_repositories( def _g...
2
2
1
[{"id": "G0", "claim": "Consider extracting the action-type branching in receive_form_interaction into a _parse_form_action helper method to simplify the main function and make the action handling more maintainable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null