Automate the enterprise front-matter flag - #611
Open
kacperlukawski wants to merge 1 commit into
Open
kacperlukawski wants to merge 1 commit into
kacperlukawski wants to merge 1 commit into
Conversation
Adds scripts/update_enterprise_flags.py and a nightly GitHub Actions workflow that cross-reference each integration page's `name` against the partner sections of deepset-ai/haystack's Haystack Enterprise Components table (docs-website/docs/overview/platform-components.mdx, generated nightly there by scripts/generate_platform_components_table.py), and set `enterprise: true` on any page that matches. The matching is purely by partner name against a public, pre-generated page - no dependency installs, no private API access, no code-sample parsing. A small alias table covers partner names that don't match their integration page's `name` field case-insensitively. Includes the initial backfill: 78 of 82 platform partners matched to an integration page. The remaining 4 (Amazon S3, Azure DocumentDB, Transformers, Unstructured) have no unambiguous corresponding page and are logged as warnings rather than guessed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/update_enterprise_flags.py, which cross-references each integration page'snameagainst the partner sections of deepset-ai/haystack's Haystack Enterprise Components table (docs-website/docs/overview/platform-components.mdx), and setsenterprise: trueon any page that matches. That table is generated nightly byhaystack'sscripts/generate_platform_components_table.pyand is public, so this needs no dependency installs, no private API access, and no code-sample parsing..github/workflows/update-enterprise-flags.yml, a nightly workflow (offset afterhaystack's own 02:00 UTC run) that runs the script and opens a PR with any changes, same pattern ashaystack'supdate-platform-componentsbot workflow.enterprise: true. The remaining 4 (Amazon S3, Azure DocumentDB, Transformers, Unstructured) have no single unambiguous corresponding page — the script logs them as warnings instead of guessing.PARTNER_NAME_ALIASEStable covers the handful of partner names that don't match their integration page'snamefield case-insensitively (e.g. "AIML API" → "AIMLAPI", "Astra" → "AstraDB").Test plan
integrations/and the full real directoryenterprise: trueline, nothing else touched🤖 Generated with Claude Code