Skip to content

fix: publish bare checksum names#879

Merged
intel352 merged 1 commit into
mainfrom
fix/release-checksum-bare-names
Jun 7, 2026
Merged

fix: publish bare checksum names#879
intel352 merged 1 commit into
mainfrom
fix/release-checksum-bare-names

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 7, 2026

Summary

  • strip leading ./ from release checksums.txt entries
  • keep release asset hashes unchanged while making checksum names compatible with older wfctl updaters

Verification

  • printf '%s\n' 'abc123 ./wfctl-darwin-arm64' | sed 's# ./# #' | awk '{print }' | rg '^wfctl-darwin-arm64$'
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release.yml")'
  • actionlint .github/workflows/release.yml
  • git diff --check

This lets a new patch release salvage the v0.74.x -> latest wfctl update path; v0.75.1 itself is immutable, so its checksums.txt cannot be patched in place.

Copilot AI review requested due to automatic review settings June 7, 2026 20:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the release workflow’s checksum generation to publish “bare” asset names (without a leading ./) in checksums.txt, improving compatibility with older wfctl updater logic while keeping the actual SHA-256 hashes unchanged.

Changes:

  • Post-process sha256sum output in the release workflow to strip the ./ prefix from filenames in checksums.txt.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 7, 2026

⏱ Benchmark Results

No significant performance regressions detected.

benchstat comparison (baseline → PR)
## benchstat: baseline → PR
baseline-bench.txt:304: parsing iteration count: invalid syntax
baseline-bench.txt:379757: parsing iteration count: invalid syntax
baseline-bench.txt:788487: parsing iteration count: invalid syntax
baseline-bench.txt:1200148: parsing iteration count: invalid syntax
baseline-bench.txt:1621865: parsing iteration count: invalid syntax
baseline-bench.txt:2037585: parsing iteration count: invalid syntax
benchmark-results.txt:304: parsing iteration count: invalid syntax
benchmark-results.txt:331001: parsing iteration count: invalid syntax
benchmark-results.txt:595470: parsing iteration count: invalid syntax
benchmark-results.txt:879817: parsing iteration count: invalid syntax
benchmark-results.txt:1219118: parsing iteration count: invalid syntax
benchmark-results.txt:1539198: parsing iteration count: invalid syntax
goos: linux
goarch: amd64
pkg: github.com/GoCodeAlone/workflow/dynamic
cpu: AMD EPYC 7763 64-Core Processor                
                            │ benchmark-results.txt │
                            │        sec/op         │
InterpreterCreation-4                  8.593m ± 64%
ComponentLoad-4                        3.608m ± 12%
ComponentExecute-4                     1.953µ ±  1%
PoolContention/workers-1-4             1.089µ ±  1%
PoolContention/workers-2-4             1.083µ ±  3%
PoolContention/workers-4-4             1.086µ ±  1%
PoolContention/workers-8-4             1.097µ ±  1%
PoolContention/workers-16-4            1.109µ ±  4%
ComponentLifecycle-4                   3.736m ±  1%
SourceValidation-4                     2.373µ ±  1%
RegistryConcurrent-4                   819.6n ±  4%
LoaderLoadFromString-4                 3.876m ±  5%
geomean                                19.29µ

                            │ benchmark-results.txt │
                            │         B/op          │
InterpreterCreation-4                  2.027Mi ± 0%
ComponentLoad-4                        2.180Mi ± 0%
ComponentExecute-4                     1.203Ki ± 0%
PoolContention/workers-1-4             1.203Ki ± 0%
PoolContention/workers-2-4             1.203Ki ± 0%
PoolContention/workers-4-4             1.203Ki ± 0%
PoolContention/workers-8-4             1.203Ki ± 0%
PoolContention/workers-16-4            1.203Ki ± 0%
ComponentLifecycle-4                   2.183Mi ± 0%
SourceValidation-4                     1.984Ki ± 0%
RegistryConcurrent-4                   1.133Ki ± 0%
LoaderLoadFromString-4                 2.182Mi ± 0%
geomean                                15.25Ki

                            │ benchmark-results.txt │
                            │       allocs/op       │
