question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The wrong dependents are generated in some rare cases with `linked` and changing to single file changesets

See original GitHub issue

changeset add currently doesn’t care about the linked option and that creates a problem if a package is bumped at a higher level because of linked which means there should be some dependents.

A, B and C are all linked together and they are all currently at 1.0.0. B has a dependency on C.

A changeset is added:

A@major
C@patch

There will be no dependents generated. When bumping though, A and C will both be released as 2.0.0 and B won’t be released which is wrong since its dependency on C is out of range now.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
emmatowncommented, Jun 7, 2019

Strong agree on adding it before a major.

Do you wanna try implementing it?

I was going to say that maybe I should seperate out the create changeset package in the GitHub comment PR to another PR that can be merged but practically all of the logic is about calculating dependents so it’s probably better to start from the current state rather than that. I’ll seperate some TS conversion things from that into another PR though.

0reactions
emmatowncommented, Jun 13, 2019

Yeah I guess that would work. There’s something that slightly worries me about having an optional thing like that because I’m afraid we or others will accidentally assume that it always exists. (e.g. commit can technically be undefined right now but all the changelog entry generators i’ve seen/written assume it always exists)

Read more comments on GitHub >

github_iconTop Results From Across the Web

The wrong dependents are generated in some rare cases with ...
The wrong dependents are generated in some rare cases with linked and changing to single file changesets #84.
Read more >
Components Available in Change Sets - Salesforce Help
The components available for a change set vary by experience and edition. Also, some components require corresponding features to be enabled in your...
Read more >
Liquibase did not execute changelog file by dependency order
No, Liquibase does not have the ability to determine the 'correct' ordering of changesets. It depends on the user putting them in the ......
Read more >
Dealing with Changing Changesets | Liquibase Tips & Tricks
Things rarely go according to plan, so Liquibase has several options for dealing with changes to existing changesets depending on your needs ...
Read more >
Publication 501 (2022), Dependents, Standard Deduction ...
In some cases, the amount of income you can receive before you must file a tax ... No estimated tax payment was made...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found