You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was definitely easier to get 3.3.0 out the door with better changelog hygiene during the release, and a shorter release cycle. Let's aim to do that again.
Reacted by Korkman, Jannik Vieten, Robin Whittleton, Johannes Altmanninger, Ian, Peter Ammon, x0rld, Yaksh Bariya, Patryk Kielar, Chuhan Feng and 5 more
Reacted by Ed Clement, x0rld, Yaksh Bariya, Dmitry Andreev, Varun Arora and Spenser Black
Any way I/others can help out with this? Idk, like reviewing the commits to see if we've missed anything in the changelog?
I'll admit I started using features from 3.4 in the development branch for my project, so I'm extra eager to see 3.4 released, so I can release as well 😂 T'would be a lovely holiday present ❄️😛
Doing the washing up at my place would help a lot, but it's pretty hard to get to our part of the world at present.
In lieu of that, changelog work is the only blocker. I'll commit the list of issues/changes that don't need to be in there, and then you can use the same commands I do to see what is missing:
for issue in (cat (gh issue list --state closed --milestone"fish 3.4.0"-L 500 |psub) (gh pr list --state all --search"milestone:\"fish 3.4.0\""-L 500 |psub) |sort-n|cut-f 1)
egrep --quiet'\W'$issue CHANGELOG.rst; orecho https://github.com/fish-shell/fish-shell/issues/$issueend
If you think an issue can be ignored (eg it only touches the docs/build infrastructure, refactor, cleanup, no behaviour change) you can drop a note here. If you think you can summarise it nicely, either do so in the issue or here.
That seems bad, but I couldn't trigger any problems in a few minutes of testing. I went back and checked the build of 3.3.1 - it also failed the tests, but at a much earlier stage:
line 3655: complete() for cd returned the wrong expected string for command cd test/autosuggest_test/3
actual: foo/bar/
expected: foo\bar/
This is windows shenanigans, it seems we don't unixize the path here.
Testing file checks/colon-delimited-var.fish ... �[31mFailure�[0m:
The CHECK on line 8 wants:
�[1ma:.:b�[0m
but there was no remaining output to match.
This test seems entirely non-functional. Is env just completely broken?
Testing history race conditions
�[31mError: Item dropped from history: 1 235�[0m
�[31mError: Item dropped from history: 1 234�[0m
�[31mError: Item dropped from history: 1 233�[0m
�[31mError: Item dropped from history: 1 209�[0m
�[31mError: Item dropped from history: 1 208�[0m
�[31mError: Item dropped from history: 1 183�[0m
�[31mError: Item dropped from history: 1 177�[0m
�[31mError: Item dropped from history: 1 176�[0m
�[31mError: Item dropped from history: 1 175�[0m
�[31mError: Item dropped from history: 1 174�[0m
This could be a race (the test is a bit flaky, especially on underpowered machines like public CI uses), or something isn't saving as it should.
Testing file checks/deep-cmdsub.fish ... �[31mFailure�[0m:
There were no remaining checks left to match stderr:1:
�[1mselect: Bad file descriptor�[0m
Context:
�[31mselect: Bad file descriptor�[0m <= no more checks
�[31mselect: Bad file descriptor�[0m
�[31mselect: Bad address�[0m
�[31mselect: Bad address�[0m
�[31mselect: Bad address�[0m
�[31mselect: Bad address�[0m
Well, that's lovely - it seems select returns an error we aren't expecting. Same thing for threads.fish
Testing file checks/locale-numeric.fish ... �[31mFailure�[0m:
There were no remaining checks left to match stderr:1:
�[1mInteger 42 in \'42.5\' followed by non-digit�[0m
Context:
�[31mInteger 42 in \'42.5\' followed by non-digit�[0m <= no more checks
�[31mchecks/locale-numeric.fish (line 36): �[0m
�[31m test 42.5 -gt 37.2�[0m
�[31m ^�[0m
We do setlocale(LC_NUMERIC, "C") to fix our locale as using "." as the decimal separator, and that doesn't take.
You can set all of them but Cygwin itself only honors the variables LC_ALL, LC_CTYPE, and LANG, in this order
That's broken.
So you'll have to find a patch, most likely replacing all uses of wcstod that use a C locale (i.e. not the one in builtin printf) with wcstod_l and provide a C locale.
Testing file checks/jobs.fish ... �[31mFailure�[0m:
The CHECKERR on line 43 wants:
�[1mbg: invalid option -23�[0m
which failed to match line stderr:1:
�[1mps: unknown option -- o�[0m
Context:
�[31mps: unknown option -- o�[0m <= no check matches
�[31mTry `ps --help\' for more information.�[0m <= no check matches
incompatibility in what ps accepts, should be possible to work around.
Testing file checks/string.fish ... �[31mFailure�[0m:
The CHECK on line 61 wants:
�[1m..🐟�[0m
which failed to match line stdout:22:
�[1m🐟�[0m
additional output on stderr:1:15:
�[1mstring pad: Padding should be a character '🐟'
wcslen or the conversion to wchar_t is broken.
----------------------------------------------------------
Testing file checks/symlinks-not-overwritten.fish ... �[31mFailure�[0m:
The CHECK on line 23 wants:
�[1mfish_variables is still a symlink�[0m
which failed to match line stdout:1:
�[1mfish_variables was never written�[0m
Context:
�[31mfish_variables was never written�[0m <= does not match CHECK '�[34mfish_variables is still a symlink�[0m' on line 23
Possibly incompatibility in cmp, or universal variables are broken (but considering other tests seem to work that appears unlikely?).
Testing file checks/abbr.fish ... �[31mFailure�[0m:
The CHECKERR on line 47 wants:
�[1mabbr --add: Abbreviation \'a b c\' cannot have spaces in the word�[0m
which failed to match line stderr:1:
�[1mwarning: Locking the universal var file took too long (0.373 seconds).�[0m
Context:
�[31mwarning: Locking the universal var file took too long (0.373 seconds).�[0m <= no check matches
�[1mabbr --add: Abbreviation \'a b c\' cannot have spaces in the word�[0m
System is slow in locking, which leads to a spurious warning. The actual test seems to work. This warning appears in a few other places as well, we might want to relax or remove it.
The pexpect tests were skipped because pexpect wasn't installed. I'm not sure how much there is of value, it might test console interactions, but I have no idea how well pexpect works on cygwin to begin with.
Testing file checks/check-all-fish-files.fish ... �[31mFailure�[0m:
There were no remaining checks left to match stderr:1:
�[1m~/home/ASchulma/dev/cygwin/fish/fish-3.4.0-1.x86_64/src/fish-shell/share/tools/web_config/sample_prompts/disco.fish (line 66): Invalid token \'\\U1F4a9\'�[0m
Context:
�[31m~/home/ASchulma/dev/cygwin/fish/fish-3.4.0-1.x86_64/src/fish-shell/share/tools/web_config/sample_prompts/disco.fish (line 66): Invalid token \'\\U1F4a9\'�[0m <= no more checks
�[31m and set -g __fish_git_prompt_char_dirtystate \\U1F4a9�[0m
�[31m ^�[0m
�[31mwarning: Error while reading file /home/ASchulma/dev/cygwin/fish/fish-3.4.0-1.x86_64/src/fish-shell/share/tools/web_config/sample_prompts/disco.fish�[0m
More issues in wchar conversion - U+1F4A9 doesn't fit into two bytes.
Okay, so the gist of this is:
Problems in wchar conversion - this might be a big one, and we really need some help with it
Your system is slower than our tests are prepared for, but that shouldn't be a problem in using the thing
A bug in the core file completion logic that doesn't unixize the path correctly - you might find this one in practice
A difference in select semantics that might just be an error we're not prepared for (so we add another errno value somewhere), or it's a problem we need to work around
Locale switching is just broken
ps works differently
Either cmp works differently or uvars have a problem
Maybe Cygwin's env is broken and running env PATH="a::b" CDPATH="d::e" MANPATH="x::y" /path/to/fish /path/to/script doesn't work?
None of these are major, the locale switching can probably be ifdef'd back at the cost of some performance.
Ugh. OK, well I'd say don't hold up releasing 3.4.0 on account of these things. I'll work on them as I have time and submit patches when I have them. I may open separate issues if I'm not sure how to deal with them.
OK, we are very close! I would appreciate thoughts on reverting 79d1b3e - it leaves the documentation in two different styles, and I can un-revert it straight after release. (@floam ?)
On Jan 1, 2022, at 6:24 AM, Fabian Homborg ***@***.***> wrote:
@zanchey There are more commits that did work on that, and I'm not sure they're all easily revertable.
As an incomplete list:
a16fd0b45b302814d60cc50d65ac4c6da20af61ea15e880bb79d1b3e is particularly dirty as it includes reformatting and rewording and some unexplained changes to the python.
But essentially, most commits between 79d1b3e and 4efb1b1 that touch doc_src would have to be reverted AFAICT.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
(and none were left still using literal blocks for the synopsis section - the work was considered done.)
I’d suggest tweak the CSS for the HTML if the display is undesirable. These were actually syntax highlighted before, but the highlighter did not handle usage specifications: e.g, the special meaning of brackets, there being placeholder labels, etc.
OK, let's leave those. The CSS needs work though - @krobelus' patch in 79d1b3e#r62788729 is on the way there but needs fixing in dark mode, doesn't apply to single-line synopses output by my version of Sphinx (4.3.2), and needs work on the string manpage.
Activity
faho commentedon Oct 22, 2021
There is one more issue open in the 3.4.0 milestone, and it's #8376, which is entirely non-critical.
As far as I'm concerned, the release is good to go whenever!
IlanCosman commentedon Dec 9, 2021
Any way I/others can help out with this? Idk, like reviewing the commits to see if we've missed anything in the changelog?
I'll admit I started using features from 3.4 in the development branch for my project, so I'm extra eager to see 3.4 released, so I can release as well 😂 T'would be a lovely holiday present ❄️😛
zanchey commentedon Dec 9, 2021
Doing the washing up at my place would help a lot, but it's pretty hard to get to our part of the world at present.
In lieu of that, changelog work is the only blocker. I'll commit the list of issues/changes that don't need to be in there, and then you can use the same commands I do to see what is missing:
If you think an issue can be ignored (eg it only touches the docs/build infrastructure, refactor, cleanup, no behaviour change) you can drop a note here. If you think you can summarise it nicely, either do so in the issue or here.
That would be great.
zanchey commentedon Dec 9, 2021
I'm seeing a lot of test failures on Cygwin, if anyone wants to try the reproduce those.
floam commentedon Dec 9, 2021
How do I even test that?
zanchey commentedon Dec 9, 2021
You'd need a Windows installation and a Cygwin installation on top.
CHANGELOG updates for 3.4.0
CHANGELOG: remaining updates for 3.4.0
CHANGELOG: some updates for 3.4.0
CHANGELOG: some updates for 3.4.0
zanchey commentedon Dec 15, 2021
@andrew-schulman might be able to test the latest master on Cygwin for us. I have a very old installation on an even older version of Windows.
andrew-schulman commentedon Dec 15, 2021
Yes, I also see test failures in Cygwin x86-64, with the current master (4389658):
That seems bad, but I couldn't trigger any problems in a few minutes of testing. I went back and checked the build of 3.3.1 - it also failed the tests, but at a much earlier stage:
So that doesn't help much. 3.3.1 has been running without problems for months. Thoughts?
faho commentedon Dec 16, 2021
@andrew-schulman Do you have the actual error messages? If it's too long for here you can upload it as a gist.
andrew-schulman commentedon Dec 16, 2021
LastTest.log saved at https://gist.github.com/andrew-schulman/be0a55841df1d1e7601de640bc2b72ab.
faho commentedon Dec 16, 2021
Okay, let me go through one by one:
This is windows shenanigans, it seems we don't unixize the path here.
This test seems entirely non-functional. Is
envjust completely broken?This could be a race (the test is a bit flaky, especially on underpowered machines like public CI uses), or something isn't saving as it should.
Well, that's lovely - it seems
selectreturns an error we aren't expecting. Same thing for threads.fishWe do
setlocale(LC_NUMERIC, "C")to fix our locale as using "." as the decimal separator, and that doesn't take.According to https://www.cygwin.com/cygwin-ug-net/setup-locale.html:
That's broken.
So you'll have to find a patch, most likely replacing all uses of
wcstodthat use a C locale (i.e. not the one in builtin printf) withwcstod_land provide a C locale.incompatibility in what
psaccepts, should be possible to work around.wcslenor the conversion to wchar_t is broken.Possibly incompatibility in
cmp, or universal variables are broken (but considering other tests seem to work that appears unlikely?).System is slow in locking, which leads to a spurious warning. The actual test seems to work. This warning appears in a few other places as well, we might want to relax or remove it.
The pexpect tests were skipped because pexpect wasn't installed. I'm not sure how much there is of value, it might test console interactions, but I have no idea how well pexpect works on cygwin to begin with.
More issues in wchar conversion - U+1F4A9 doesn't fit into two bytes.
Okay, so the gist of this is:
selectsemantics that might just be an error we're not prepared for (so we add another errno value somewhere), or it's a problem we need to work aroundpsworks differentlycmpworks differently or uvars have a problemenvis broken and runningenv PATH="a::b" CDPATH="d::e" MANPATH="x::y" /path/to/fish /path/to/scriptdoesn't work?None of these are major, the locale switching can probably be ifdef'd back at the cost of some performance.
Something like
andrew-schulman commentedon Dec 16, 2021
Ugh. OK, well I'd say don't hold up releasing 3.4.0 on account of these things. I'll work on them as I have time and submit patches when I have them. I may open separate issues if I'm not sure how to deal with them.
zanchey commentedon Jan 1, 2022
OK, we are very close! I would appreciate thoughts on reverting 79d1b3e - it leaves the documentation in two different styles, and I can un-revert it straight after release. (@floam ?)
faho commentedon Jan 1, 2022
@zanchey There are more commits that did work on that, and I'm not sure they're all easily revertable.
As an incomplete list:
79d1b3e is particularly dirty as it includes reformatting and rewording and some unexplained changes to the python.
But essentially, most commits between 79d1b3e and 4efb1b1 that touch doc_src would have to be reverted AFAICT.
floam commentedon Jan 2, 2022
floam commentedon Jan 2, 2022
zanchey commentedon Jan 8, 2022
OK, let's leave those. The CSS needs work though - @krobelus' patch in 79d1b3e#r62788729 is on the way there but needs fixing in dark mode, doesn't apply to single-line synopses output by my version of Sphinx (4.3.2), and needs work on the
stringmanpage.Zesko commentedon Jan 29, 2022
This release is 99% done after 6 months, only 1% is the issue and testing here?
Thanks!
Release 3.4.0