InterpreterCreation-4                   15.68k ± 0%
ComponentLoad-4                         18.02k ± 0%
ComponentExecute-4                       25.00 ± 0%
PoolContention/workers-1-4               25.00 ± 0%
PoolContention/workers-2-4               25.00 ± 0%
PoolContention/workers-4-4               25.00 ± 0%
PoolContention/workers-8-4               25.00 ± 0%
PoolContention/workers-16-4              25.00 ± 0%
ComponentLifecycle-4                    18.07k ± 0%
SourceValidation-4                       32.00 ± 0%
RegistryConcurrent-4                     2.000 ± 0%
LoaderLoadFromString-4                  18.06k ± 0%
geomean                                  183.3

cpu: AMD EPYC 9V74 80-Core Processor                
                            │ baseline-bench.txt │
                            │       sec/op       │
InterpreterCreation-4              2.816m ± 186%
ComponentLoad-4                    2.669m ±   6%
ComponentExecute-4                 1.433µ ±   2%
PoolContention/workers-1-4         785.0n ±   3%
PoolContention/workers-2-4         775.9n ±   5%
PoolContention/workers-4-4         775.9n ±   1%
PoolContention/workers-8-4         773.0n ±   1%
PoolContention/workers-16-4        780.3n ±   1%
ComponentLifecycle-4               2.678m ±   1%
SourceValidation-4                 1.634µ ±   0%
RegistryConcurrent-4               577.1n ±   4%
LoaderLoadFromString-4             2.709m ±   1%
geomean                            12.89µ

                            │ baseline-bench.txt │
                            │        B/op        │
InterpreterCreation-4               2.027Mi ± 0%
ComponentLoad-4                     2.180Mi ± 0%
ComponentExecute-4                  1.203Ki ± 0%
PoolContention/workers-1-4          1.203Ki ± 0%
PoolContention/workers-2-4          1.203Ki ± 0%
PoolContention/workers-4-4          1.203Ki ± 0%
PoolContention/workers-8-4          1.203Ki ± 0%
PoolContention/workers-16-4         1.203Ki ± 0%
ComponentLifecycle-4                2.183Mi ± 0%
SourceValidation-4                  1.984Ki ± 0%
RegistryConcurrent-4                1.133Ki ± 0%
LoaderLoadFromString-4              2.182Mi ± 0%
geomean                             15.25Ki

                            │ baseline-bench.txt │
                            │     allocs/op      │
InterpreterCreation-4                15.68k ± 0%
ComponentLoad-4                      18.02k ± 0%
ComponentExecute-4                    25.00 ± 0%
PoolContention/workers-1-4            25.00 ± 0%
PoolContention/workers-2-4            25.00 ± 0%
PoolContention/workers-4-4            25.00 ± 0%
PoolContention/workers-8-4            25.00 ± 0%
PoolContention/workers-16-4           25.00 ± 0%
ComponentLifecycle-4                 18.07k ± 0%
SourceValidation-4                    32.00 ± 0%
RegistryConcurrent-4                  2.000 ± 0%
LoaderLoadFromString-4               18.06k ± 0%
geomean                               183.3

pkg: github.com/GoCodeAlone/workflow/middleware
cpu: AMD EPYC 7763 64-Core Processor                
                                  │ benchmark-results.txt │
                                  │        sec/op         │
CircuitBreakerDetection-4                     290.9n ± 5%
CircuitBreakerExecution_Success-4             21.46n ± 0%
CircuitBreakerExecution_Failure-4             65.49n ± 0%
geomean                                       74.22n

                                  │ benchmark-results.txt │
                                  │         B/op          │
CircuitBreakerDetection-4                    144.0 ± 0%
CircuitBreakerExecution_Success-4            0.000 ± 0%
CircuitBreakerExecution_Failure-4            0.000 ± 0%
geomean                                                 ¹
¹ summaries must be >0 to compute geomean

                                  │ benchmark-results.txt │
                                  │       allocs/op       │
CircuitBreakerDetection-4                    1.000 ± 0%
CircuitBreakerExecution_Success-4            0.000 ± 0%
CircuitBreakerExecution_Failure-4            0.000 ± 0%
geomean                                                 ¹
¹ summaries must be >0 to compute geomean

cpu: AMD EPYC 9V74 80-Core Processor                
                                  │ baseline-bench.txt │
                                  │       sec/op       │
CircuitBreakerDetection-4                  230.9n ± 1%
CircuitBreakerExecution_Success-4          17.57n ± 0%
CircuitBreakerExecution_Failure-4          55.18n ± 0%
geomean                                    60.73n

                                  │ baseline-bench.txt │
                                  │        B/op        │
