Skip to content

Fix a bug fetching the OpenAPI spec for Weave#2145

Merged
dbrian57 merged 7 commits intomainfrom
troubleshoot_weave_action
Feb 13, 2026
Merged

Fix a bug fetching the OpenAPI spec for Weave#2145
dbrian57 merged 7 commits intomainfrom
troubleshoot_weave_action

Conversation

@mdlinville
Copy link
Contributor

@mdlinville mdlinville commented Feb 11, 2026

Description

Fix the failure in https://github.com/wandb/docs/actions/runs/21918108838/job/63290703562 in a series of commits.

  1. Fetch the raw openapi.json, not the HTML page with it embedded.
  2. Fix the JSON path to traverse the TOC structure.
  3. Nit: Remove blank line in docs.json
  4. Update the action to fetch the live spec (unsure if this is correct)
  5. Run the script with the fix and commit the result
  6. Revert the change to the openapi spec location, use GITHUB_TOKEN explicitly (also available in Github Action runners). Github seems to have changed something about private repo access from actions.
  7. Run the script one more time to validate the last change.

Ref: https://weightsandbiases.slack.com/archives/C01DX8LRZEJ/p1770835712153049

Testing

  • Regenerate the refs with the fix
  • PR checks succeed with the updated content
  • Updated spec and content look right

1. Fetch the raw openapi.json, not the HTML
   page with it embedded.
2. Fix the JSON structure for updating the
   TOC structure.
@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2026

📚 Mintlify Preview Links

🔗 View Full Preview

📝 Changed (1 total)

⚙️ Other (1)
File
docs.json

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: 8b15001 at 2026-02-12 21:32:31 UTC

@dbrian57 dbrian57 merged commit 7c22354 into main Feb 13, 2026
10 checks passed
@dbrian57 dbrian57 deleted the troubleshoot_weave_action branch February 13, 2026 16:35
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

Comments