-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Restore TemplateHaskell pragma in hls-graph #2549
Conversation
I obviously have limited knowledge of the project. Since I'm already sitting - would contribute to the patch. The patch may uncover a bit of work. |
Oh. I thought we in CI do not test But:
There are no test-suites, no benchmarks for them. So CI there is not of any help. |
Sorry I wasn't clear - we want to test that hls-graph builds with the embed-files flag |
well the unique thing I can think off without too much changes is add a step in the testing workflow building the package with the non default value for the flag |
Possibly dumb question: how bad would it be to just use |
187aebc
to
0a1b334
Compare
[skip circleci] |
0a1b334
to
001fe79
Compare
|
The request/PR shows that there is a broad structurally important question. There is a number of subprojects & they have a number of flags. & CI does not tests any of them.
|
It introduces a dependency on TH, which makes HLS-graph less portable. Which probably doesn't matter much. |
The details (early termination rules) we can tweak in other PRs. I consider this ready to be reviewed & merged. |
I would start CI configuration consolidation effort at #2422 (comment). |
not 9.2 specific, but required for file_embed flag
Tripped-over the syntax highlighting & the DHall work (which uses `''` for QuasiQuoting stuff)
94bccd9
to
3f0a641
Compare
Co-authored-by: Javier Neira <[email protected]>
312db71
to
c7e84db
Compare
c7e84db
to
219e511
Compare
This state confuses me. Seems like all requested changes were addressed & the PR is still in the I rechecked a couple of times & can not tell what is the cause. |
if a revision requests changes the revision author (in this case me) has to approve manually the pr to make it mergeable |
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.
To have a new workflow is nice for correctness and completeness but we have too much workflow filed so I would try to deduplicate workflows before adding more
The difficulty with computation would start where there would no be new build workers for PRs, so far it looks like CI have more then enough build workers, so far I haven't seen waits on resources. We had HLint workflow runs one worker & takes ~1m to run. Flags runs one worker ~5m. Testing takes 15 workers, takes 3-4 of them ~90m & Benchmark takes 3 workers, 2 workers for ~95m. So I arrived and added several CI workflows, but in reality, they do not use CI resources really. In this case for me it seems easier to have 1 workflow that takes 1 worker for 5 minutes to make a special build, than bundling that functionality inside So we only have a code complexity, because of shotgun surgery, because of the CI design (but most CIs have alike yaml-based design). And looking at DHall results (but I would still work on it a bit before reporting) - the current shotgun surgery situation in CI starts to look quite good. |
The pragma is required for the
embed-files
flag and was removed recently in #2523.@jneira @Anton-Latukha the PR is open for any ideas that extend CI to check the build with this flag.