Skip to content

ci: Measure tries each artifact download a second time after a pause, so a transient ECONNRESET does not turn a run red (#1742) - #1743

Merged
DrunkOnJava merged 1 commit into
mainfrom
ci/1742-retry-artifact-downloads
Nov 11, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
ci/1742-retry-artifact-downloads

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Each of measure.yml's seven actions/download-artifact steps is tried a second time after a 20 second pause when the first fails (continue-on-error and an id on the first, if: steps.<id>.outcome == 'failure' on the pause and the second), so a transient network error in the artifacts service no longer turns a run red; a second error or a missing artifact still fails the job.

Motivation

Run 43052157947 (RE-431) concluded failure because the Same-project gates job's first download step hit Failed to ListArtifacts: Unable to make request: ECONNRESET, though the verdict check was posted as a pass and the artifacts downloaded fine a minute later. A false red is a CI defect (the operator policy's rule). Found by rvtDevelop, filed as #1742.

Testing

yaml.safe_load and actionlint pass; the 14 download steps are the 7 first attempts and their 7 second attempts. A dispatched Measure on this branch is linked below; it shows the pause and the second attempts skipping on success.

Closes #1742

… so a transient ECONNRESET does not turn a run red (#1742)

Run 43052157947 concluded failure because the Same-project gates job's
first actions/download-artifact step hit "Failed to ListArtifacts: Unable to
make request: ECONNRESET"; the verdict check run was posted as a pass and the
artifacts downloaded fine a minute later. A false red is a CI defect.

Each of the workflow's seven download steps (the measured binaries, the head
shards for the gates, the merged head and base shards and the head shards one
by one for the compare job, the timing binaries and the timing shards) is now
a step with an id and continue-on-error, a 20 second pause, and the same step
again when the first one's outcome is failure. A second error, or a missing
artifact, still fails the job at the second attempt, and a success skips the
pause and the second attempt.
@DrunkOnJava
DrunkOnJava merged commit 670469e into main Nov 11, 2026
57 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/1742-retry-artifact-downloads branch November 11, 2026 16:43
DrunkOnJava added a commit that referenced this pull request Nov 11, 2026
…st copy of its type object, which gives it Reference and Height (#1193) (RE-431) (#1738)

## Summary

A railing now gets its type, and with it `Pset_RailingCommon.Reference`
and `Height` and `Pset_EnvironmentalImpactIndicators.Reference`, because
the name of its railing type is taken from the latest partition's copy
of the type object, not from the copies that agree. Every railing type
of the BIM4LCA housing has an older copy with a Finnish name (`KD-5`)
and a newer one with the English name Revit's export carries (`KAI-5`),
so the names never agreed and no type was attached to any of the 198
railings of the four large housing files; the timber office at permit
(37 railings) and the two terrain office files (1 each) are the same.
The newer copy's name is Revit's type name on 198 of 198, and the 237
railings now read equal to Revit's on `Reference` and `Height` (4 to 241
of 241) with none different. 7 of 126 exports move and 119 are
byte-identical: where a type's copies agree (the office as built and at
permit, the terrain housing files, RE1, the held-out models) nothing
changes. The change adds property values and raises
`diagnostics.decoded.parameter_value_count` by the same, and adds 49
`IfcRailingType` objects with their `IfcRelDefinesByType` relations
(Revit's housing export has none, as rvt-rs's office export already does
for its typed railings).

## Motivation