CircuitBreakerDetection-4                 144.0 ± 0%
CircuitBreakerExecution_Success-4         0.000 ± 0%
CircuitBreakerExecution_Failure-4         0.000 ± 0%
geomean                                              ¹
¹ summaries must be >0 to compute geomean

                                  │ baseline-bench.txt │
                                  │     allocs/op      │
CircuitBreakerDetection-4                 1.000 ± 0%
CircuitBreakerExecution_Success-4         0.000 ± 0%
CircuitBreakerExecution_Failure-4         0.000 ± 0%
geomean                                              ¹
¹ summaries must be >0 to compute geomean

pkg: github.com/GoCodeAlone/workflow/module
cpu: AMD EPYC 7763 64-Core Processor                
                                 │ benchmark-results.txt │
                                 │        sec/op         │
IaCStateBackend_InProcess-4                 322.2n ± 32%
IaCStateBackend_GRPC-4                      9.850m ±  3%
JQTransform_Simple-4                        683.5n ± 35%
JQTransform_ObjectConstruction-4            1.566µ ±  1%
JQTransform_ArraySelect-4                   3.520µ ±  2%
JQTransform_Complex-4                       40.29µ ±  2%
JQTransform_Throughput-4                    1.888µ ±  1%
SSEPublishDelivery-4                        66.42n ±  0%
geomean                                     3.960µ

                                 │ benchmark-results.txt │
                                 │         B/op          │
IaCStateBackend_InProcess-4                416.0 ±  0%
IaCStateBackend_GRPC-4                   5.754Mi ± 11%
JQTransform_Simple-4                     1.273Ki ±  0%
JQTransform_ObjectConstruction-4         1.773Ki ±  0%
JQTransform_ArraySelect-4                2.625Ki ±  0%
JQTransform_Complex-4                    16.31Ki ±  0%
JQTransform_Throughput-4                 1.984Ki ±  0%
SSEPublishDelivery-4                       0.000 ±  0%
geomean                                                ¹
¹ summaries must be >0 to compute geomean

                                 │ benchmark-results.txt │
                                 │       allocs/op       │
IaCStateBackend_InProcess-4                 2.000 ± 0%
IaCStateBackend_GRPC-4                     6.846k ± 0%
JQTransform_Simple-4                        10.00 ± 0%
JQTransform_ObjectConstruction-4            15.00 ± 0%
JQTransform_ArraySelect-4                   30.00 ± 0%
JQTransform_Complex-4                       328.0 ± 0%
JQTransform_Throughput-4                    17.00 ± 0%
SSEPublishDelivery-4                        0.000 ± 0%
geomean                                                ¹
¹ summaries must be >0 to compute geomean

cpu: AMD EPYC 9V74 80-Core Processor                
                                 │ baseline-bench.txt │
                                 │       sec/op       │
IaCStateBackend_InProcess-4              240.9n ± 29%
IaCStateBackend_GRPC-4                   7.887m ±  1%
JQTransform_Simple-4                     499.8n ± 16%
JQTransform_ObjectConstruction-4         1.088µ ±  0%
JQTransform_ArraySelect-4                2.647µ ±  1%
JQTransform_Complex-4                    31.95µ ±  0%
JQTransform_Throughput-4                 1.339µ ±  1%
SSEPublishDelivery-4                     49.83n ±  1%
geomean                                  2.956µ

                                 │ baseline-bench.txt │
                                 │        B/op        │
IaCStateBackend_InProcess-4             416.0 ±  0%
IaCStateBackend_GRPC-4                5.684Mi ± 14%
JQTransform_Simple-4                  1.273Ki ±  0%
JQTransform_ObjectConstruction-4      1.773Ki ±  0%
JQTransform_ArraySelect-4             2.625Ki ±  0%
JQTransform_Complex-4                 16.31Ki ±  0%
JQTransform_Throughput-4              1.984Ki ±  0%
SSEPublishDelivery-4                    0.000 ±  0%
geomean                                             ¹
¹ summaries must be >0 to compute geomean

                                 │ baseline-bench.txt │
                                 │     allocs/op      │
IaCStateBackend_InProcess-4              2.000 ± 0%
IaCStateBackend_GRPC-4                  6.864k ± 0%
JQTransform_Simple-4                     10.00 ± 0%
JQTransform_ObjectConstruction-4         15.00 ± 0%
JQTransform_ArraySelect-4                30.00 ± 0%
JQTransform_Complex-4                    328.0 ± 0%
JQTransform_Throughput-4                 17.00 ± 0%
SSEPublishDelivery-4                     0.000 ± 0%
geomean                                             ¹
¹ summaries must be >0 to compute geomean

