Skip to content

chore: add .dev-state to .gitignore#41848

Merged
hydro13 merged 2 commits intoopenclaw:mainfrom
smysle:fix/gitignore-dev-state
Mar 10, 2026
Merged

chore: add .dev-state to .gitignore#41848
hydro13 merged 2 commits intoopenclaw:mainfrom
smysle:fix/gitignore-dev-state

Conversation

@smysle
Copy link
Contributor

@smysle smysle commented Mar 10, 2026

Closes #41781

The .dev-state file is generated at runtime by the gateway process and should not be tracked in version control.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 10, 2026

Greptile Summary

This PR adds .dev-state to .gitignore to prevent the gateway's runtime-generated state file from being accidentally committed. The file is not currently tracked in version control, so no cache-removal step is needed alongside this change.

  • .dev-state is appended at the end of .gitignore without a section comment; adding a brief comment (e.g. # Gateway runtime state) would improve long-term discoverability, but this is purely cosmetic.

Confidence Score: 5/5

  • This PR is safe to merge — it is a one-line, non-breaking .gitignore addition with no code changes.
  • The change is trivially correct: .dev-state is not tracked, the pattern matches the described runtime file location, and no other files are affected.
  • No files require special attention.

Last reviewed commit: b35fab2

@hydro13 hydro13 self-assigned this Mar 10, 2026
hydro13 added a commit to smysle/openclaw that referenced this pull request Mar 10, 2026
@hydro13 hydro13 force-pushed the fix/gitignore-dev-state branch from b35fab2 to f01febd Compare March 10, 2026 12:16
smysle and others added 2 commits March 10, 2026 13:18
The .dev-state file is generated at runtime by the gateway process and
should not be tracked in version control.

Closes openclaw#41781
@hydro13 hydro13 force-pushed the fix/gitignore-dev-state branch from f01febd to 85c4eb7 Compare March 10, 2026 12:20
@hydro13 hydro13 merged commit d340ea9 into openclaw:main Mar 10, 2026
24 checks passed
@hydro13
Copy link
Contributor

hydro13 commented Mar 10, 2026

Merged via squash.

Thanks @smysle!

mrosmarin added a commit to mrosmarin/openclaw that referenced this pull request Mar 10, 2026
* main: (43 commits)
  docs: add openclaw#42173 to CHANGELOG — strip leaked model control tokens (openclaw#42216)
  Agents: align onPayload callback and OAuth imports
  docs: add Tengji (George) Zhang to maintainer table (openclaw#42190)
  fix: strip leaked model control tokens from user-facing text (openclaw#42173)
  Changelog: add unreleased March 9 entries
  chore: add .dev-state to .gitignore (openclaw#41848)
  fix(agents): avoid duplicate same-provider cooldown probes in fallback runs (openclaw#41711)
  fix(mattermost): preserve markdown formatting and native tables (openclaw#18655)
  feat(acp): add resumeSessionId to sessions_spawn for ACP session resume (openclaw#41847)
  ACPX: bump bundled acpx to 0.1.16 (openclaw#41975)
  mattermost: fix DM media upload for unprefixed user IDs (openclaw#29925)
  fix(msteams): use General channel conversation ID as team key for Bot Framework compatibility (openclaw#41838)
  fix(mattermost): read replyTo param in plugin handleAction send (openclaw#41176)
  fix(sandbox): pass real workspace to sessions_spawn when workspaceAccess is ro (openclaw#40757)
  fix(ui): replace Manual RPC text input with sorted method dropdown (openclaw#14967)
  CI: select Swift 6.2 toolchain for CodeQL (openclaw#41787)
  fix(agents): forward memory flush write path (openclaw#41761)
  fix(telegram): move network fallback to resolver-scoped dispatchers (openclaw#40740)
  fix(security): harden replaceMarkers() to catch space/underscore boundary marker variants (openclaw#35983)
  fix(web-search): recover OpenRouter Perplexity citations from message annotations (openclaw#40881)
  ...
Moshiii pushed a commit to Moshiii/openclaw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
Moshiii pushed a commit to Moshiii/openclaw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
frankekn pushed a commit to MoerAI/openclaw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
frankekn pushed a commit to Effet/openclaw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
frankekn pushed a commit to ImLukeF/openclaw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
dominicnunez pushed a commit to dominicnunez/openclaw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
dhoman pushed a commit to dhoman/chrono-claw that referenced this pull request Mar 11, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
ahelpercn pushed a commit to ahelpercn/openclaw that referenced this pull request Mar 12, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
Ruijie-Ysp pushed a commit to Ruijie-Ysp/clawdbot that referenced this pull request Mar 12, 2026
Merged via squash.

Prepared head SHA: 85c4eb7
Co-authored-by: smysle <[email protected]>
Co-authored-by: hydro13 <[email protected]>
Reviewed-by: @hydro13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: .dev-state 文件时后台生成的必须忽略掉在.gitignore中

2 participants