I did that and it didn't stop, did a compression check and all was good. Gunna try chanign the oil and see if it helps. It might be a hydraulic valve lash.
Also sounds to me like it could be a stuck lifter. My ga16i made a similar sound when I would start it, and I remedied it by switching to a synthetic oil.
if something closed the gap on you plug while in the motor a piece of valve is most likely in your cylinder. you said you had the valve cover off did you check the valve springs and retainers, sometimes a spring will crack and let your valve receed to far and all the loose motion can break the valve
Sounds to me like Rod knock. Try unpluging each spark plug at a time to see if the noise stops. If it does then its a rod knock.
I agree, it sounds exactly like my car did right before I threw my connecting rod (still saving for JDM sr20de). I wouldnt drive this car anywhere till you figure it out unless you wanna replace the motor or the rod. Its a rod knock Im 99.9% sure of this.
What motor is it?
A ka24de?
I don't know sentras.
B\c I had problems with 3 KA motors.
One was a rod bearing that spun.
The second was the timing chain assembly, the chain guides went bad and had 40 degrees of slack.
The third was another rod bearing.
Then I bought an SR!
Try checking the timing.
Put a breaker bar on the crank nut and see if you have slack.
Put you ear up to the valve cover to see if the sound is coming from the top or bottom of the engine.
If it's the top, and your motor has a timing chain, that's probably it.
If it's from the bottom, it definitely a bad bearing, which means your motos shot! Trying to rebuild a motor that spun a bearing is risky b\c of the metal shavings messing up other parts of the engine!
Good luck, I hope this helped!