Repository navigation
Skip the configuration checks and the coverage capture on pull requests that leave the build system alone (#545) #559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,6 +18,7 @@ these entries stays in the GitHub releases and the Git history. | |||||
|
|
||||||
| - Declare GCC 13 as the best-effort S2 minimum for the library and examples, document the GCC 14 exit clause and qualified Clang scope, and add GCC 13 ASan/UBSan fast tests (#525, ADR-022). | ||||||
|
|
||||||
| - Skip the cases that configure a CMake project (label `configuration`, about 75 s of worker time) and the coverage capture on a pull request that does not change the build system, and drop the compiler-cache probe step; a push to `develop` and the full tier still run them (#545). | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Distinguez les conditions des tests, de la couverture et du diagnostic supprimé. Une PR ordinaire qui modifie le système de build ne collecte plus la couverture non plus. Le workflow exige un push ou Selon les consignes de codage, « Mechanisms, error codes and platform details live in the cited ADR, guide or pull request. » Retirez aussi le label et la mesure de temps de cette entrée. Correction proposée
Committable suggestion
|
||||||
| - Open the developer page on the interface, over the whole window, once the project has a preview; the terminal moves to a floating, movable window behind a tab on the right edge that shows the session's state, and keeps its session when collapsed. Its shortcut is F9, or the manifest's new optional `developer.terminalShortcut`. Environment sources 0.9.1, not published yet (#539, `docs/DEVELOPER_ENVIRONMENT.md`). | ||||||
| - Make the default test build the quick one: the heavy unit tests compile four to a file, the MSVC code analysis and the reproducibility proofs are off unless `-DWEBFRONT_MSVC_ANALYZE=ON` or `-DWEBFRONT_TEST_REPRODUCIBILITY=ON` asks for them. The CI passes every option explicitly and checks what it checked before (#546). | ||||||
| - Run the unit tests as a few processes instead of one per scenario with `-DWEBFRONT_TEST_UNIT_SHARDS=<n>`: each of the `n` CTest cases is a Catch2 shard that reports every scenario in `unit-results-<shard>.xml`. The default still registers one CTest case per scenario; the desktop CI jobs pass 4 and no longer run the fast tier twice on a pull request (#543). | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Évitez la fermeture anticipée du pipeline par
grep -q.GitHub Actions active
pipefailpourshell: bash. Si un diff volumineux contient rapidement une correspondance,grep -qpeut fermer le tube pendant quegit diffécrit encore. L’échec du producteur rend alors le pipeline non nul malgré la correspondance. Leif !définit doncconfiguration=falseet désactive les contrôles attendus. (docs.github.com)Remplacez
grep -qE ...pargrep -E ... > /dev/nullpour consommer toute la sortie. Conservezpipefail.Ajoutez
examples/aux chemins déclencheurs.Une pull request vers
developqui modifie seulementexamples/CMakeLists.txtdéfinitWEBFRONT_CONFIGURATION=false. Le testNativeAutodetectReconfigurationest alors exclu. Ce test configure pourtant les exemples.test/cmake/CheckNativeAutodetect.cmake, ligne 28, passe-DTEST_EXAMPLES=ON.test/cmake/native-autodetect/CMakeLists.txt, ligne 21, appelleadd_subdirectory("${ROOT}/examples" examples). Le test porte le labelconfiguration(test/unit/CMakeLists.txt, lignes 396-402).Aucun autre job de pull request ne configure les exemples. La configuration principale et le job
desktop-nativepassentWEBFRONT_BUILD_EXAMPLES=OFF. Une erreur de configuration dans les exemples peut donc atteindredevelop. Elle n'est détectée qu'après la fusion, lors du push versdevelop.Ajoutez le répertoire
examples/au filtre. Il couvre aussi les fichiers CMake des sous-répertoires queexamples/CMakeLists.txtajoute.Correction proposée
Committable suggestion