Repository navigation
fix(release): restore Zed grammar submodule metadata - #987
Conversation
Point the Zed extension at WharfLab's containerfile grammar, align the registered grammar ID with its exported parser symbol, and verify submodule metadata in CI so credential cleanup cannot break release checkout again.
📊 Source Code Metrics (this PR vs
|
|
Warning Review limit reached
Next review available in: 44 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Zed integration now uses ChangesContainerfile grammar integration
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What T-Rex did
|
Binary Size ReportMeasured artifact: full-CGO Linux binary built from this workflow.
Size historyxychart-beta
title "Binary size (bytes)"
x-axis ["chore(deps): Update module git", "chore(deps): Update module git", "chore(deps): Update dependency", "chore(deps): Update dependency", "chore(deps): Update module git", "chore(deps): Update module git", "chore(deps): Update module git", "chore(deps): Update dependency", "chore(deps): Update module git", "chore(deps): Update dependency", "chore(deps): Update module git", "chore(deps): Update dependency", "chore(deps): Update dependency", "chore(deps): Update dependency", "chore(deps): Update module go.", "fix(shellcheck): make wasm bui", "chore(deps): Update dependency", "feat(vscode): improve Marketpl", "feat(intellij): improve Market", "This PR"]
y-axis "Bytes"
bar [70808664, 70808664, 70808664, 70808664, 70808664, 70808664, 70808696, 70808664, 70808600, 70808664, 70812760, 70812728, 70812728, 70812728, 70841304, 70841304, 70841304, 70841304, 70841304, 70841336]
|
Emit the official VS Marketplace support escalation when VSID Concurrency survives every configured retry.
Merging this PR will not alter performance
|
Release recovery status
This matches Microsoft Marketplace publisher blocks that persist across cooldowns and PAT rotation. Microsoft directs affected publishers to email VSMarketplace@microsoft.com so the publisher/account block can be cleared. Include:
The publisher script now emits this escalation explicitly when all configured retries end in the persistent VSID block. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
What T-Rex did
|
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - name: Verify submodule metadata | ||
| run: git submodule status --recursive |
There was a problem hiding this comment.
Submodule check accepts an unfetched grammar
actions/checkout still performs its default checkout without initializing submodules, while git submodule status --recursive only reports an uninitialized gitlink with a leading - and exits successfully. Consequently, this job passes when the Containerfile grammar directory, including any nested submodules, has not been fetched. Initialize submodules recursively during checkout and/or explicitly reject minus-prefixed status entries.
Artifacts
Isolated Git submodule reproduction source
- Authored and executed Bash source creates a parent repository and gitlink, clones it without submodule initialization, and captures before and after behavior; it provides the exact reproduction method.
Uninitialized submodule status succeeds
- Captured command output from the normal clone shows the gitlink is registered, its directory is absent, and recursive status exits 0 with a minus-prefixed SHA; the check does not enforce availability.
Initialized submodule status succeeds
- Captured command output after recursive initialization shows Git cloned the child and reports a space-prefixed initialized SHA; initialization is a distinct required action.
- Captured execution header records the authored isolated reproduction command, repository working directory, and successful exit status; the reproduction ran successfully.
- Captured verification confirms the authored reproducer and both executed before-and-after captures are nonempty in the required artifact directory; the proof files are present.
Summary
actions/checkoutcredential cleanup no longer aborts release publishingwharflab/tree-sitter-containerfileat49ad7af2tree_sitter_containerfileexportRoot cause
The repository contained a gitlink at
_integrations/zed-tally/grammars/dockerfilebut no.gitmodulesentry. The Marketplace jobs usepersist-credentials: false;actions/checkoutrunsgit submodule foreach --recursivewhile removing credentials and failed before publishing began.Validation
git submodule status --recursivegit submodule foreach --recursive truecargo testcargo testRecovery
The existing
v0.45.0release already contains all six VSIX assets. The manual publish workflow can run from this branch and publish both registries without moving the release tag.Summary by CodeRabbit
New Features
Bug Fixes