Skip to content

docs: Update Flash docs for .runpod to .flash directory migration#592

Open
promptless[bot] wants to merge 2 commits intomainfrom
promptless/flash-runpod-to-flash-directory-migration
Open

docs: Update Flash docs for .runpod to .flash directory migration#592
promptless[bot] wants to merge 2 commits intomainfrom
promptless/flash-runpod-to-flash-directory-migration

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Mar 24, 2026

Open this suggestion in Promptless to view citations and reasoning process

Updates all Flash documentation references from .runpod/resources.pkl to .flash/resources.pkl to reflect the directory migration in PR #221. This consolidates all local Flash state under the .flash/ directory.

Trigger Events

runpod/flash PR #221: refactor: migrate .runpod directory to .flash

Promptless Research (7 files, 1 GitHub PR)

  • Reviewed runpod/flash#221
  • Viewed .long_term_context/product_knowledge/product_overview.md
  • Viewed .long_term_context/doc_workflow/client_instructions.md
  • Viewed .long_term_context/style/client_style_guide.md
  • Viewed flash/cli/run.mdx
  • Viewed flash/cli/undeploy.mdx
  • Viewed flash/apps/local-testing.mdx
  • Viewed flash/cli/login.mdx

Agent Response

I've created a documentation suggestion for PR #221.

Summary

PR #221 migrates Flash's local state directory from .runpod/ to .flash/, consolidating all Flash project state under a single directory.

Documentation updates

I updated 3 files to change references from .runpod/resources.pkl to .flash/resources.pkl:

File Change
flash/cli/run.mdx Updated caching path in auto-provisioning section
flash/cli/undeploy.mdx Updated tracking file path (2 locations)
flash/apps/local-testing.mdx Updated endpoint caching path

Not updated

The ~/.runpod/credentials.toml reference in flash/cli/login.mdx was left unchanged because it refers to user credentials stored in the home directory, which is separate from the project-local state directory affected by this PR.

Suggestion

Title: Update Flash docs for .runpod to .flash directory migration
URL: https://app.gopromptless.ai/suggestions/f3566f77-5dee-4b4c-b50c-86ecb6247b2f


Tip: Send Promptless a meeting transcript in Slack to generate doc updates 📝

2. **Deployment**: Deploys resources concurrently (up to 3 at a time).
3. **Confirmation**: Asks for confirmation if deploying more than 5 endpoints.
4. **Caching**: Stores deployed resources in `.runpod/resources.pkl` for reuse.
4. **Caching**: Stores deployed resources in `.flash/resources.pkl` for reuse.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: PR #221 migrates RUNPOD_FLASH_DIR from Path(".runpod") to Path(".flash") in resource_manager.py, and _RESOURCE_STATE_FILE in run.py follows the same change.
View source

```

Use this when endpoints were deleted via the Runpod console or API (not through Flash). The local tracking file (`.runpod/resources.pkl`) becomes stale, and this command cleans it up.
Use this when endpoints were deleted via the Runpod console or API (not through Flash). The local tracking file (`.flash/resources.pkl`) becomes stale, and this command cleans it up.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: PR #221 consolidates all local state under .flash/ directory, eliminating the .runpod/ paradigm. The tracking file path is now .flash/resources.pkl.
View source

## How tracking works

Flash tracks deployed endpoints in `.runpod/resources.pkl`. Endpoints are added when you:
Flash tracks deployed endpoints in `.flash/resources.pkl`. Endpoints are added when you:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Based on changes in resource_manager.py where RESOURCE_STATE_FILE now points to .flash/resources.pkl.
View source

```

This scans your project for `@Endpoint` functions and deploys them before the server starts accepting requests. Endpoints are cached in `.runpod/resources.pkl` and reused across server restarts.
This scans your project for `@Endpoint` functions and deploys them before the server starts accepting requests. Endpoints are cached in `.flash/resources.pkl` and reused across server restarts.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: PR #221 changes the resource caching directory from .runpod/ to .flash/ as documented in the PR's internal flash-run.md file.
View source

@mintlify
Copy link

mintlify bot commented Mar 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Mar 24, 2026, 5:00 PM

@muhsinking muhsinking self-requested a review March 25, 2026 14:57
@muhsinking muhsinking marked this pull request as ready for review March 25, 2026 14:57
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