Skip to content

fix(workflow model): ensure consistent timestamp updating - #10172

Merged
crazywoola merged 1 commit into
mainfrom
fix/ensure-consistent-timestamp-updating
Nov 1, 2024
Merged

crazywoola merged 1 commit into
mainfrom
fix/ensure-consistent-timestamp-updating

Conversation

@laipz8200

Copy link
Copy Markdown
Member

Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

  • Set updated_at to use UTC timezone for current timestamp by default.
  • Utilize server_onupdate to keep timestamps in sync with the database updates.

Fixes

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

- Set `updated_at` to use UTC timezone for current timestamp by default.
- Utilize `server_onupdate` to keep timestamps in sync with the database updates.
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 1, 2024
@laipz8200
laipz8200 requested a review from crazywoola November 1, 2024 10:44
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Nov 1, 2024
@crazywoola
crazywoola merged commit 6a2a946 into main Nov 1, 2024
@crazywoola
crazywoola deleted the fix/ensure-consistent-timestamp-updating branch November 1, 2024 10:58
AlwaysBluer added a commit to AlwaysBluer/dify that referenced this pull request Nov 2, 2024
…m-vdb

* 'lindorm-vdb' of github.com:AlwaysBluer/dify: (39 commits)
  Feat : add LLM model indicator in prompt generator (langgenius#10187)
  chore: enable vision support for models in OpenRouter that should have supported vision (langgenius#10191)
  chore : code generator preview hint (langgenius#10188)
  fix: webapp upload file (langgenius#10195)
  fix(api): replace current_user with end_user in file upload (langgenius#10194)
  feat(document_extractor): integrate unstructured API for PPTX extraction (langgenius#10180)
  fix(tools): suppress RuntimeWarnings in podcast audio generator (langgenius#10182)
  [fix] fix the bug that modify document name not effective (langgenius#10154)
  fix(workflow model): ensure consistent timestamp updating (langgenius#10172)
  fix: Cannot find declaration to go to CLEAN_DAY_SETTING (langgenius#10157)
  feat: add gpustack model provider (langgenius#10158)
  refactor(tools): Avoid warnings. (langgenius#10161)
  refactor(migration/model): update column types for workflow schema (langgenius#10160)
  Feat/add-remote-file-upload-api (langgenius#9906)
  fix: upload remote image preview (langgenius#9952)
  clean un-allowed special charters when doing indexing estimate (langgenius#10153)
  refactor(service): handle unsupported DSL version with warning (langgenius#10151)
  Add VESSL AI OpenAI API-compatible model provider and LLM model (langgenius#9474)
  feat: synchronize input/output variables in the panel with generated code by the code generator (langgenius#10150)
  Refined README for better reading experience. (langgenius#10143)
  ...
idonotknow pushed a commit to AceDataCloud/Dify that referenced this pull request Nov 16, 2024
Ssazurov pushed a commit to Ssazurov/dify that referenced this pull request Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants