← 返回首页
Package Eviction by ashRong · Pull Request #453 · open-lambda/open-lambda · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Package Eviction#453

Open
ashRong wants to merge 5 commits into
open-lambda:mainfrom
ashRong:main
Open

Package Eviction#453
ashRong wants to merge 5 commits into
open-lambda:mainfrom
ashRong:main

Conversation

ashRong commented May 11, 2026

Copy link
Copy Markdown

No description provided.

arong and others added 5 commits March 6, 2026 17:36
Add configurable maximum size limit for the packages directory: - New Pkgs_max_size config field (MB, 0 = unlimited) with validation - DirSize helper to compute directory size recursively - Track per-package size, InstallTime, and LastAccessed after install - Seed totalSize from existing packages on PackagePuller init - Expose packages.total-size-bytes gauge via /stats endpoint - Unit tests for DirSize helper This lays the groundwork for future package eviction when the configured size limit is exceeded. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Track function and package references for installed packages, release those references during function and import-cache cleanup, and move eviction into a dedicated PackageEvictor type. The new evictor runs asynchronously from kill-chain signals, enforces Pkgs_max_size using cascading dependency-aware eviction, and keeps package installation logic separate from eviction policy. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.