Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I sulked when my Boss assigned me a "testing job" (unlike OP, there was no deadline pressure). After 6 months of testing, I ended up automating most of the stuff AND afterwards, my code quality is improved significantly. As I saw other code, how people write good code, where we tend to make mistakes... It was a great learning experience.
Work visas are usually come as a sticker on your passport. Have you submitted your Passport at Japanese counsulate and obtained visa? Or your potential employer prepared the documentation (Certificate of Eligibility (COE)) of which, next step is applying for Visa? If only documentation is prepared, it's highly likely that it won't be valid as that employer no longer wants to hire you.
On side note, If you gave your last interview 5 years back, brace yourself for couple of "bad interviews". Some interviewers ask very basic questions at start and even after working for long, you tend to forget such stuff. So, if you go through some shitty interviews, You are still a real developer!!
@spacetyper Manager can argue that "Quality of work was better in your colleague's deliverables" or "Your colleague completed tasks in less time" to which you can not argue... You are not the one to decide quality of colleague's/Peer's work... At least not in front of manager! We have a saying, "Even if hand holds something, Not all all fingers are same"!
@gnasher729 Very sorry!! I edited question... I went with the emotional flow and messed it :-) Mr. A is the Client guy and Mr. X is everyone one complaining about!