Repository navigation
Release 4.1.0 - #288
Merged
Merged
Release 4.1.0#288
Conversation
…ers. Introduces a unified persistence layer interface with a federated implementation. Added msosa, view, and oauth modules
…th persistence implementation
…preventing them from getting transaction proxies created
…persistence_refactor
…vice doesn't need to pass in commitIds (this is so it's not getting json just to get ids as getting entire commit json is expensive for federated persistence)
…ndling ve structural changes and has been taken out of ve (5+)
…mitService and CameoCommitService
…oved filter to JsonDomain
* chore: restore the build and move the image to eclipse-temurin 17 JRE Drop the unused jfrog and bintray Gradle plugins, whose transitive http-builder 0.7.2 is no longer resolvable, so a clean build configures again. Build the image in two stages: compile on eclipse-temurin:17-jdk and run the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo agent is no longer hardcoded in the entrypoint; CircleCI enables it through JDK_JAVA_OPTIONS. Replace the minio/minio compose image, which is gone from Docker Hub, with cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and current action versions. Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: keep S3Mock objects across a restart of the compose service Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE SonarQube Cloud now rejects analysis from Java 17, which is what the 2.0.0 orb's scanner picked up from the executor. Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: check out a full clone so the SonarQube scan can blame files The GitHub App pipeline defaults to a blobless clone, and the scan job reads history from the persisted workspace without git credentials. Co-Authored-By: jason.han <hanhuijun@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
…umps * chore: restore the build and move the image to eclipse-temurin 17 JRE Drop the unused jfrog and bintray Gradle plugins, whose transitive http-builder 0.7.2 is no longer resolvable, so a clean build configures again. Build the image in two stages: compile on eclipse-temurin:17-jdk and run the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo agent is no longer hardcoded in the entrypoint; CircleCI enables it through JDK_JAVA_OPTIONS. Replace the minio/minio compose image, which is gone from Docker Hub, with cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and current action versions. Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: keep S3Mock objects across a restart of the compose service Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: patch-level dependency bumps within Spring Boot 2.7 Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE SonarQube Cloud now rejects analysis from Java 17, which is what the 2.0.0 orb's scanner picked up from the executor. Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: check out a full clone so the SonarQube scan can blame files The GitHub App pipeline defaults to a blobless clone, and the scan job reads history from the persisted workspace without git credentials. Co-Authored-By: jason.han <hanhuijun@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
…ch-rest-client * chore: restore the build and move the image to eclipse-temurin 17 JRE Drop the unused jfrog and bintray Gradle plugins, whose transitive http-builder 0.7.2 is no longer resolvable, so a clean build configures again. Build the image in two stages: compile on eclipse-temurin:17-jdk and run the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo agent is no longer hardcoded in the entrypoint; CircleCI enables it through JDK_JAVA_OPTIONS. Replace the minio/minio compose image, which is gone from Docker Hub, with cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and current action versions. Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: keep S3Mock objects across a restart of the compose service Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: patch-level dependency bumps within Spring Boot 2.7 Co-Authored-By: jason.han <hanhuijun@gmail.com> * feat: support Elasticsearch 9 and OpenSearch 3 through the shared REST API Replace the Elasticsearch 7 high-level client with the low-level REST client and JSON request bodies, so one code path serves both servers and the backend is chosen by elasticsearch.host/port alone. Drop the unused Elasticsearch dependency from twc, add a compose override for OpenSearch and run the search collections against it in CI. Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: trigger CircleCI through the GitHub App pipeline Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE SonarQube Cloud now rejects analysis from Java 17, which is what the 2.0.0 orb's scanner picked up from the executor. Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: check out a full clone so the SonarQube scan can blame files The GitHub App pipeline defaults to a blobless clone, and the scan job reads history from the persisted workspace without git credentials. Co-Authored-By: jason.han <hanhuijun@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
TwcPermissionUtilsTest passed a Mockito mock of HttpHeaders to the ResponseEntity constructor. Spring Framework 5.3 reads the mock's null backing map there and throws 'MultiValueMap must not be null'; a real HttpHeaders instance is used instead. DefaultCommitServiceTest still stubbed the CommitPersistence calls that DefaultCommitService stopped making: getElementCommits now calls elementHistory(projectId, refId, elementId) and isProjectNew calls findByProjectAndRefAndTimestampAndLimit(projectId, "master", null, 1). Co-Authored-By: jason.han <hanhuijun@gmail.com>
… SDK v2 Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Copies the MMS indices of an Elasticsearch 7 deployment into Elasticsearch 9 or OpenSearch 3, creating each target index with the shipped mapping, and verifies the result by document count or content. Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…I document Co-Authored-By: jason.han <hanhuijun@gmail.com>
TwcPermissionUtilsTest passed a Mockito mock of HttpHeaders to the ResponseEntity constructor. Spring Framework 5.3 reads the mock's null backing map there and throws 'MultiValueMap must not be null'; a real HttpHeaders instance is used instead. DefaultCommitServiceTest still stubbed the CommitPersistence calls that DefaultCommitService stopped making: getElementCommits now calls elementHistory(projectId, refId, elementId) and isProjectNew calls findByProjectAndRefAndTimestampAndLimit(projectId, "master", null, 1). Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ials provider Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
* Migrate to Spring Boot 3.5, Gradle 8, Jakarta EE, Hibernate 6 and AWS SDK v2 Co-Authored-By: jason.han <hanhuijun@gmail.com> * Close the S3 client when bucket initialization fails Co-Authored-By: jason.han <hanhuijun@gmail.com> * Register the ElementVersion schema referenced by Commit in the OpenAPI document Co-Authored-By: jason.han <hanhuijun@gmail.com> * Make SpringDocRequestBuilder static and build the default AWS credentials provider Co-Authored-By: jason.han <hanhuijun@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
…ion-script * Add script and operator guide for migrating Elasticsearch 7 indices Copies the MMS indices of an Elasticsearch 7 deployment into Elasticsearch 9 or OpenSearch 3, creating each target index with the shipped mapping, and verifies the result by document count or content. Co-Authored-By: jason.han <hanhuijun@gmail.com> * Fail on partial shard answers and size bulk requests in bytes Co-Authored-By: jason.han <hanhuijun@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
oss.sonatype.org no longer accepts uploads. Releases are staged locally, zipped by the centralBundle task and uploaded through the Central Publisher API; snapshots go to the Central Portal snapshot repository. Credentials and the signing key come from the 'Maven Central' context. Co-Authored-By: jason.han <hanhuijun@gmail.com>
…hing oss.sonatype.org no longer accepts uploads. Releases are staged locally, zipped by the centralBundle task and uploaded through the Central Publisher API; snapshots go to the Central Portal snapshot repository. Credentials and the signing key come from the 'Maven Central' context. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
…, view child posts and delete events - Webhook lookups return the owning project, so a posted id that belongs to another project is refused; the persistence layer refuses it as well. - OAuthProcessor keeps the parsed token grants in a local variable instead of a field shared by all requests. - FederatedNodePersistence.commitChanges opens its transaction only when there is something to save, so a write that changes nothing leaves none open. - DefaultNodeService.createOrUpdate iterates a copy of the updated map, since view services add generated elements to it while processing. - DefaultNodeService.delete publishes the commit event like createOrUpdate. Co-Authored-By: jason.han <hanhuijun@gmail.com>
- Webhook lookups return the owning project, so a posted id that belongs to another project is refused; the persistence layer refuses it as well. - OAuthProcessor keeps the parsed token grants in a local variable instead of a field shared by all requests. - FederatedNodePersistence.commitChanges opens its transaction only when there is something to save, so a write that changes nothing leaves none open. - DefaultNodeService.createOrUpdate iterates a copy of the updated map, since view services add generated elements to it while processing. - DefaultNodeService.delete publishes the commit event like createOrUpdate. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
HuiJun
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release branch for 4.1.0: current
developplus the version bump from4.0.20to4.1.0ingradle.propertiesanddocs/conf.py.build.gradlerejects a tag that differs fromgradle.properties, so the tag must be exactly4.1.0.What is in the release since 4.0.20
elasticsearch.host/elasticsearch.port/elasticsearch.httpsettings. Elasticsearch 7 is no longer supported.jakartanamespaces, Hibernate 6, Spring Security 6, springdoc 2 and AWS SDK v2.eclipse-temurin:17-jre, running as the non-rootmmsuser.*default now works with credentialed requests, so View Editor can log in without an explicit origin list. An explicit list remains the stricter setting.Upgrade notes
docs/search-migration.rst.PostgreSQL10Dialectmust becomePostgreSQLDialect, andspring.datasource.initialization-modebecomesspring.sql.init.mode.jakarta.After merging
Tag the merge commit on
masteras4.1.0, which triggersdeploy_release, then mergemasterback intodevelop.Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/d9f10869eb3d4b268da3834fb1b42689
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/d9f10869eb3d4b268da3834fb1b42689?variant=devin
Requested by: @HuiJun
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work