Skip to content

ci: deploy Pages through the API with the version of the run - #60

Merged
Insei merged 1 commit into
mainfrom
ci/pages-deploy-api
Oct 19, 2026
Merged

Insei merged 1 commit into
mainfrom
ci/pages-deploy-api

Conversation

@Insei

@Insei Insei commented Oct 19, 2026

Copy link
Copy Markdown
Owner

#59 did not help: the runner does not let a step override GITHUB_SHA, deploy-pages still sent the bare commit as pages_build_version.

The deploy job now creates the Pages deployment through the API itself, with the version <commit>-<run id>-<attempt>, and waits for its status, as deploy-pages does. The deployment of the release tag is no longer skipped when main was deployed from the same commit.

… of deploy-pages is not enough

Signed-off-by: Dmitriy Aleksandrov <goodmobiledevices@gmail.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cbe6c85) to head (40cf2c1).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #60   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           32        32           
  Lines         2638      2638           
=========================================
  Hits          2638      2638           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark diff: cbe6c85 → f68853c (10 runs)

goos: linux
goarch: amd64
pkg: github.com/insei/tinyconf/v2
cpu: AMD EPYC 7763 64-Core Processor                
                    │  base.txt   │              head.txt              │
                    │   sec/op    │   sec/op     vs base               │
Parse-4               3.423µ ± 1%   3.404µ ± 4%       ~ (p=0.271 n=10)
Parse_SubConfig-4     1.567µ ± 0%   1.559µ ± 1%       ~ (p=0.084 n=10)
Current-4             55.24n ± 0%   55.25n ± 0%       ~ (p=0.563 n=10)
Current_SubConfig-4   98.06n ± 0%   98.19n ± 0%  +0.13% (p=0.037 n=10)
geomean               412.9n        411.9n       -0.23%

                    │    base.txt    │               head.txt                │
                    │      B/op      │     B/op      vs base                 │
Parse-4               1.344Ki ± 0%     1.344Ki ± 0%       ~ (p=1.000 n=10) ¹
Parse_SubConfig-4       392.0 ± 0%       392.0 ± 0%       ~ (p=1.000 n=10) ¹
Current-4               0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=10) ¹
Current_SubConfig-4     0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=10) ¹
geomean                            ²                 +0.00%                ²
¹ all samples are equal
² summaries must be >0 to compute geomean

                    │   base.txt   │              head.txt               │
                    │  allocs/op   │ allocs/op   vs base                 │
Parse-4               18.00 ± 0%     18.00 ± 0%       ~ (p=1.000 n=10) ¹
Parse_SubConfig-4     10.00 ± 0%     10.00 ± 0%       ~ (p=1.000 n=10) ¹
Current-4             0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=10) ¹
Current_SubConfig-4   0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=10) ¹
geomean                          ²               +0.00%                ²
¹ all samples are equal
² summaries must be >0 to compute geomean

pkg: github.com/insei/tinyconf/v2/drivers
                │  base.txt   │              head.txt              │
                │   sec/op    │   sec/op     vs base               │
Parse_Drivers-4   59.97µ ± 2%   60.91µ ± 1%  +1.57% (p=0.004 n=10)

                │   base.txt   │            head.txt            │
                │     B/op     │     B/op      vs base          │
Parse_Drivers-4   25.14Ki ± 0%   25.14Ki ± 0%  ~ (p=1.000 n=10)

                │  base.txt  │            head.txt            │
                │ allocs/op  │ allocs/op   vs base            │
Parse_Drivers-4   408.0 ± 0%   408.0 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal

@Insei
Insei merged commit 90906e8 into main Oct 19, 2026
4 checks passed
@Insei
Insei deleted the ci/pages-deploy-api branch October 19, 2026 06:22
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