Skip to content

feat(openapi): add configurable upload timeout - #1516

Merged
erunion merged 1 commit into
nextfrom
hugo/cx-3771-add-openapi-upload-wait-timeout
Aug 12, 2026
Merged

erunion merged 1 commit into
nextfrom
hugo/cx-3771-add-openapi-upload-wait-timeout

Conversation

@HugoHSun

@HugoHSun HugoHSun commented Aug 12, 2026 •

Copy link
Copy Markdown
Member
🚥 Follow-up to CX-3771

🧰 Changes

Adds --timeout so customers can choose how long rdme openapi upload waits for processing. It defaults to 12 minutes and accepts values from 1 second to 1 hour. The upper limit prevents accidental long-running CI jobs from polling indefinitely.

This is separate from the immediate CX-3771 fix because changing the wait duration is optional configuration rather than part of correcting the false failure.

🧬 QA & Testing

  • Run an upload that remains pending and confirm the default polling window is 12 minutes.
  • Pass --timeout 3 and confirm the command stops polling after the custom window, then reports that processing continues in the background.
  • Confirm --timeout 0 and --timeout 3601 are rejected.
  • Confirm uploads that finish or fail during polling keep their existing behavior.

@HugoHSun
HugoHSun marked this pull request as ready for review August 12, 2026 05:08
@HugoHSun
HugoHSun requested a review from erunion as a code owner August 12, 2026 05:08
@HugoHSun

Copy link
Copy Markdown
Member Author

@coderabbitai review

@HugoHSun
HugoHSun requested a review from darrenyong August 12, 2026 06:50
Base automatically changed from hugo/cx-3771-rdme-openapi-upload-times-out-while-the-openapi-definition to next August 12, 2026 21:01
@erunion
erunion force-pushed the hugo/cx-3771-add-openapi-upload-wait-timeout branch from 86113dc to 49f8771 Compare August 12, 2026 21:01
Comment thread src/commands/openapi/upload.ts Resolved
Comment thread src/commands/openapi/upload.ts Resolved
Comment thread src/commands/openapi/upload.ts Resolved
@HugoHSun
HugoHSun force-pushed the hugo/cx-3771-add-openapi-upload-wait-timeout branch from 49f8771 to b613f80 Compare August 12, 2026 23:39
@HugoHSun HugoHSun changed the title feat(openapi): add configurable upload wait timeout feat(openapi): add configurable upload timeout Aug 12, 2026
@HugoHSun
HugoHSun force-pushed the hugo/cx-3771-add-openapi-upload-wait-timeout branch 2 times, most recently from 31e639f to ef7d0bf Compare August 12, 2026 23:46
@erunion
erunion force-pushed the hugo/cx-3771-add-openapi-upload-wait-timeout branch from ef7d0bf to c2edcec Compare August 12, 2026 23:57
@erunion
erunion merged commit 8c44efe into next Aug 12, 2026
9 checks passed
@erunion
erunion deleted the hugo/cx-3771-add-openapi-upload-wait-timeout branch August 12, 2026 23:59
erunion pushed a commit that referenced this pull request Aug 13, 2026
# [10.10.0-next.1](v10.9.7-next.1...v10.10.0-next.1) (2026-08-12)

### Features

* **openapi:** add configurable upload timeout ([#1516](#1516)) ([8c44efe](8c44efe))

[skip ci]
@erunion

erunion commented Aug 13, 2026

Copy link
Copy Markdown
Member

🎉 This PR is included in version 10.10.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

erunion pushed a commit that referenced this pull request Nov 1, 2026
# [10.10.0](v10.9.6...v10.10.0) (2026-11-01)

### Bug Fixes

* Disable javascript execution in 2nd frontmatter ([#1518](#1518)) ([922cbde](922cbde))
* empty commit to force a release ([779c812](779c812))
* **export:** honor --docs-only when skipping empty pages ([#1523](#1523)) ([2c89dec](2c89dec))
* issue where child pages could be uploaded before their parents ([#1554](#1554)) ([8ad0fd2](8ad0fd2))
* **openapi:** treat pending uploads as accepted ([#1515](#1515)) ([757950c](757950c))

### Features

* **glossary:** add upload and export commands ([#1533](#1533)) ([2b49b61](2b49b61))
* **openapi:** add configurable upload timeout ([#1516](#1516)) ([8c44efe](8c44efe))
* **openapi:** surface target project in upload output ([#1520](#1520)) ([53579cc](53579cc))

[skip ci]
@erunion

erunion commented Nov 1, 2026

Copy link
Copy Markdown
Member

🎉 This PR is included in version 10.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants