Skip to content

ci(viewer): Deploy viewer's CI wait retries a GitHub API error instead of failing the deploy - #1347

Merged
DrunkOnJava merged 3 commits into
mainfrom
ci/viewer-deploy-api-retry
Nov 4, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
ci/viewer-deploy-api-retry

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Deploy viewer's "Wait for CI on the commit" step made each gh api call once. A GitHub 502 on that call failed the deploy of the v0.14.0 release commit 999fc7b (run 41813009221, job 126522625187: gh: Server Error (HTTP 502)), so the live viewer stayed on the previous build until the job was rerun. That was a false red: it said nothing about the commit.

Changes

  • An api helper retries each gh api call up to six times, with backoff of 10 to 60 s.
  • The push-filter check now lists the commit's files first, then greps them. If the file list cannot be read after the retries, the step fails instead of being treated as "no file CI watches". It used to fail closed only because of pipefail.
  • If CI's check run cannot be read after the retries, the step fails with an error that names the commit.

The step still deploys only once CI passed succeeded on the commit, or when every file it changes is one CI's push filter ignores.

Testing

  • actionlint on the workflow reports only the $/.github/actions/fetch-corpus finding that main already has.
  • The failed run was rerun as is (41813009221). This change is exercised on the next push to main.

Audit-honesty checklist

  • No emojis, private paths or internal jargon.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk proprietary source, decompiled internals or NDA'd SDK content.

Breaking changes

None.

Related issues

None; found during the v0.14.0 release.

…d of failing the deploy, and fails closed when the API stays down
…ere-string, and stop retrying after the last try
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 4, 2026 10:53
DrunkOnJava added a commit that referenced this pull request Nov 4, 2026
… was published, and the open work moves to 0.15.0 (#1348)

## Summary

0.14.0 is the published release, each channel is checked from what was
published, and the open work moves to 0.15.0.

## Changes

- **docs/install.md:** the publication status for v0.14.0, with a new
`rvt-rs-mcp` row on crates.io. It records each channel as checked on
2026-11-04 (details under Testing). The MCP server section now installs
from crates.io.
- **docs/status.md:** v0.14.0 is the latest release.
- **ROADMAP.md:** a 0.14.0 entry, and the open section is now 0.15.0.
- **docs/python.md and docs/supported-profile.md:** the version.
- **docs/contribution-map.md and docs/release-1.0-criteria.md:** the
0.15.0 milestone.

## Testing

`verify.sh` was run against Measure 41814559456 (the tag, `keep_ifc`,
Core Interior, Einhoven and RE1 Architecture).

- **crates.io:** trusted-publishing data for `rvt` 0.14.0 names run
41813229123 and commit 999fc7b. `rvt-rs-mcp` 0.14.0 was published by
hand from the tag, and its trusted publisher was added afterwards (id
30944, `publish.yml`, environment `crates-io`). `PUBLISH_RVT_RS_MCP` is
`true`.
- **docs.rs:** 0.14.0 is queued. The latest build it serves is 0.13.0.
- **macOS arm64 archive:**
- `SHA256SUMS` matches, and the attestation names `release-binaries.yml`
at `refs/tags/v0.14.0`.
- Its exports of the three models are line for line Measure's, with
`FILE_NAME` and `IFCOWNERHISTORY` set aside, and its diagnostics are
byte-identical.
  - Its `rvt-rs-mcp` answers `server/discover`.
- **PyPI wheel (clean venv):** `rvt 0.14.0`. Its exports are line for
line Measure's, and its diagnostics are equal as JSON.
- **Container image:**
  - The image attestation verifies.
- On both `linux/amd64` and `linux/arm64`, RE1 Architecture exports line
for line as the archive does.
  - `rvt-rs-mcp` answers `server/discover`.
- **Viewer:** reports `rvt-rs 0.14.0`. Deploy viewer's first attempt on
the release commit failed on a GitHub API 502; the rerun deployed it,
and #1347 makes that step retry.

## Audit-honesty checklist

- [x] docs.rs is said to be queued, not built.
- [x] No emojis, private paths or internal jargon.

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk proprietary source, decompiled internals
or NDA'd SDK content.

## Breaking changes

None.

## Related issues

Refs #1345.
@DrunkOnJava
DrunkOnJava merged commit c1f63a9 into main Nov 4, 2026
31 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/viewer-deploy-api-retry branch November 9, 2026 10:50
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.

1 participant