pkg: github.com/GoCodeAlone/workflow/schema
cpu: AMD EPYC 7763 64-Core Processor                
                                    │ benchmark-results.txt │
                                    │        sec/op         │
SchemaValidation_Simple-4                       1.106µ ± 6%
SchemaValidation_AllFields-4                    1.661µ ± 3%
SchemaValidation_FormatValidation-4             1.607µ ± 2%
SchemaValidation_ManySchemas-4                  1.814µ ± 2%
geomean                                         1.521µ

                                    │ benchmark-results.txt │
                                    │         B/op          │
SchemaValidation_Simple-4                      0.000 ± 0%
SchemaValidation_AllFields-4                   0.000 ± 0%
SchemaValidation_FormatValidation-4            0.000 ± 0%
SchemaValidation_ManySchemas-4                 0.000 ± 0%
geomean                                                   ¹
¹ summaries must be >0 to compute geomean

                                    │ benchmark-results.txt │
                                    │       allocs/op       │
SchemaValidation_Simple-4                      0.000 ± 0%
SchemaValidation_AllFields-4                   0.000 ± 0%
SchemaValidation_FormatValidation-4            0.000 ± 0%
SchemaValidation_ManySchemas-4                 0.000 ± 0%
geomean                                                   ¹
¹ summaries must be >0 to compute geomean

cpu: AMD EPYC 9V74 80-Core Processor                
                                    │ baseline-bench.txt │
                                    │       sec/op       │
SchemaValidation_Simple-4                    835.9n ± 5%
SchemaValidation_AllFields-4                 1.246µ ± 1%
SchemaValidation_FormatValidation-4          1.220µ ± 2%
SchemaValidation_ManySchemas-4               1.253µ ± 2%
geomean                                      1.123µ

                                    │ baseline-bench.txt │
                                    │        B/op        │
SchemaValidation_Simple-4                   0.000 ± 0%
SchemaValidation_AllFields-4                0.000 ± 0%
SchemaValidation_FormatValidation-4         0.000 ± 0%
SchemaValidation_ManySchemas-4              0.000 ± 0%
geomean                                                ¹
¹ summaries must be >0 to compute geomean

                                    │ baseline-bench.txt │
                                    │     allocs/op      │
SchemaValidation_Simple-4                   0.000 ± 0%
SchemaValidation_AllFields-4                0.000 ± 0%
SchemaValidation_FormatValidation-4         0.000 ± 0%
SchemaValidation_ManySchemas-4              0.000 ± 0%
geomean                                                ¹
¹ summaries must be >0 to compute geomean

pkg: github.com/GoCodeAlone/workflow/store
cpu: AMD EPYC 7763 64-Core Processor                
                                   │ benchmark-results.txt │
                                   │        sec/op         │
EventStoreAppend_InMemory-4                   1.230µ ± 16%
EventStoreAppend_SQLite-4                     1.338m ± 14%
GetTimeline_InMemory/events-10-4              14.32µ ±  5%
GetTimeline_InMemory/events-50-4              80.24µ ±  3%
GetTimeline_InMemory/events-100-4             125.5µ ± 32%
GetTimeline_InMemory/events-500-4             648.5µ ±  1%
GetTimeline_InMemory/events-1000-4            1.314m ±  1%
GetTimeline_SQLite/events-10-4                73.93µ ±  1%
GetTimeline_SQLite/events-50-4                220.7µ ±  1%
GetTimeline_SQLite/events-100-4               401.2µ ±  0%
GetTimeline_SQLite/events-500-4               1.863m ±  1%
GetTimeline_SQLite/events-1000-4              3.610m ±  1%
geomean                                       213.4µ

                                   │ benchmark-results.txt │
                                   │         B/op          │
EventStoreAppend_InMemory-4                     795.5 ± 6%
EventStoreAppend_SQLite-4                     1.981Ki ± 2%
GetTimeline_InMemory/events-10-4              7.953Ki ± 0%
GetTimeline_InMemory/events-50-4              46.62Ki ± 0%
GetTimeline_InMemory/events-100-4             94.48Ki ± 0%
GetTimeline_InMemory/events-500-4             472.8Ki ± 0%
GetTimeline_InMemory/events-1000-4            944.3Ki ± 0%
GetTimeline_SQLite/events-10-4                16.74Ki ± 0%
GetTimeline_SQLite/events-50-4                87.14Ki ± 0%
GetTimeline_SQLite/events-100-4               175.4Ki ± 0%
GetTimeline_SQLite/events-500-4               846.1Ki ± 0%
GetTimeline_SQLite/events-1000-4              1.639Mi ± 0%
geomean                                       67.37Ki

                                   │ benchmark-results.txt │
                                   │       allocs/op       │
