feat: support item value policies and migrated multi-file BOM import
Core regression / Python core and release configuration (push) Successful in 17s
Core regression / JavaScript syntax (push) Successful in 2s
Core regression / Python core and release configuration (pull_request) Successful in 14s
Core regression / JavaScript syntax (pull_request) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-05 11:26:35 +08:00
1 parent 9316cf4fc4
commit 8b5509d64f
29 files changed
+1418 -63

No files matched your search

+17 -2
View File
@@ -3371,14 +3371,29 @@ Function QPReadContinuation(ByVal Path)
End Function
Sub QPWriteUtf8(ByVal Path, ByVal Text)
Dim Stream
Dim Stream, Attempt, Limit, Number, Source, Description
Set Stream = CreateObject("ADODB.Stream")
Stream.Type = 2
Stream.Charset = "utf-8"
Stream.Open
Stream.WriteText CStr(Text)
Stream.SaveToFile CStr(Path), 2
Limit = 1
' The session driver polls this receipt; retry only its file write, never CAD.
If LCase(QP_Fso.GetFileName(CStr(Path))) = "project-session-result.tsv" Then Limit = 20
For Attempt = 1 To Limit
On Error Resume Next
Err.Clear
Stream.SaveToFile CStr(Path), 2
Number = Err.Number
Source = Err.Source
Description = Err.Description
Err.Clear
On Error GoTo 0
If Number = 0 Then Exit For
If Attempt < Limit Then WScript.Sleep 50
Next
Stream.Close
If Number <> 0 Then Err.Raise Number, Source, Description
End Sub
Sub QPAppendAscii(ByVal Path, ByVal Text)