Skip to content

git switch experimental continuous integration (preview)#67

Open
SwuduSusuwu wants to merge 256 commits into
trunkfrom
preview
Open

git switch experimental continuous integration (preview)#67
SwuduSusuwu wants to merge 256 commits into
trunkfrom
preview

Conversation

@SwuduSusuwu
Copy link
Copy Markdown
Owner

@SwuduSusuwu SwuduSusuwu commented Jun 15, 2025

This branch just exists to backup/store local changes and request reviews.
This is a "draft" pull request, which just exists to show autonomous code review results and encourage crowd sourced reviews (so that all code git push'd to trunk branch, is fit to use).

What to review:

experimental is a mirror for when this branch is in the middle of a partial merge (which, for GitHub pull requests, requires to roll this branch back to the last commit which will merge).
  - The effect is that (while in the process of merges), just the experimental branch has the most new version of code.

@SwuduSusuwu SwuduSusuwu added improve New feature or request help wanted Extra attention is needed good first issue Good for newcomers question Further information is requested todo unimplemented (but advertised) part of the tool labels Jun 15, 2025
@SwuduSusuwu SwuduSusuwu force-pushed the preview branch 4 times, most recently from e9ef643 to 294e114 Compare June 15, 2025 21:02
Comment thread sh/make.sh Fixed
Comment thread sh/make.sh Fixed
Comment thread sh/make.sh Fixed
Comment thread sh/make.sh Fixed
@SwuduSusuwu SwuduSusuwu force-pushed the preview branch 15 times, most recently from f52109a to 3f37301 Compare June 18, 2025 17:47
SwuduSusuwu added a commit that referenced this pull request Jun 19, 2025
TODO: squash this into the numerous commit which introduce `TensorFlowCns`.
	Those commits are all in the middle of [this active pull request (which has numerous rebases to do)](#67).
Notice: this commiit will not include all individual updates in "lock-step" (which is what this project says to do, but is not practical in active rebases on the `preview` branch).
SwuduSusuwu and others added 30 commits February 25, 2026 15:26
@`./sh/Macros.sh:SUSUWU_PATH_SHOULD_NOT_EXIST()`: `:%s/) and/) plus` improves description, since the control flow is not similar to "operator&" but is similar to "operator+".
@`./sh/Includes.sh:SUSUWU_INCLUDES_LIBTENSORFLOW()`: `:%s/) and/) plus` improves description, since the control flow is not similar to "operator&" but is similar to "operator+".

Is followup to: commit 28ee77d (+`SUSUWU_IS_VIRTUAL`, +`SUSUWU_INSTALL_TENSORFLOW`). TODO: `squash` this.
Is similar to: commit HEAD~1 (@`sh/Macros.sh`: English improves). TODO: `squash` this, if do not `squash` into 28ee77d
Is followup to: commit e0c2516 (+`sh/Includes.sh`, @`sh/README.md#purposes`). TODO: `squash` this
TODO: @`./posts/VirusAnalysis.md#source-code`; include this.
Is followup to: commit 38d5283 (@`cxx/.*xx`; neural tissue comments improved.). TODO: `squash`.
@`./cxx/AssistantCns.cxx`; `:%s/without pugixml/without `pugixml`/`
@`./posts/VirusAnalysis.md#source-code`; include this.
Is followup to: commit cf6c331 (@`cxx/AssistantCns.cxx`; `#if SUSUWU_USE_PUGIXML`), which introduce this. TODO: `squash`
Is followup to: commit c27ff94 (@`cxx/AssistantCns.cxx`: syntax fixes. ... Comments improved.) which introduces this.
@`./cxx/AssistantCns.cxx:responsesOrNull`: `:%s/robots/tools/`
@`./posts/VirusAnalysis#source-code`: include this.
Is followup to: commit d4c4f4a (`%s/responseDelimiter/assistantCnsResponseDelimiter), which last modifies this.
@`./cxx/AssistantCns.cxx:assistantCnsProcessXhtml()`: `response`'s type was based on `question`, now based on `responses[0]`. Reason: futureproof (for when `question` has its own special `struct` or `class`).
Is followup to: commit d7370e8 (?`cxx/*.*x`: undo C++14 code, support `-std=c++11`), which introduces this.
@`./posts/VirusAnalysis.md#source-code`: include this.
@`./cxx/ClassWebBrowse.cxx:classWebBrowseProcessUrls()`: for loop is now on one row, loop content now has braces, which is the standard syntax for `SusuLib` (plus is the standard syntax for most C++ source code).
@`./posts/VirusAnalysis.md`; include this.
Is followup to: commit 42b6c47 (+`./cxx/ClassWebBrowse.{h,c}xx`), which introduces `classWebBrowseProcessUrls()`. TODO: `squash` this.
@`./cxx/ClassWebBrowse.cxx:classWebBrowseProcessUrls()`: `#ifdef SUSUWU_USE_PUGIXML` codeflow now caches the result of the `.attribute("href")` lookup, so CPU use improves.
@`./posts/VirusAnalysis.md`; include this.
TODO: test CPU use. If CPU use worsens (such as if the compiler knows best how to reuse thus `.attribute("href")` results), then `drop` this.
Is followup to: commit c7e95f4 (@`cxx/ClassWebBrowse.cxx`;`#if SUSUWU_USE_PUGIXML`), which introduces this codeflow. TODO: if improves, `squash` this.
@`./README.md#Affiliates`: New Capital One URL, English description improves.
Publishes <#52 (comment)>.
Is followup to: commit ae18b3a (@`README.md`: +`posts/ArduinoElegooTools.md`). TODO: `squash` this
@`./sh/Includes.sh`: @`SUSUWU_INCLUDES_LIBTENSORFLOW()`: typo fix: `\"s|\\\"${ML_DTYPES_PREFIX}|\\\"${ML_DTYPES_FALLBACK_PREFIX}|\"` => `\"s|\\\"${ML_DTYPES_FALLBACK_PREFIX}|\\\"${ML_DTYPES_PREFIX}|\"`
Is followup to: commit 28ee77d (+`SUSUWU_IS_VIRTUAL`, +`SUSUWU_INSTALL_TENSORFLOW`), which introduces `ML_DTYPES_*`. TODO: `squash` this
@`./sh/Includes.sh`: @`SUSUWU_INCLUDES_LIBTENSORFLOW()`: `"https://github.com/openxla/xla.git --depth 1"` -> `"git clone
https://github.com/openxla/xla.git --depth 1"`

Is followup to: commit 511b1a9 (+`sh/Includes.sh:SUSUWU_INCLUDES_LIBTENSORFLOW()`), which introduces the original string. TODO: `squash` this
@`./sh/Includes.sh`: @`SUSUWU_INCLUDES_LIBPUGIXML()`: `:%s/.cxx.tmp/.cxx/` fixes "warning: linker input file unused because linking not done"
Is followup to: commit c97afe3 (+`sh/Includes.sh:SUSUWU_INCLUDES_LIBPUGIXML()`). TODO: `squash` this
@`./sh/Includes.sh`: @`SUSUWU_INCLUDES_LIBXML2()`: `:%s/.cxx.tmp/.cxx/` fixes "warning: linker input file unused because linking not done"

Is followup to: commit 2b3d58f (+`sh/Includes.sh:SUSUWU_INCLUDES_LIBXML2()`). TODO: `squash` this.
@`./sh/make.sh`: @`SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL()`: English improves
Is followup to: commit 2a012ff (+`SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL()`). TODO: `squash` this
@`./sh/make.sh`: @`SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL()`: `-Wno-unused-variable`
Is followup to: commit 2a012ff (+`SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL()`). TODO: `squash` this.
@`./sh/make.sh`: @`SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL()`: document what the `-c` build argument does
Is followup to: commit 1f6dfc1 (@`sh/make.sh:SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL`), which introduces 1 new argument.
Is followup to: commit 2a012ff (+`SUSUWU_SETUP_BUILD_FLAGS_CONDITIONAL()`). TODO: `squash` this
Is followup to: commit 7189cc0 (@`sh/Includes.sh`: English improves). TODO: `squash` this
@`./sh/Includes.sh`: @`SUSUWU_INCLUDES_LIBTENSORFLOW()`:
	`:%s/one of Github's/Github's virtual/g` improves description (since this is based on `SUSUWU_IS_VIRTUAL`).
	`:%s/, will/, so will/g`: improves description (since this is not incidental, but is causal).
@`./cxx/ClassTensorFlowCns.hxx`, @`./posts/VirusAnalysis.md`; `:%s/#if SUSUWU_CNS_IF_MLP/#if SUSUWU_CNS_USE_MLP/`
Is followup to: commit aceea32 (+`SUSUWU_CNS_USE_MLP`, +`SUSUWU_CNS_IF_MLP`). TODO: `squash` this.
@`./cxx/main.cxx:unitTestsCxx()`: do not process `virusAnalysisTestsNoexcept()` unless compiled with `-DSUSUWU_FORCE_VIRUS_ANALYSIS_TESTS`.
TODO: [learn the reason GitHub's `CodeQL-Build (c++)` workflows now get stuck after `classWebBrowseTestsNoexcept(): pass`](https://github.com/copilot/share/801f018e-40e0-8822-9152-e04800a36057).

Without this test disabled, <https://github.com/SwuduSusuwu/SusuLib/actions/runs/22458103954/job/65044685670> shows: `The job has exceeded the maximum workflow time of 6h0m0s`, plus the `Autobuild` section shows:
```
classWebBrowseTestsNoexcept(): pass
virusAnalysisTestsNoexcept():
Error: The operation was canceled.
```
@`./cxx/main.cxx:unitTestsCxx()`: do not process `assistantCnsTestsNoexcept()` unless compiled with `-DSUSUWU_FORCE_ASSISTANT_CNS_ANALYSIS_TESTS`.
TODO: parse the reasons which prevent GitHub's workflows from successful execution of `assistantCnsTestsNoexcept()`

Without this test disabled, <https://github.com/SwuduSusuwu/SusuLib/actions/runs/.../job/...> shows: `The job has exceeded the maximum workflow time of 6h0m0s`, plus the `Autobuild` section shows:
	classWebBrowseTestsNoexcept(): pass
	virusAnalysisTestsNoexcept(): GitHub's workflow now stalls (was just a few seconds to execute, but now (for unknown reasons) is >6 hours to execute), use `-DSUSUWU_FORCE_VIRUS_ANALYSIS_TESTS` to enable thus
	assistantCnsTestsNoexcept():
	Error: The operation was canceled.

<https://github.com/SwuduSusuwu/SusuLib/actions/runs/22463861653/job/65064944522> says [`assistantCnsTestsNoexcept()`](5543de0) was stuck at:
	2026-02-26 22:29:53 (256 KB/s) - ‘downloads/index.html’ saved [432287]

	[./cxx/AssistantCns.cxx:100: Warning: assistantCnsDownloadHosts: { /* TODO: [deduce `ClassIoPath localDocumentSource;` from `classWebBrowseWget("https://stackoverflow.com", "");`](https://poe.com/s/QpjvvHmETSVP6K4wRiU5) */}]
	Error: The operation was canceled.

TODO: `./cxx/AssistantCns.cxx:assistantCnsDefaultHosts`: remove the host after "https://stackoverflow.com" (the above `stdout` suggests that the next host got stuck).
@`./cxx/main.cxx:unitTestsCxx()`: do not process `classTensorFlowCnsTestsNoexcept()` unless compiled with `-DSUSUWU_FORCE_CLASS_TENSORFLOW_CNS_ANALYSIS_TESTS`.
TODO: [learn the reason GitHub's `CodeQL-Build (c++)` workflows now get stuck after `classWebBrowseTestsNoexcept(): pass`](https://github.com/copilot/share/801f018e-40e0-8822-9152-e04800a36057) <https://github.com/orgs/community/discussions/188055>
------
Without this test disabled, <https://github.com/SwuduSusuwu/SusuLib/actions/runs/22456561518/job/65039226222> shows: `The job has exceeded the maximum workflow time of 6h0m0s`, plus the `Autobuild` section shows:
```
  classTensorFlowCnsTestsNoexcept2026-02-26 18:58:03.266840: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:375] MLIR V1 optimization pass is not enabled
  Error: The operation was canceled.
```
This reverts commit HEAD~2.
<https://github.com/SwuduSusuwu/SusuLib/actions/runs/22463861653/job/65064944522> says [`assistantCnsTestsNoexcept()`](5543de0) was stuck at:
	2026-02-26 22:29:53 (256 KB/s) - ‘downloads/index.html’ saved [432287]

	[./cxx/AssistantCns.cxx:100: Warning: assistantCnsDownloadHosts: { /* TODO: [deduce `ClassIoPath localDocumentSource;` from `classWebBrowseWget("https://stackoverflow.com", "");`](https://poe.com/s/QpjvvHmETSVP6K4wRiU5) */}]
	Error: The operation was canceled.

TODO: `./cxx/AssistantCns.cxx:assistantCnsDefaultHosts`: remove the host after "https://stackoverflow.com" (the above `stdout` suggests that the next host got stuck).
@`./cxx/AssistantCns.cxx:assistantCnsDefaultHosts`: remove the host after "https://stackoverflow.com" (the above `stdout` suggests that the next host got stuck).

Is followup to: commit HEAD~1 (Revert "@`cxx/main.cxx`: -`assistantCnsTestsNoexcept`"). TODO: `squash` this?

<https://github.com/SwuduSusuwu/SusuLib/actions/runs/22463861653/job/65064944522> says [`assistantCnsTestsNoexcept()`](5543de0) was stuck at:
	2026-02-26 22:29:53 (256 KB/s) - ‘downloads/index.html’ saved [432287]

	[./cxx/AssistantCns.cxx:100: Warning: assistantCnsDownloadHosts: { /* TODO: [deduce `ClassIoPath localDocumentSource;` from `classWebBrowseWget("https://stackoverflow.com", "");`](https://poe.com/s/QpjvvHmETSVP6K4wRiU5) */}]
	Error: The operation was canceled.
@`./cxx/AssistantCns.cxx:assistantCnsTests()`: `s|assistantCnsDownloadHosts(questionsOrNull, responsesOrNull);|/* \0 */|`. TODO: if <#52 (comment)> has solutions, then uncomment this row.
Is followup to: commit HEAD~3 (Revert "@`cxx/main.cxx`: -`assistantCnsTestsNoexcept`"). TODO: `squash` this?

<https://github.com/SwuduSusuwu/SusuLib/actions/runs/22463861653/job/65064944522> says [`assistantCnsTestsNoexcept()`](5543de0) was stuck at:
	2026-02-26 22:29:53 (256 KB/s) - ‘downloads/index.html’ saved [432287]

	[./cxx/AssistantCns.cxx:100: Warning: assistantCnsDownloadHosts: { /* TODO: [deduce `ClassIoPath localDocumentSource;` from `classWebBrowseWget("https://stackoverflow.com", "");`](https://poe.com/s/QpjvvHmETSVP6K4wRiU5) */}]
	Error: The operation was canceled.
@`./cxx/AssistantCns.cxx:assistantCnsDownloadHosts()`: `s|assistantCnsProcessXhtml(questionsOrNull, responsesOrNull, localDocumentSource);|/* \0 */|`. TODO: if <#52 (comment)> has solutions, then uncomment this row.
Is followup to: commit HEAD~5 (Revert "@`cxx/main.cxx`: -`assistantCnsTestsNoexcept`"). TODO: `squash` this?

<https://github.com/SwuduSusuwu/SusuLib/actions/runs/22463861653/job/65064944522> says [`assistantCnsTestsNoexcept()`](5543de0) was stuck at:
	2026-02-26 22:29:53 (256 KB/s) - ‘downloads/index.html’ saved [432287]

	[./cxx/AssistantCns.cxx:100: Warning: assistantCnsDownloadHosts: { /* TODO: [deduce `ClassIoPath localDocumentSource;` from `classWebBrowseWget("https://stackoverflow.com", "");`](https://poe.com/s/QpjvvHmETSVP6K4wRiU5) */}]
	Error: The operation was canceled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers help wanted Extra attention is needed improve New feature or request question Further information is requested todo unimplemented (but advertised) part of the tool

Projects

None yet

2 participants