fix(ubuntu): pass -username/-password to -returnlicense, restoring parity with mac/windows - #280
frostebite wants to merge 3 commits into
Conversation
…ot fail Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The serial branch's credentials change the hash of the embedded ubuntu step scripts, which CI verifies against a fresh build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe test suite adds Ubuntu serial-mode coverage. It verifies that ChangesUbuntu serial return coverage
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The change adds focused Ubuntu serial-return credential coverage, with no identified current-head risk blocking merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Carries #271 by @wschnepp, merged up to current
main. Their commit and authorship are preserved — this branch exists only because the fork could not be pushed to from this session; #271 is the original and deserves the credit.The problem (their diagnosis, unchanged)
On Ubuntu a serial-mode licence return can never succeed:
activate.shlaunches the editor with-serial/-username/-password.return_license.shlaunched a fresh editor with no credentials at all, so it had no access token and could not release the entitlement.mac/steps/return_license.shand both Windows return scripts have always passed them; the Ubuntu steps script did not.Why this is worth noting
This was opened on 11 September. #277 independently rediscovered the identical cause on the personal path four days later, from licensing-matrix logs — same three error strings. Two code paths, one root cause, found twice. With this merged, all four platform scripts authenticate their returns on both strategies.
What changed here
Only a merge of
mainand an embedded-asset rebuild. The fix itself is untouched:Verification
91 tests pass. Their two assertions were confirmed load-bearing — removing the credentials fails exactly those two and nothing else:
Note the licensing matrix cannot catch this one: its serial cells grade
unmeasurablebecause it runsactivateandreturn-licensein separate containers. Their unit test is the only guard, which is a good reason to have it.Closes #271
🤖 Generated with Claude Code
Summary by CodeRabbit