EventStoreAppend_InMemory-4                     7.000 ± 0%
EventStoreAppend_SQLite-4                       53.00 ± 0%
GetTimeline_InMemory/events-10-4                125.0 ± 0%
GetTimeline_InMemory/events-50-4                653.0 ± 0%
GetTimeline_InMemory/events-100-4              1.306k ± 0%
GetTimeline_InMemory/events-500-4              6.514k ± 0%
GetTimeline_InMemory/events-1000-4             13.02k ± 0%
GetTimeline_SQLite/events-10-4                  382.0 ± 0%
GetTimeline_SQLite/events-50-4                 1.852k ± 0%
GetTimeline_SQLite/events-100-4                3.681k ± 0%
GetTimeline_SQLite/events-500-4                18.54k ± 0%
GetTimeline_SQLite/events-1000-4               37.29k ± 0%
geomean                                        1.162k

cpu: AMD EPYC 9V74 80-Core Processor                
                                   │ baseline-bench.txt │
                                   │       sec/op       │
EventStoreAppend_InMemory-4                744.9n ± 16%
EventStoreAppend_SQLite-4                  1.195m ±  3%
GetTimeline_InMemory/events-10-4           10.24µ ±  4%
GetTimeline_InMemory/events-50-4           47.45µ ± 20%
GetTimeline_InMemory/events-100-4          84.66µ ±  0%
GetTimeline_InMemory/events-500-4          434.4µ ±  0%
GetTimeline_InMemory/events-1000-4         879.1µ ±  1%
GetTimeline_SQLite/events-10-4             43.95µ ±  1%
GetTimeline_SQLite/events-50-4             146.9µ ±  0%
GetTimeline_SQLite/events-100-4            273.5µ ±  0%
GetTimeline_SQLite/events-500-4            1.269m ±  1%
GetTimeline_SQLite/events-1000-4           2.502m ±  1%
geomean                                    143.8µ

                                   │ baseline-bench.txt │
                                   │        B/op        │
EventStoreAppend_InMemory-4                 766.0 ± 13%
EventStoreAppend_SQLite-4                 1.987Ki ±  2%
GetTimeline_InMemory/events-10-4          7.953Ki ±  0%
GetTimeline_InMemory/events-50-4          46.62Ki ±  0%
GetTimeline_InMemory/events-100-4         94.48Ki ±  0%
GetTimeline_InMemory/events-500-4         472.8Ki ±  0%
GetTimeline_InMemory/events-1000-4        944.3Ki ±  0%
GetTimeline_SQLite/events-10-4            16.74Ki ±  0%
GetTimeline_SQLite/events-50-4            87.14Ki ±  0%
GetTimeline_SQLite/events-100-4           175.4Ki ±  0%
GetTimeline_SQLite/events-500-4           846.1Ki ±  0%
GetTimeline_SQLite/events-1000-4          1.639Mi ±  0%
geomean                                   67.18Ki

                                   │ baseline-bench.txt │
                                   │     allocs/op      │
EventStoreAppend_InMemory-4                  7.000 ± 0%
EventStoreAppend_SQLite-4                    53.00 ± 0%
GetTimeline_InMemory/events-10-4             125.0 ± 0%
GetTimeline_InMemory/events-50-4             653.0 ± 0%
GetTimeline_InMemory/events-100-4           1.306k ± 0%
GetTimeline_InMemory/events-500-4           6.514k ± 0%
GetTimeline_InMemory/events-1000-4          13.02k ± 0%
GetTimeline_SQLite/events-10-4               382.0 ± 0%
GetTimeline_SQLite/events-50-4              1.852k ± 0%
GetTimeline_SQLite/events-100-4             3.681k ± 0%
GetTimeline_SQLite/events-500-4             18.54k ± 0%
GetTimeline_SQLite/events-1000-4            37.29k ± 0%
geomean                                     1.162k

Benchmarks run with go test -bench=. -benchmem -count=6.
Regressions ≥ 20% are flagged. Results compared via benchstat.

@intel352 intel352 merged commit 84755cd into main Jun 7, 2026
23 checks passed
@intel352 intel352 deleted the fix/release-checksum-bare-names branch June 7, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants