Skip to content

Credentials: refresh_after must be below the TTL - #9

Merged
ryuzdev merged 1 commit into
mainfrom
credentials-ttl-guard
Oct 23, 2026
Merged

ryuzdev merged 1 commit into
mainfrom
credentials-ttl-guard

Conversation

@ryuzdev

@ryuzdev ryuzdev commented Oct 23, 2026

Copy link
Copy Markdown
Member

Follow-up to #7 (CodeRabbit, after merge): R2TempMinter::new now refuses a refresh_after that is zero or at/after the TTL, since both reuse and the refresh restart key off it and must land before Cloudflare expires the grant. Production config already derives refresh_after = ttl − 1 d (min ttl/2), so nothing changes at runtime. The test helper now uses the production 7-day TTL. New boundary test. fmt/clippy/test green.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c8ce5a45-1595-4b75-86af-fe3ec521b1d8
📥 Commits

Reviewing files that changed from the base of the PR and between f612d68 and 7a561e2.

📒 Files selected for processing: 1
  • crates/outer/src/store/credentials.rs
  • 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.

@ryuzdev
ryuzdev merged commit f83fef6 into main Oct 23, 2026
3 checks passed
@ryuzdev
ryuzdev deleted the credentials-ttl-guard branch October 23, 2026 16:55
ryuzdev added a commit that referenced this pull request Nov 19, 2026
* Pin Cello 0.2.0 and follow the cello spellings

- CELLO_VERSION=0.2.0 with the release digest; lineage comment rewritten.
- celld-config -> cello-config (pipeline comment, agent docs; plugin renamed in outer-templates).
- stale_celld_names test -> stale_tenant_names; WIPE verify line reworded.
- check-pins.sh now guards the Cello tag+digest pin shape.
- Remaining celld hits are only the CELLD_ tenant reservation and celld.dev doc URLs.

* Fix two load-dependent test flakes

- agent_action_commit_logged_with_redacted_summary: pin INLINE_WAIT so the dispatch-time action rows are terminal; under parallel load the fake deploy outlasted the 200 ms test tool_wait and the row kept the in-progress building outcome.
- failed_wake_is_a_503_with_retry_after: hold the silent listener instead of bind-and-drop, so no other test's fake fleet can grab the freed port and answer the wake probe (503 -> 200).

* templates: pin outer-templates #9 (cello-config plugin)

* check-pins: require 64 lowercase hex in the Cello digest

Security review on #151: the ? glob accepted any characters.

* check-pins: anchor the Cello version check
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.

1 participant