W7 (#1193): `Pset_RailingCommon.Reference` and `Height` were missing on
237 railings and `Qto_RailingBaseQuantities.Length` on 318 in the census
of Measure run 43018018669. Rows registered on #1636 before the runs
were read:
#1636 (comment)
(the first probe),
#1636 (comment)
(the type probe) and
#1636 (comment)
(this change).

## Changes

- `src/research/partition_schema_mvp/types.rs`: `railing_type_picks` and
the loop over `find_railing_type_names` offer each type object's name
with its partition to `LatestCopy` (as `type_data_names` does for
element data names) instead of requiring the copies to agree.
- `probes/examples/probe_re431_railing_types.rs`,
`tools/re/railing_types_vs_ifc.py`: the probe prints, per railing and
per `BaseRailing` copy, the type objects its words name and the name
each copy of them holds in each partition; the scorer holds three ways
of choosing a name against Revit's.
- `reports/element-framing/RE-431-railing-type-names.md`,
`docs/release-1.0-criteria.md`, `docs/format-reconnaissance.md`,
`docs/evidence.md`, `docs/status.md`,
`changelog.d/added/1193-railing-type-names.md`.

## Testing

Unit tests are banned in this repository: none added. Verified end to
end on real files:

- [ ] `full / CI passed` on the final head
- [x] Unfiltered Measure of the change against `main` `dae660b8`, every
flag, `keep_ifc`
([43052157947](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43052157947),
head `8298fefd`, kept under
`refs/archive/2026-11-11/cited/8298fefd8110`):
- **Property census, the 42 models with a Revit export:** Revit's values
213,756 each side; equal 199,261 to 199,972 (+711); missing 14,434 to
13,723; **different 61 to 61**; the values rvt-rs writes that Revit does
not 358 to 358. `Pset_RailingCommon.Reference` and `Height` 4 to 241 of
241 equal each, and `Pset_EnvironmentalImpactIndicators.Reference` +237
(the railings' type name again): the timber housing 56 of 56 as built
and at permit, the concrete housing 43 of 43 each, the timber office at
permit 41 of 41 (from 4), the two terrain office files 1 of 1 each.
- **What moves:** 7 of 126 exports; the other 119 are byte-identical. On
the 7 pairs (`tools/re/ifc_element_diff.py`) no element is added or
removed and 237 elements differ, each a railing that gains
`Pset_RailingCommon` `Height` and `Reference`,
`Pset_EnvironmentalImpactIndicators` `Reference`, the `Other` properties
`Family`, `Family Name`, `Family and Type`, `Type` and `Type Id`,
`Identity Data` `Type Name` and rvt-rs's `RvtElementRecordGeometry`
`FamilyName`, `FamilyNameSource` and `TypeName`, with nothing removed or
changed; the entities added are 49 `IfcRailingType` and 49
`IfcRelDefinesByType`, 335 `IfcPropertySet`, 237
`IfcRelDefinesByProperties` and 2,517 `IfcPropertySingleValue`. No
held-out export moves.
- `same-project gates` pass on the measured head; the Measure job that
makes the verdict failed afterwards on `ECONNRESET` in an artifact
download (#1742, #1743).
- `Qto_RailingBaseQuantities.Length` does not move (RE-254's rule is a
stair railing's path alone; the housing's free railings stay without
it).
- [x] The probes: Measure
[43044928311](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43044928311),
[43048938486](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43048938486)
and
[43050258474](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43050258474):
on all 198 railings of the four large housing files the railing names
exactly one `StairsRailingAttr`, its copies hold two names, and the
latest partition's copy has Revit's name on 198 of 198 (the routed
copy's too); on the office's 41 and the terrain files' 2 each all three
ways agree.
- Not timed: no new read; the change replaces how two names are merged.

## Audit-honesty checklist

- [x] A user-visible change has its entry as a fragment under
`changelog.d/added/`.
- [x] `docs/release-1.0-criteria.md`, `docs/evidence.md` and
`docs/status.md` state what is written and what is left without
(`Qto_RailingBaseQuantities.Length` on the housing's free railings).
- [x] No emojis, no private paths in committed files.
- [x] Reverse-engineering finding: a probe, a scorer and a dated report
are included.

## Legal and contribution hygiene

- [x] Apache-2.0. No Autodesk proprietary source, internals or NDA
material.
- [x] No new test fixtures.

## Breaking changes

None. A railing that held no type gains one; no existing value changes.

## Related issues

Refs #1193, #1636.
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.

ci: Measure goes red on a transient ECONNRESET in an artifact download

1 participant