chore: Introducing ReactorDebugAgent to improve the stack traces and make them easier to debug (#34485)
## Description This is a chore PR to improve the stack traces printed by Webflux. After: <img width="1423" alt="Screenshot 2024-06-26 at 1 59 12 PM" src="https://github.com/appsmithorg/appsmith/assets/458946/a89f2cf5-db7d-4430-b248-bee5fc26a218"> Before: <img width="1449" alt="Screenshot 2024-06-26 at 1 59 43 PM" src="https://github.com/appsmithorg/appsmith/assets/458946/0f794db2-d40d-4d4f-b79f-c40b126222f0"> > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.Sanity" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/9676222187> > Commit: 6769b2360448c4bbc61280f5629f7a93ea55dfa0 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9676222187&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Upgraded internal dependencies for improved debugging and testing. - **Chores** - Enhanced stack trace debugging by initializing the Reactor Debug Agent. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
379596d5fa
commit
6a761d6430
|
|
@ -438,6 +438,14 @@
|
|||
<version>2.14.2.Final</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- This dependency helps us print better & debuggable stack traces -->
|
||||
<dependency>
|
||||
<groupId>io.projectreactor</groupId>
|
||||
<artifactId>reactor-tools</artifactId>
|
||||
<version>${reactor-test.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
|
|||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import reactor.tools.agent.ReactorDebugAgent;
|
||||
|
||||
import java.time.Duration;
|
||||
|
||||
|
|
@ -55,6 +56,7 @@ public class ServerApplication {
|
|||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
ReactorDebugAgent.init();
|
||||
new SpringApplicationBuilder(ServerApplication.class)
|
||||
.bannerMode(Banner.Mode.OFF)
|
||||
.run(args);
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.groupId>com.appsmith</project.groupId>
|
||||
<project.version>1.0-SNAPSHOT</project.version>
|
||||
<reactor-test.version>3.5.1</reactor-test.version>
|
||||
<reactor-test.version>3.6.7</reactor-test.version>
|
||||
<!-- By default skip the dockerization step. Only activate if necessary -->
|
||||
<skipDockerBuild>true</skipDockerBuild>
|
||||
<!-- We're forcing this version temporarily to fix CVE-2022-1471-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user