TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Unlogged – open-source record and replay for Java

90 pointsby shardullavekarover 1 year ago
Hello HN! Parth, and Shardul here. We have been building unlogged.io for the last 21 months. We started as a time travel debugger and pivoted to record and replay with assertions, mocking, and code coverage. You can save the replays in the form of a JSON and commit them to your git.<p>Both Parth and I come from an e-commerce&#x2F;payments background where production bugs meant heavy financial losses. Big billion days&#x2F;Black Friday sales meant months of code freezes with low productivity. Before committing the code, we wanted to replay production traffic and know the breaking changes right away, like in sub-second. Kind of like unit+integration tests on steroids.<p>So, we built an SDK that adds probes to the code in compile time. The SDK logs code execution, in detail.<p>Git: <a href="https:&#x2F;&#x2F;github.com&#x2F;unloggedio&#x2F;unlogged-sdk">https:&#x2F;&#x2F;github.com&#x2F;unloggedio&#x2F;unlogged-sdk</a><p>We also built an IDE plugin that keeps monitoring code changes, hot reloads these changes, replays the relevant methods, and alerts on failing replays. It also lets developers call Java methods directly, mock downstream methods in run time, highlight code coverage in real-time, and show performance numbers for methods with inlay hints. (right above each method)<p>Git: <a href="https:&#x2F;&#x2F;github.com&#x2F;unloggedio&#x2F;intellij-java-plugin">https:&#x2F;&#x2F;github.com&#x2F;unloggedio&#x2F;intellij-java-plugin</a><p>We are excited to launch the first version of our product that replays with assertions + mocking + code coverage reports right inside the IDE.<p>Link to our IntelliJ plugin: <a href="https:&#x2F;&#x2F;plugins.jetbrains.com&#x2F;plugin&#x2F;18529-unlogged&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;plugins.jetbrains.com&#x2F;plugin&#x2F;18529-unlogged&#x2F;</a><p>Record and Replay Demo: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=muCyE-doEB0">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=muCyE-doEB0</a><p>Define Assertions on Replay: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=YKsi1p634-M">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=YKsi1p634-M</a><p>Track Code Coverage: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NMmp954kfaU">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NMmp954kfaU</a><p>Generate JUnit Test Cases: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rTUmg5b1Z_Q">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rTUmg5b1Z_Q</a><p>Mocking when replaying: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=O_aqU1u-Kmw">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=O_aqU1u-Kmw</a><p>Documentation: <a href="http:&#x2F;&#x2F;read.unlogged.io&#x2F;" rel="nofollow noreferrer">http:&#x2F;&#x2F;read.unlogged.io&#x2F;</a><p>Roadmap:<p>1. Create a production logger<p>-So that the performance impact is minimal<p>-out of the box masking PII from production logs<p>-creating meaningful input&#x2F;return value combinations from production traffic to be replayed locally.<p>2. Creating a CI test runner that can integrate with CI&#x2F;CD pipelines.<p>3. Auto-Replaying API endpoints of only the changed code.<p>4. Real-time alerts for the performance impact of code changes.<p>5. Creating a dashboard with reports, email&#x2F;slack alerts.

5 comments

exabrialover 1 year ago
Guessing no chance of an Eclipse plugin? :)
评论 #38080762 未加载
ddispaltroover 1 year ago
Does this work with alternate JVM languages like Scala?
评论 #38078437 未加载
ugh123over 1 year ago
Looks really cool. Would this work for Android apps?
评论 #38077053 未加载
praveen9920over 1 year ago
This is great. Any plans to extend this for Python or nodejs by any chance?
评论 #38076937 未加载
artparover 1 year ago
Hi I am Parth. Wanted to add a TLDR<p>unlogged-sdk =&gt; generates binary logs of code execution<p>unlogged intellij plugin =&gt; method level history, replay at method level, generate test cases