Skip to content

fix: update login state file for both keychain and .netrc#381

Merged
k80bowman merged 1 commit into
mainfrom
k80/netrc-error-fix
Jun 11, 2026
Merged

fix: update login state file for both keychain and .netrc#381
k80bowman merged 1 commit into
mainfrom
k80/netrc-error-fix

Conversation

@k80bowman

@k80bowman k80bowman commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds support for managing/using the login state file in .netrc mode. Previously this was only supported for keychain mode. This update should resolve an issue where users were not seeing a warning message running a command in keychain mode (without HEROKU_NETRC_WRITE=true) after logging in in .netrc mode (with HEROKU_NETRC_WRITE=true).

Type of Change

Breaking Changes (major semver update)

  • Add a ! after your change type to denote a change that breaks current behavior

Feature Additions (minor semver update)

  • feat: Introduces a new feature to the codebase

Patch Updates (patch semver update)

  • fix: Bug fix
  • deps: Dependency upgrade
  • revert: Revert a previous commit
  • chore: Change that does not affect production code
  • refactor: Refactoring existing code without changing behavior
  • test: Add/update/remove tests

Testing

Notes:

We can't test this with the CLI using npm link, it causes all sorts of TypeScript errors. Once this PR is merged I will release a beta that we can test.

Steps:

  1. Passing CI suffices

Screenshots (if applicable)

Related Issues

GUS work item: W-20867320

@k80bowman k80bowman requested a review from a team as a code owner June 11, 2026 14:55
@k80bowman k80bowman force-pushed the k80/netrc-error-fix branch from c33721f to 95e19b0 Compare June 11, 2026 14:58

@tlowrimore-heroku tlowrimore-heroku left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@k80bowman k80bowman merged commit 036a6cc into main Jun 11, 2026
15 checks passed
@k80bowman k80bowman deleted the k80/netrc-error-fix branch June 11, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants