<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I am fine with a light depracation notice : +1 from me.<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 23 Feb 2024, at 00:41, Moritz Angermann <moritz.angermann@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">Simon,<div><br></div><div>I see where you are coming from. So let me try to outline how I usually handle this: this silent change (even with deprecation) likely alters one</div><div>of the build products, and hopefully(!) someone will get suspicious (because the build products are used (otherwise why bother building them</div><div>in the first place). Thus someone flags that something with hpc is off. At which point I'd go and manually investigate what is going on, at _that_</div><div>point, I will see this, either because I'm reading the logs, or because the compiler reports it to me while manually running it.</div><div><br></div><div>1. I upgrade the compiler.</div><div>2. I observe a change.</div><div>3. I try to figure out where the change comes from.</div><div><br></div><div>If in (3) or maybe (2), I am told pretty directly what the change is, it's much easier for me to adjust. Even better if the change message includes</div><div>instructions on how to adjust. Even better if someone else can observe the change, _and_ know as well as having been given actionable advice</div><div>on how to proceed. If I can cut myself out of the whole "Something broke, I looked at it, but can't figure out what's going on, and got way too much</div><div>on my hands, please someone else dig into it" situation, it's a win. Not only for the person experiencing the change (they don't feel helpless, nor do they</div><div>need to ask for assistance), but also for the people supporting these kinds of issues as they don't come up in the first place.</div><div><br></div><div>The difference is between it taking 10min to figure, and providing the agency to understand and solve it alone, or needing to reach for support it</div><div>taking 60+min to figure out and correct, because one has to dig into all the changes and details. Maybe LLM will cut this a bit because one could</div><div>ask "I'm seeing some strange behaviour regarding -fhpc, please provide a summary of the relevant changes between X and Y".</div><div><br></div><div>I like SPJ's suggestion in this thread quite a bit and will ask the Author about their opinion.</div><div><br></div><div>In general we seem to be in agreement around the current default not being ideal, and somewhat hung on the deprecation notice part. With an</div><div>eye on our stability goals, I'd like to see us try light deprecation warnings. I see that Adams' solution is much more thorough, I also agree that it's</div><div>a lot more involved. </div><div><br></div><div>If anyone has qualms around accepting this with a light deprecation notice, please speak up, otherwise I'll mark this proposal as accepted, and</div><div>merge it in a few days after David responded.</div><div><br></div><div>Cheers,</div><div> Moritz</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 27 Jan 2024 at 00:46, Simon Marlow <<a href="mailto:marlowsd@gmail.com">marlowsd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Moritz - I agree with everything you say about how users will typically experience the change, but I don't think a deprecation warning resolves the concern. As you say, people might be using HPC via automated tooling and will likely not even see the warning, and even if they do see it will likely ignore it (I don't know about you, but I don't usually want to be distracted by some different yak that needs shaving while I'm coding).</div><div><br></div><div>IMO we either have to break it completely - i.e. make the existing usage just fail, after a warning cycle - or don't change it at all. We can't silently change the behaviour even with a deprecation cycle.</div><div><br></div><div>Cheers</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 25 Jan 2024 at 10:49, Moritz Angermann <<a href="mailto:moritz.angermann@gmail.com" target="_blank">moritz.angermann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Here's my rationale for a deprecation period.<div><br></div><div>Someone who uses hpc, might rely on the accumulating behaviour. They need a way to be informed about the upcoming change, otherwise they won't know that they need to pass a new flag going forward (and they can</div><div>even start doing that at that point to be defensive). I also hope the deprecation note would show up in automated tooling, which can then be proactively adjusted.</div><div><br></div><div>To me the compiler is _the_ interface to the end user. Chances that someone reads the proposals, GHC changelog are very low. Chances someone reads the user guide in detail for each GHC release are low as well,</div><div>only after the fact, if someone broke will someone start trying to figure out why something broke. At that point, I think we've lost. They are frustrated already that something they knew worked just broke. </div><div><br></div><div>So to me the deprecation note is basically the signage towards the end user that uses hpc, that they will need to adjust their ghc invocation if they rely on the current behaviour, and also a courtesy heads up that the behaviour</div><div>they might rely on changes, _and_ how to adjust and get their old behaviour (they may need/rely on) back.</div><div><br></div><div>To address your two points in detail:</div><div>> Is a deprecation period necessary? Or even useful (how do we signal the upcoming change in default, and how do we expect people would act on it)?<br></div><div>- As the flag currently does not exist, call GHC with hpc without the new flag will issue a warning. (e.g. current users will be informed).</div><div>- The warning message will let the user know what to pass to ghc to retain the old (current) behaviour, or opt in to the new (future current) behaviour, depending on their needs.</div><div><br></div><div>If we did neither, the user would at some point just notice an existing workflow magically stopped or in this case even worse, the silent aggregation of .tix data would stop, and they</div><div>might _assume_ the data was the aggregate but it wasn't. A silent change in default behaviour would be rather painful to notice, debug, and rectify for users. At least that's my expectation.</div><div>(And I know I personally would be furious if a compiler pulled that on me).</div><div><br></div><div>Best,</div><div> Moritz</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 25 Jan 2024 at 18:35, Arnaud Spiwack <<a href="mailto:arnaud.spiwack@tweag.io" target="_blank">arnaud.spiwack@tweag.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The proposed change seems sensible. At least the argument is convincing. I don't use hpc myself, so I don't have an actual design opinion besides that. So I vote (weakly) for the proposed new default.<br></div><div><br></div><div>Is a deprecation period necessary? Or even useful (how do we signal the upcoming change in default, and how do we expect people would act on it)?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 25 Jan 2024 at 07:06, Moritz Angermann <<a href="mailto:moritz.angermann@gmail.com" target="_blank">moritz.angermann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Committee members,<div><br></div><div>In <a href="https://github.com/ghc-proposals/ghc-proposals/pull/612" target="_blank">Proposal #612</a>, David Binder suggests changing the semantics from `-fhpc` to auto-ingest</div><div>existing .tix files for accumulation, towards _not_ auto-ingesting them and instead overwriting</div><div>the .tix file with the coverage of the latest run.</div><div><br></div><div>I agree with his assessment that the current behaviour easily leads to unexpected surprises. He suggests adding a flag --read-tix-file= to control this behaviour and defaulting that to _no_, with a grace and deprecation period prior informing the user that the currently accumulating feature will change in a future GHC release.</div><div><br></div><div>Adding the flag to control this behaviour is fairly uncontroversial I hope, however I'd like you to. Weight in on the default. Should we change the default behaviour, or only add the flag?</div><div><br></div><div>I'd recommend changing the default to --read-tix-file=no after a deprecation period.</div><div><br></div><div>Best,</div><div> Moritz</div></div>
_______________________________________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Arnaud Spiwack<br>Director, Research at <a href="https://moduscreate.com/" rel="noopener noreferrer" target="_blank">https://moduscreate.com</a> and <a href="https://tweag.io/" rel="noopener noreferrer" target="_blank">https://tweag.io</a>.</div></div>
</blockquote></div></div>
_______________________________________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>ghc-steering-committee mailing list<br>ghc-steering-committee@haskell.org<br>https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee<br></div></blockquote></div><br></body></html>