🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

fix: update github.com/minamijoyo/tfupdate to v0.10.2 - #10852

Merged
olblak merged 2 commits into
updatecli:mainfrom
olblak:fix/tfupdate
Oct 14, 2026
Merged

olblak merged 2 commits into
updatecli:mainfrom
olblak:fix/tfupdate

Conversation

@olblak

@olblak olblak commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Test

To test this pull request, you can run the following commands:

make test

Additional Information

Checklist

  • I have updated the documentation via pull request in website repository.
  • I have tested this pull request manually with a custom Updatecli build and it works as expected.

Tradeoff

Potential improvement

Summary by CodeRabbit

  • Improvements
    • Terraform provider lock handling now uses the configured provider registry hostname when building its index, improving support for providers hosted outside the default registry.
    • Updated Terraform-related components for compatibility with newer versions.

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added the dependencies Pull requests that update a dependency file label Oct 14, 2026
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d97b628d-fd97-435a-ad67-289545699b15
📥 Commits

Reviewing files that changed from the base of the PR and between 63f512c and d4919e3.

⛔ Files ignored due to path filters: 1
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing: 2
  • go.mod
  • pkg/plugins/resources/terraform/lock/main.go

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

📝 Walkthrough

The Terraform lock resource now builds its provider lock index from registry configuration. The dependency declarations upgrade tfupdate and replace the indirect Terraform config inspection dependency.

Changes: Terraform lock index setup

Layer / File(s) Summary
Configure provider lock index
go.mod, pkg/plugins/resources/terraform/lock/main.go
The dependency declarations upgrade tfupdate and replace the indirect config inspection dependency. The lock resource uses lock.NewIndexFromConfig with a registry base URL derived from the provider hostname. It returns index-construction errors and stores the resulting index.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to d4919

No actionable regression is established in the lock-index setup; normal tests remain appropriate.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the primary change: updating github.com/minamijoyo/tfupdate to v0.10.2.
Description check Passed The description includes the Test, Additional Information, Checklist, Tradeoff, and Potential improvement sections. It does not include a Fix #XXX reference, test results, or completed tradeoff and im…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@olblak
olblak enabled auto-merge (squash) October 14, 2026 15:33
@olblak
olblak merged commit b6ec282 into updatecli:main Oct 14, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant